Sequence::Note Struct Reference
#include <Sequence.h>
Description
A discreet sound that plays for a specified amount of time.
Functions | |
Note (AssetID sound_, float duration_=4.f, uint8_t volume_=128, uint8_t panning_=128) | |
Properties | |
float | duration |
AssetID | sound |
uint8_t | volume |
uint8_t | panning |
Constructor & Destructor Documentation
|
inline |
Convenience constructor.
- Parameters
-
duration_ Duration attribute in beats. sound_ AssetID refering to a loaded sound. volume_ Volume of the note. 255 is max volume while 0 is no ouptu sound. panning_ Panning of the note. 0 is output on only the left channel and 255 is only on the right channel.
Field Documentation
float duration |
Duration of the sound in beats.
uint8_t volume |
Volume of the note. 0 - 255: 0 is no sound while 255 is max volume.
uint8_t panning |
Panning of the note.
The documentation for this struct was generated from the following file:
- /home/jc/git/Dynacoe/DynacoeSrc/includes/Dynacoe/Sequence.h