Represents the state of a single DSP channel for visualization. More...
#include <music_player.h>
Public Attributes | |
| bool | key_on = false |
| int | sample_index = 0 |
| uint16_t | pitch = 0 |
| uint8_t | volume_l = 0 |
| uint8_t | volume_r = 0 |
| uint8_t | gain = 0 |
| uint8_t | adsr_state = 0 |
Represents the state of a single DSP channel for visualization.
Definition at line 40 of file music_player.h.
| bool yaze::editor::music::ChannelState::key_on = false |
Definition at line 41 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| int yaze::editor::music::ChannelState::sample_index = 0 |
Definition at line 42 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| uint16_t yaze::editor::music::ChannelState::pitch = 0 |
Definition at line 43 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| uint8_t yaze::editor::music::ChannelState::volume_l = 0 |
Definition at line 44 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| uint8_t yaze::editor::music::ChannelState::volume_r = 0 |
Definition at line 45 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| uint8_t yaze::editor::music::ChannelState::gain = 0 |
Definition at line 46 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().
| uint8_t yaze::editor::music::ChannelState::adsr_state = 0 |
Definition at line 47 of file music_player.h.
Referenced by yaze::editor::music::MusicPlayer::GetChannelState().