Name SFinst
Created At 2020-12-03 9:11am
Submitted By Menno0
Type blue.orchestra.BlueSynthBuilder
Description

DESCRIPTION:

SFinst, based on the sfinstr3 opcode, loads the instruments of a Soundfont. So it does NOT use the Presets of the Soundfont, but the instruments the Presets are made of.

SFinst is suited for use in microtonal compositions; for instance, the PianoRoll Object can contain an arbitrary tone scale, SFinst will follow the notes nicely when microtuned.

SFinst can use midi note numbers as entries for p4, but also frequencies. Set the parameter 'scoreP4' accordingly.
A PianoRoll for example, must be set to Pch Generation --> Frequency (and not the Midi note pitch), while a PianoRoll using the familiar 12TET set Pch Generation --> MIDI.
Or use the AL.

Velocity (= p5) is from 0 - 1, but scaled to 0-127 according to the SF expectency. It then follows the normal Soundfont/midi protocol.

Reason for this instrument is to have easy acces to those well-known acoustical musical instruments but with different and interesting transformation options and microtonality. That makes the well-known and mostly harmonic sounds "only" basic material to start molding new sounds with an already acoustal property.

ATTENTION: SoundFont Presets can be made of stereo samples. According to SF Protocol, these samples are divided over 2 mono Instruments, each with its own number.
This means that if you select an Instrument, you load only the Left channel or the Right channel if it is part of a stereo sample.
There is a checkbox that makes the mono sound a pseudostereo sound by panning the notes freely over the stereo image.

note example:
i2 0 0.8 60 1.0 ; P4 = midi value, P5 = amplitude
i2 0 0.2 261.625565 1.0 ; P4 = frequency, P5 = amplitude

CONTROLLERS:

see the help balloon when hovering over the controllers in the instrument. Help can be turned off by pressing the 'I' button next to the play bar.

---

version 3.2, December 2020
- added color option, for accessing a sample on a different key
- changed from mono reading to stereo reading of SF

version 3.1, November 2020
- added tremolo envelope

version 3.0, October 2020
- big overhaul: new filters
- filters have amplitude or frequency/pitch followers (exponentially)
- switch for P4 = frequency or MidiPitch
- 2 types of filter envelopes, can be mixed
- optional Score Module

version 2.0, July 2020
- big changes in: dynamics, vibrato,

version 1.1, August 2019
- added Show Midi Key, so you know what keys are hit and adjust the range of the preset accordingly
- added Depth slider for filters

version 1, August 2019
- first version- that's why i call it version 1