Re: [fluid-dev] CC7 reset

2012-02-05 Thread James Ong
Hi Horn, Wow, really appreciate your guide. It will be useful! Too bad, something seem to be broken in FluidSynth after clear the rule and apply the new rule, I couldn't hear anything. A workaround for my case is to use 2 MIDI song, one is normal and one is softer volume. On Sun, Feb 5, 2012 a

Re: [fluid-dev] CC7 reset

2012-02-05 Thread R.L. Horn
On Sat, 4 Feb 2012, James Ong wrote: I tried your rule on the 2nd parts, it doesn't change anything. It really should. It's worth noting that nothing I wrote actually changes any volumes. You'd have to do that yourself with a cc command or write an additional rule. Here are a couple you c

Re: [fluid-dev] CC7 reset

2012-02-05 Thread R.L. Horn
On Sat, 4 Feb 2012, James Ong wrote: I didn't quite catch how all of these works, it will be appreciate to see each line with a comment so that other will know what it is. Well, I'm no expert (I've only been seriously messing around with fluidsynth for about five days), and I've had to figure

Re: [fluid-dev] CC7 reset

2012-02-04 Thread James Ong
Hi Horn, I tried your rule on the 2nd parts, it doesn't change anything. Seem like nothing is work as expected. For sure, I have copy-and-paste your code over 3 times. ___ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listi

Re: [fluid-dev] CC7 reset

2012-02-04 Thread James Ong
It will be better to see what rule does setting Channel 0 and 1 to 40% using CC7 so that I can get over this quick. Kinds of frustrating when I couldn't get things done with just a few line of code? On Sat, Feb 4, 2012 at 7:59 PM, James Ong wrote: > Oh, I didn't type 3 rules in the same sessio

Re: [fluid-dev] CC7 reset

2012-02-04 Thread James Ong
Oh, I didn't type 3 rules in the same session and has been trying for hours without any success. I didn't quite catch how all of these works, it will be appreciate to see each line with a comment so that other will know what it is. router_begin router_chan 0 15 1 0 //Select channel 0-15? router

Re: [fluid-dev] CC7 reset

2012-02-04 Thread R.L. Horn
On Sat, 4 Feb 2012, James Ong wrote: I tried as 3 separate rules and launch Java MIDI player to play midi song, none of the sounds appear to be softer. Am I doing something wrong? I didn't issue "router_clear" which will caused all channels to appear silent when the song is play. Routing ru

Re: [fluid-dev] CC7 reset

2012-02-03 Thread James Ong
I tried as 3 separate rules and launch Java MIDI player to play midi song, none of the sounds appear to be softer. Am I doing something wrong? I didn't issue "router_clear" which will caused all channels to appear silent when the song is play. router_begin cc router_par1 7 7 1 0 router_par2 0 60 0

Re: [fluid-dev] CC7 reset

2012-02-03 Thread R.L. Horn
On Fri, 3 Feb 2012, Element Green wrote: If your MIDI song itself contains a CC7 event you could perhaps filter it with the FluidSynth MIDI router: router_begin cc router_par1 7 7 1 0 router_par2 0 127 0 127 router_end I think that would cause all CC 7 events received to set the volume to 100%

Re: [fluid-dev] CC7 reset

2012-02-03 Thread Element Green
You could configure the MIDI router to only filter CC 7 on certain channels. As for command line commands for the MIDI player, yes, sounds useful. Someone just needs to program it ;-) Element On Fri, Feb 3, 2012 at 5:32 PM, James Ong wrote: > I see, true it will be sounds awful with all at the

Re: [fluid-dev] CC7 reset

2012-02-03 Thread James Ong
I see, true it will be sounds awful with all at the same levels, seem like having 2 fluidsynth will do the job. However, not sure if you remember, in the FluidSynth command shell, do you still find it feasible to implement a playback controls which we could load, pause, play, stop, change tempo Mi

Re: [fluid-dev] CC7 reset

2012-02-03 Thread Element Green
If your MIDI song itself contains a CC7 event you could perhaps filter it with the FluidSynth MIDI router: router_begin cc router_par1 7 7 1 0 router_par2 0 127 0 127 router_end I think that would cause all CC 7 events received to set the volume to 100% (127). If the MIDI song has a MIDI reset co

[fluid-dev] CC7 reset

2012-02-03 Thread James Ong
Hi, What does player.reset-synth does? It seem, everytime the song is load, the engine will still get reset by MIDI song? Is there a way to retain CC7 value? fluidsynth.exe" -g 1 -o "player.reset-synth=false" Apply CC#7 to 10% cc 0 7 10 Load midi songs which contain CC7 event will set to 100%.