Hello
> pitch_bend_range 0 12
>This either applies to channel 0, or to all
> channels, I'm not certain. ?
This command is equivalent to receive MIDI 'pitch bend sensitivity range'
message which is a RPN MIDI channel message:
pitch_bend_range channel_number semitone_range
In your exemple: 0 is the channel number (0 based), 12 is the range.
This MIDI message is received only by MIDI channel 0.
>This is all fine, but I was under the impression that I could actually
> define this in the SoundFont itself. I assume I need to add a modulator
> in the global zone of an instrument or preset, but it's not clear to me
> what the modulator settings should be.
>The spec is somewhat less than helpful on this point.
The spec defines a default modulator for this purpose (SF2.01 page 57 section
8.4.10 MIDI Pitch Wheel to Initial Pitch ....).There are 2 solutions
1) One can add a new modulator at instrument level (global or local) to be
able to supersede the default modulator.
For exemple an amount value of 25400 (in cents) will produce +4/-4 semitones
range.
This solution impacts any note played on any MIDI channel.
2.1) One can send a MIDI RPN pitch wheel sensitivity message on the concerned
channel. (see MIDI spec to know RNP number).
2.2) The above command can be put in a config-file. Then invoke fluidsynth
application with option -f config-file.
jjc
> Message du 12/03/19 15:00
> De : "Mark Raynsford"
> A : "FluidSynth mailing list"
> Copie à :
> Objet : [fluid-dev] Pitch bend range/pitch wheel sensitivity?
>
> Hello!
>
> It seems that I can set the pitch wheel sensitivity using the command:
>
> pitch_bend_range 0 12
>
> This means that when I push the wheel up to maximum, the pitch is
> increased by 12 semitones. When I push it to minimum, the pitch is
> lowered by 12 semitones. This either applies to channel 0, or to all
> channels, I'm not certain.
>
> This is all fine, but I was under the impression that I could actually
> define this in the SoundFont itself. I assume I need to add a modulator
> in the global zone of an instrument or preset, but it's not clear to me
> what the modulator settings should be. The spec is somewhat less than
> helpful on this point.
>
> --
> Mark Raynsford | http://www.io7m.com
>
> _______________________________________________
> fluid-dev mailing list
> fluid-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>
>
> [ OpenPGP digital signature (0.2 Ko) ]
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev