Skip to main content

Crate moont

Crate moont 

Source
Expand description

Roland CM-32L synthesizer emulator.

Renders 32kHz stereo PCM audio from MIDI input. Based on Munt, with no external dependencies.

Modules§

smf
Minimal Standard MIDI File (SMF) parser.

Structs§

CM32L
CM-32L synthesizer state.
Frame
Stereo PCM audio frame of two (left, right) 16-bit little-endian samples.
Midi
Rom
Processed synthesizer ROM data (control + PCM).

Enums§

MelodicInstrument
MidiError
RhythmInstrument
RomError
Possible errors from ROM validation and processing.

Constants§

CONTROL_SIZE
Size of the control ROM (64KiB).
PCM_SIZE
Size of the PCM ROM (1MiB).
SAMPLE_RATE
Audio frames (stereo samples) per second.

Traits§

Synth
Interface for MIDI synthesizers.

Type Aliases§

ControlArray
Byte array of expected size (64KiB) for the control ROM.
PcmArray
Byte array of expected size (1MiB) for the PCM ROM.