Functions | |
| u8 | audioPlaySample (u8 sampleId) |
| Play a sample with default settings. | |
| u8 | audioPlaySampleEx (u8 sampleId, u8 volume, u8 pan, u16 pitch) |
| Play a sample with custom settings. | |
| void | audioStopAll (void) |
| Stop all audio playback. | |
| void | audioStopVoice (u8 voice) |
| Stop a specific voice. | |
Play a sample with default settings.
| sampleId | Sample slot (0-63) |
Plays at full volume, center pan, default pitch.
Play a sample with custom settings.
| sampleId | Sample slot (0-63) |
| volume | Volume level (0-127) |
| pan | Pan position (0=left, 8=center, 15=right) |
| pitch | Pitch value ($1000 = normal) |
| void audioStopAll | ( | void | ) |
Stop all audio playback.
| void audioStopVoice | ( | u8 | voice | ) |
Stop a specific voice.
| voice | Voice number (0-7) |