Sonic Pi's synths as TuningFork.Voices.
Synth.voice(:tb303, 110.0, cutoff: 90, res: 0.9, release: 0.25)
Summary
Functions
Whether name is a synth here.
Every synth name, sorted.
The resonance a Sonic Pi :res from 0 to 1 stands for, as a TuningFork.Filter :q.
The voice or voices name plays at hz with opts.
Functions
Whether name is a synth here.
@spec names() :: [atom()]
Every synth name, sorted.
The resonance a Sonic Pi :res from 0 to 1 stands for, as a TuningFork.Filter :q.
@spec voice(atom() | String.t() | TuningFork.Voice.t(), float(), keyword()) :: TuningFork.Voice.t() | [TuningFork.Voice.t()]
The voice or voices name plays at hz with opts.
name is one of names/0, a TuningFork.Voice used as it is with the pitch and the
options applied, or a string TuningFork.Kit.known?/1 accepts, played through the kit at
the note nearest hz. A detuned synth gives a list of voices. Raises ArgumentError for a
name that is not here.
Options
:amp— level, 1 being normal;:panfrom -1 to 1:attack,:decay,:sustain,:release— seconds;:sustainis how long the note is held. Defaults 0, 0, 0 and 1:sustain_level— the level held during:sustain, default 1:cutoff— a lowpass, as a MIDI note;:res— its resonance, 0 to 1;:cutoff_min— where a swept filter starts:detune— semitones between the voices of a detuned synth:divisor,:depth— FM ratio and depth;:mod_phase,:mod_range— themod_*synths' vibrato:vib,:vibmod,:crush,:distort,:coarse,:phaser,:phaserdepth,:vowel,:fm,:fmh,:fmattack,:highpass,:seed—TuningFork.Voicefields, passed through
Any other key is ignored.