Crate synthahol_babylon

Source
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
DelayFilterModeIter
An iterator over the variants of DelayFilterMode
Distortion
EffectTypeIter
An iterator over the variants of EffectType
Envelope
ADSR-style envelope.
Equalizer
Filter
FilterEffectModeIter
An iterator over the variants of FilterEffectMode
FilterModeIter
An iterator over the variants of FilterMode
Lfo
LoFi
MatrixItem
MidiPlayModeIter
An iterator over the variants of MidiPlayMode
ModulatorEnvelope
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
PortamentoModeIter
An iterator over the variants of PortamentoMode
Preset
Reverb
Tuning
Unison
Vibrato
WaveformIter
An iterator over the variants of Waveform

Enums§

DelayFilterMode
Mode for the filter built into the delay effect.
EffectType
Kinds of effects.
EnvelopeCurve
FilterEffectMode
The discriminants of the items match the file format.
FilterMode
The discriminants of the items match the file format.
MidiPlayMode
The discriminants of the items match the file format.
PortamentoMode
The discriminants of the items match the file format.
Waveform
The discriminants of the items match the file format.

Traits§

Effect