Re: [fluid-dev] Volume background and foreground

2012-01-31 Thread Element Green
If I remember correctly, the router_begin line sets what MIDI events are to be modified. So for example, if you wanted to change the channel of all MIDI notes coming in to the MIDI driver from channel 0 to 4, you would: router_begin note router_chan 0 0 0 4 router_end The router_par1 and router_p

Re: [fluid-dev] Volume background and foreground

2012-01-31 Thread James Ong
Kind of not working as expected. router_begin requires [note|cc|prog|pbend|cpress|kpress] I tried these commands: prog 0 3 <- Load honky soundset router_begin cc <- Tried prog router_chan 0 0 15 0 router_end channels chan 0, Honky-Tonk chan 1, Acoustic Piano(mono) chan 2, Acoustic Piano(mono) ch

Re: [fluid-dev] Volume background and foreground

2012-01-31 Thread David Henningsson
On 01/31/2012 10:19 AM, James Ong wrote: I see, how do I load this script or do I have to pass the comman manually? You can use the --load-config option to load a file with a script in, or you can use FluidSynth's built-in shell. Sorry, I'm kind of noob when the tutorials are too vague. C

Re: [fluid-dev] Volume background and foreground

2012-01-31 Thread James Ong
I see, how do I load this script or do I have to pass the comman manually? Sorry, I'm kind of noob when the tutorials are too vague. On Tue, Jan 31, 2012 at 4:37 PM, David Henningsson wrote: > On 01/31/2012 07:51 AM, James Ong wrote: >> >> An idea struck me, I like to understand what does "route

Re: [fluid-dev] Volume background and foreground

2012-01-31 Thread David Henningsson
On 01/31/2012 07:51 AM, James Ong wrote: An idea struck me, I like to understand what does "router" in FluidSynth do? I will appreciate to learn more on this area. Yeah, that's my thought as well, wouldn't the midi router in FluidSynth be able to handle this case? IIRC if you run the FluidSynt

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
An idea struck me, I like to understand what does "router" in FluidSynth do? I will appreciate to learn more on this area. On Tue, Jan 31, 2012 at 2:48 PM, James Ong wrote: > I prefer command line since it will be control by the frontend I developed. > > On Tue, Jan 31, 2012 at 2:05 PM, S. Christ

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
I prefer command line since it will be control by the frontend I developed. On Tue, Jan 31, 2012 at 2:05 PM, S. Christian Collins wrote: > For routing channels or scaling velocity, I use QMidiRoute.  You may find it > helpful in your case.  If you are using Ubuntu, it should be in the > repositor

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread S. Christian Collins
For routing channels or scaling velocity, I use QMidiRoute. You may find it helpful in your case. If you are using Ubuntu, it should be in the repository. -~Chris On 01/30/2012 06:40 PM, James Ong wrote: Sure, I have a AKAI LPK25 portable keyboard which is without the ability to switch to o

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Aere Greenway
James: I actually have (and have used for composing) an LPK25 keyboard, though I don't particularly like it because of its stiff action. It is velocity-sensitive, which is a good thing. The LPK25, though it doesn't have a way of directly changing the MIDI channel, has up to four sets of preset

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
I see, will check out on Java code and hope it could. On Tue, Jan 31, 2012 at 8:51 AM, Element Green wrote: > How about your other MIDI equipment or software that you want to use > to control FluidSynth?  Can their channels be assigned?  If so, you > could just assume your keyboard reserves whate

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Element Green
How about your other MIDI equipment or software that you want to use to control FluidSynth? Can their channels be assigned? If so, you could just assume your keyboard reserves whatever channel it is fixed at. Alternatively, depending on what OS you have you might be able to put some sort of MIDI

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
Sure, I have a AKAI LPK25 portable keyboard which is without the ability to switch to other channels, I guess FluidSynth could set it? Thanks. On Tue, Jan 31, 2012 at 8:22 AM, Element Green wrote: > You probably need to clarify a little more then.  From your initial email it > sounded like you w

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Element Green
You probably need to clarify a little more then. From your initial email it sounded like you were controlling FluidSynth with an external MIDI synthesizer (or perhaps computer keyboard?) and a Java application. MIDI equipment typically has a setting for assigning what MIDI channel it controls. L

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
Hi Aere, Quite an informative you've wrote but most parts are not related to my problem and not using the keyboard models you have listed. I prefer the answer straight to the solution. On Tue, Jan 31, 2012 at 2:57 AM, Aere Greenway wrote: > ** > James: > > The way you change the MIDI transmit c

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Aere Greenway
James: The way you change the MIDI transmit channel is different for each particular MIDI keyboard you use, and you (unfortunately) have to check in the manual for your keyboard to learn how to do it. Using the M-Audio Keystation-88 keyboard (which I use, and recommend), I first press the "Adva

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
I see it work! I have another problem, how do I set the MIDI keyboard which by default when keys is depress will play on Channel 0, what command do I have to set to play on other channels like Channel 1,2,3,4,5~15? I find some of the advance settings are not familiar, I believe you could start a b

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Aere Greenway
James: I do something similar all the time, since it allows me to perform (using Qsynth/Fluidsynth) with what I call composite voices. For example, full-volume piano, with the same performance data going to String Ensemble 1 (on the other Qsynth 'engine') at a lower volume. I have been doing i

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread Element Green
MIDI Custom Controller 7 (CC 7) controls volume on a per channel basis. This uses the default modulators defined by the SoundFont standard. Best regards, Element Green On Mon, Jan 30, 2012 at 7:36 AM, James Ong wrote: > I mean I understand there is only one volume control in Fluidsynth, it > w

Re: [fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
I mean I understand there is only one volume control in Fluidsynth, it will be ideal if there a way for midi channels with different volume levels. On Mon, Jan 30, 2012 at 11:34 PM, James Ong wrote: > How would you suggest if my midi player in Java will play the volume > gain at 0.5 and a Midi d

[fluid-dev] Volume background and foreground

2012-01-30 Thread James Ong
How would you suggest if my midi player in Java will play the volume gain at 0.5 and a Midi data sent from Midi Keyboard would play at volume gain 1.0, both background and foreground will be able to play together? Do I have to run with 2 Fluidsynth engine process side-by-side?