Expand description
Generate audio data.
Normally you only need to use the high level RomBuilder methods: RomBuilder::add_audio_data and RomBuilder::add_audio_player. So check those out first.
The audio player that plays the generated audio can be found at: audio_player.asm
Structs§
- Channel1
State - Represents the state of channel 1
- Channel2
State - Represents the state of channel 2
- Channel3
State - Represents the state of channel 3
- Channel4
State - Represents the state of channel 4
Enums§
Functions§
- generate_
audio_ data - Processes
Vec<AudioLine>
intoVec<Instruction>
that can be played by the audio player Despite returning Instruction, the only variants used are Db* and Label. - parse_
audio_ text - Parses
&str
intoVec<AudioLine>
ReturnsErr
if the text does not conform to the audio text format.