yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::music::ChannelState Struct Reference

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
 

Detailed Description

Represents the state of a single DSP channel for visualization.

Definition at line 40 of file music_player.h.

Member Data Documentation

◆ key_on

bool yaze::editor::music::ChannelState::key_on = false

Definition at line 41 of file music_player.h.

Referenced by yaze::editor::music::MusicPlayer::GetChannelState().

◆ sample_index

int yaze::editor::music::ChannelState::sample_index = 0

Definition at line 42 of file music_player.h.

Referenced by yaze::editor::music::MusicPlayer::GetChannelState().

◆ pitch

uint16_t yaze::editor::music::ChannelState::pitch = 0

Definition at line 43 of file music_player.h.

Referenced by yaze::editor::music::MusicPlayer::GetChannelState().

◆ volume_l

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().

◆ volume_r

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().

◆ gain

uint8_t yaze::editor::music::ChannelState::gain = 0

Definition at line 46 of file music_player.h.

Referenced by yaze::editor::music::MusicPlayer::GetChannelState().

◆ adsr_state

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().


The documentation for this struct was generated from the following file: