Expand description
Library to read presets for the Babylon synthesizer
Babylon is a virtual analog synth by W. A. Production.
§Reading a Preset
use synthahol_babylon::Preset;
let path = std::path::Path::new("tests") .join("init-1.0.2.bab");
let preset = Preset::read_file(&path).unwrap();
println!("Preset name: {}", preset.name);
println!("Polyphony: {}", preset.polyphony);
Structs§
- Chorus
- Delay
- Delay
Filter Mode Iter - An iterator over the variants of DelayFilterMode
- Distortion
- Effect
Type Iter - An iterator over the variants of EffectType
- Envelope
- ADSR-style envelope.
- Equalizer
- Filter
- Filter
Effect Mode Iter - An iterator over the variants of FilterEffectMode
- Filter
Mode Iter - An iterator over the variants of FilterMode
- Lfo
- LoFi
- Matrix
Item - Midi
Play Mode Iter - An iterator over the variants of MidiPlayMode
- Modulator
Envelope - Noise
- White noise generator.
- Oscillator
- The third oscillator doesn’t have all the capabilities of the first two oscillators because the first two route to the third.
- Param
- Portamento
Mode Iter - An iterator over the variants of PortamentoMode
- Preset
- Reverb
- Tuning
- Unison
- Vibrato
- Waveform
Iter - An iterator over the variants of Waveform
Enums§
- Delay
Filter Mode - Mode for the filter built into the delay effect.
- Effect
Type - Kinds of effects.
- Envelope
Curve - Filter
Effect Mode - The discriminants of the items match the file format.
- Filter
Mode - The discriminants of the items match the file format.
- Midi
Play Mode - The discriminants of the items match the file format.
- Portamento
Mode - The discriminants of the items match the file format.
- Waveform
- The discriminants of the items match the file format.