fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Eq ; Program names


From: O. P. Martin
Subject: Re: [fluid-dev] Eq ; Program names
Date: Thu, 06 Nov 2008 11:25:10 -0800
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)


Hi, John,

Thank you for the clue.

As a result, I was able to find code in the function fluid_handle_inst() in file fluid_cmd.c that should hopefully help me see what to do.

May the Lord bless you,
Philip



John O'Hagan wrote:
On Wed, 5 Nov 2008, O. P. Martin wrote:
[...]
  
2.  Coming up, I am going to want to retrieve the program name text for
a particular patch, but I don't remember seeing an api for this ?  Maybe
this could be combined with a mechanism for enumerating the available
bank / program numbers available in a font.

    
[...]

If you type "inst" followed by the soundfont number (e.g. "1" if you only have 
one loaded) at the fluidsynth command prompt, you get a list like the one you 
want, so I guess if your program remembers which program-change commands it 
sent and where, you could get the name of the current patch.

You can send this and other fluidsynth commands (type "help") from your 
program via a socket connection as described on this list in the thread 
titled "How to send manual midi commands to fluidsynth from another 
program?".

HTH,

John O'Hagan

  


reply via email to

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