On 2019-03-12T19:01:44 +0100
"Tom M." <tom.m...@googlemail.com> wrote:
>
> > I was under the impression that I could actually define this in the   
> SoundFont itself
> 
> You can, but only through modulators, I'm afraid: You need to add a modulator 
> to the global zone of the instrument of your interest.
> 
> Source1 of that modulator is bipolar, linear, positive.
> Source2 is =1, i.e. no source2.
> The destination is the coarse pitch tune generator.
> The amount of that modulator is the desired_pitch_bend_range minus two.
> 
> Why two? The "General MIDI Protocol Implementation Requirements" require a 
> default pitch bend range of +- 2 semitones for each MIDI channel. That is: a 
> range of two semitones come from the MIDI spec, any additional semitones come 
> from your modulator.

Thanks, this worked. I needed to specify 20 as the amount in order to
get +- 12 semitones in Fluidsynth. I'm assuming this is due to the full
size of the range being 24 semitones, minus two at both ends of the
range.

-- 
Mark Raynsford | http://www.io7m.com

Attachment: pgpwHWy9O_val.pgp
Description: OpenPGP digital signature

_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to