From: terminator356 <ter...@us...> - 2009-02-18 04:51:22
|
Update of /cvsroot/lmuse/muse/synti/fluidsynth In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16609/synti/fluidsynth Modified Files: Tag: REL07 fluidsynti.cpp fluidsynti.h Log Message: See ChangeLog Index: fluidsynti.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/synti/fluidsynth/fluidsynti.cpp,v retrieving revision 1.19.2.11 retrieving revision 1.19.2.12 diff -C2 -d -r1.19.2.11 -r1.19.2.12 *** fluidsynti.cpp 2 Feb 2009 21:38:02 -0000 1.19.2.11 --- fluidsynti.cpp 18 Feb 2009 04:51:17 -0000 1.19.2.12 *************** *** 51,55 **** { "Channel reverb send", CTRL_REVERB_SEND, 0, 127, 40}, { "Channel chorus send", CTRL_CHORUS_SEND, 0, 127, 0}, ! { "Pitch", CTRL_PITCH, -8192, 8191, 0} }; --- 51,57 ---- { "Channel reverb send", CTRL_REVERB_SEND, 0, 127, 40}, { "Channel chorus send", CTRL_CHORUS_SEND, 0, 127, 0}, ! { "Pitch", CTRL_PITCH, -8192, 8191, 0}, ! // Added by T356 ! { "Pitch bend sensitivity", FS_PITCHWHEELSENS, 0, 24, 2} }; *************** *** 814,817 **** --- 816,824 ---- break; + // Added by T356 + case FS_PITCHWHEELSENS: + err = fluid_synth_pitch_wheel_sens(fluidsynth, channel, val); + break; + case CTRL_PROGRAM: { //Check if MusE is trying to set a preset on an unspecified font. If so, ignore. Index: fluidsynti.h =================================================================== RCS file: /cvsroot/lmuse/muse/synti/fluidsynth/fluidsynti.h,v retrieving revision 1.15.2.3 retrieving revision 1.15.2.4 diff -C2 -d -r1.15.2.3 -r1.15.2.4 *** fluidsynti.h 2 Feb 2009 21:38:02 -0000 1.15.2.3 --- fluidsynti.h 18 Feb 2009 04:51:17 -0000 1.15.2.4 *************** *** 53,56 **** --- 53,58 ---- static const int FS_CHORUS_DEPTH = 10 + CTRL_NRPN14_OFFSET; static const int FS_CHORUS_LEVEL = 11 + CTRL_NRPN14_OFFSET; + // Added by T356 + static const int FS_PITCHWHEELSENS = 0 + CTRL_RPN_OFFSET; // FluidChannel is used to map different soundfonts to different fluid-channels |