fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] How to send manual midi commands to fluidsynth from anot


From: John O'Hagan
Subject: Re: [fluid-dev] How to send manual midi commands to fluidsynth from another program?
Date: Mon, 13 Oct 2008 06:34:59 +0000
User-agent: KMail/1.9.9

On Sun, 12 Oct 2008, Josh Green wrote:
> Hello,
>
> As Pedro suggested, you could control FluidSynth via TCP/IP.  If you
> want finer grained control over FluidSynth and don't mind writing C
> code, then you could use FluidSynth as a shared library.  This is how
> Swami and QSynth use FluidSynth.
>
> Best regards,
>       Josh


Hi,

Thanks for the suggestion, but as I mentioned in my other reply, my program is 
in Python and I'm not quite ready for C yet :). Python has a builtin telnet 
interface which makes the TCP/IP approach very easy, too.

Cheers,

John 

> On Sun, 2008-10-12 at 12:50 +0000, 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 results as they
> > are generated (i.e., bar by bar), I'm using the sox synth.
> >
> > That's pretty limited, however, so I thought that fluidsynth might be the
> > way forward.
> >
> > The simplest solution would be to translate my number lists into noteon
> > commands, etc, and pipe them to fluidsynth.
> >
> > But I need a little help understanding the fluidsynth shell.
> >
> > When that is active, I can type commands in, but I cant figure out how to
> > pipe them from my program. I tried sending a file object to stdout but it
> > seemed to just disappear. Also, when I try to run fluidsynth with the -i
> > switch, (no shell), it seems to start up, then immediately exit.
> >
> > I can get a result by translating my data  into a text-to-midi program,
> > then piping that to, say, pmidi, which plays via fluidsynth, but that
> > seems very roundabout.
> >
> > Any advice?
> >
> > Regards,
> >
> > John O'Hagan
> >
> >
> > _______________________________________________
> > fluid-dev mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/fluid-dev






reply via email to

[Prev in Thread] Current Thread [Next in Thread]