wavelength 1.0.0
Loading...
Searching...
No Matches
voice.h File Reference
Include dependency graph for voice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Voice
 One SPU2 voice and the note it plays. More...

Enumerations

enum  VoiceState { kVoiceFree = 0 , kVoiceKeyOn = 1 , kVoicePlaying = 2 , kVoiceReleased = 3 }
 The life of a Voice. More...

Enumeration Type Documentation

◆ VoiceState

enum VoiceState

The life of a Voice.

Enumerator
kVoiceFree 

Unused.

kVoiceKeyOn 

Assigned to a note whose key-on is pending this tick.

kVoicePlaying 

Keyed on.

kVoiceReleased 

Keyed off and fading out.