I'm starting fluidsynth as a python subprocesss like this:

subprocess.Popen(["fluidsynth", "-sli", "-g0.5", "-C1", "-R1","-a", 'alsa', "-
j", '/usr/share/sounds/sf2/FluidR3_GM.sf2'])

communicating like this:

s= socket.socket()
s.connect(('',9800))

and I want to stop it like this:

s.send('quit\n')
s.recv(1024)

I receive the "'cheers!\n" reply, but fluidsynth doesn't quit. The same quit 
command works in the shell and it also works if I write it to the subprocess 
stdin handle, just not using a socket.

Is there something else I need to send fluidsynth via a socket to make it quit? 

Regards,

John

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to