|
coastline 0.0.4
|
The state of a channel of the music. More...
#include <audio.h>
Public Attributes | |
| u64 | portamentoTarget |
| s16 | portamentoSpeed |
| s16 | volumeSlide |
| u8 | note |
| u8 | instrument |
| u8 | volume |
| u8 | effect |
| u8 | effectParameter |
| u8 | rowInstrument |
| u8 | arpeggio [4] |
| u8 | arpeggioOn |
| u8 | pad17 |
The state of a channel of the music.
| u64 MusicChannel::portamentoTarget |
The mixer step a tone portamento slides to, or 0.
| s16 MusicChannel::portamentoSpeed |
The change of the period a tick, or 0.
| s16 MusicChannel::volumeSlide |
The change of the volume a tick, or 0.
| u8 MusicChannel::note |
The note, from 0.
| u8 MusicChannel::instrument |
The instrument playing, from 1, or 0 for none.
| u8 MusicChannel::volume |
The volume, from 0 to 64.
| u8 MusicChannel::effect |
The effect command of the last row.
| u8 MusicChannel::effectParameter |
The parameter of the effect command of the last row.
| u8 MusicChannel::rowInstrument |
The instrument of the last row.
| u8 MusicChannel::arpeggio[4] |
The three notes of an arpeggio, then the index of the note playing.
| u8 MusicChannel::arpeggioOn |
Whether an arpeggio plays.
| u8 MusicChannel::pad17 |
Padding to the 8-byte alignment of the structure.