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 <yanlile...@gmail.com> wrote: > 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_par1 40 127 1 0 //set volume to 40%? > router_par2 0 127 1 0 //what is 127? > router_end > > Would it work without throttled the CC#39 as well? > > > > On Sat, Feb 4, 2012 at 6:41 PM, R.L. Horn <li...@eastcheap.org> wrote: > >> 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 rules are cumulative. I *think* simply adding another rule on >> top of the default will cause an additional event to be generated, >> evidently in a LIFO manner, so your rule gets trumped by the default. >> >> Upshot is, what you tried didn't work for me either. This, however, did: >> >> router_clear >> router_begin prog >> router_chan 0 15 1 0 >> router_par1 0 127 1 0 >> router_par2 0 127 1 0 >> router_end >> router_begin note >> router_chan 0 15 1 0 >> router_par1 0 127 1 0 >> router_par2 0 127 1 0 >> router_end >> >> This is sufficient to get some sound. In practice, you'll need to deal >> with pbend, cpress, and kpress in a similar way. Now, the CC rules: >> >> router_begin cc >> router_chan 0 15 1 0 >> >> router_par1 0 6 1 0 >> router_par2 0 127 1 0 >> router_end >> router_begin cc >> router_chan 0 15 1 0 >> router_par1 8 38 1 0 >> router_par2 0 127 1 0 >> router_end >> router_begin cc >> router_chan 0 15 1 0 >> router_par1 40 127 1 0 >> router_par2 0 127 1 0 >> router_end >> >> CC7 and CC39 should now be throttled. Set the volume where you like with >> a "cc [chan] 7" command and, with luck, it will stay there. >> >> >> ______________________________**_________________ >> fluid-dev mailing list >> fluid-dev@nongnu.org >> https://lists.nongnu.org/**mailman/listinfo/fluid-dev<https://lists.nongnu.org/mailman/listinfo/fluid-dev> >> > >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev