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§
- Melodic
Instrument - Midi
Error - Rhythm
Instrument - 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§
- Control
Array - Byte array of expected size (64KiB) for the control ROM.
- PcmArray
- Byte array of expected size (1MiB) for the PCM ROM.