Re: [fluid-dev] [SOLVED] How to send manual midi commands to fluidsynth from another program?

2008-10-13 Thread John O'Hagan
On Tue, 14 Oct 2008, John O'Hagan wrote: > On Mon, 13 Oct 2008, you wrote: > > John O'Hagan wrote: [...] > > > > Note that FluidSynth doesn't follow strictly the telnet protocol, so you > > can use something simpler. The command line utility netcat(1) (or 'nc') > > is > > [...] > > > What I mean is

Re: [fluid-dev] [SOLVED] How to send manual midi commands to fluidsynth from another program?

2008-10-13 Thread John O'Hagan
On Mon, 13 Oct 2008, you wrote: > John O'Hagan wrote: > > Great! I'm using Python, and this is how I did it in my program (Python > > code follows): > > > > from telnetlib import Telnet > > fluid = Telnet("localhost","9800") > > > > fluid.write("noteon 1 46 64 \n noteon 1 49 64 \n noteo

Re: [fluid-dev] [SOLVED] How to send manual midi commands to fluidsynth from another program?

2008-10-13 Thread Pedro Lopez-Cabanillas
John O'Hagan wrote: > Great! I'm using Python, and this is how I did it in my program (Python > code follows): > > from telnetlib import Telnet > fluid = Telnet("localhost","9800") > > fluid.write("noteon 1 46 64 \n noteon 1 49 64 \n noteon 1 53 64 \n") Note that FluidSynth doesn

Re: [fluid-dev] [SOLVED] How to send manual midi commands to fluidsynth from another program?

2008-10-12 Thread John O'Hagan
On Sun, 12 Oct 2008, Pedro Lopez-Cabanillas wrote: > John O'Hagan wrote: > > Hi, > > > > I'm writing an algorithmic music program which generates lists of numbers > > representing notes and durations. The results can be printed as scores > > and played as midi files using lilypond, and to play the