Sequence::Chord Class Reference
#include <Sequence.h>
Description
A collection of notes that begin playing at the same time.
Functions | |
Note & | GetNote (int n) |
int | GetNumNotes () |
void | AddNote (const Note &) |
void | RemoveNote (int n) |
void | SetStartTime (float t) |
float | GetStartTime () |
uint32_t | GetChannel () |
void | SetChannel (uint32_t) |
Member Function Documentation
Note& GetNote | ( | int | n | ) |
Returns the specified note.
int GetNumNotes | ( | ) |
Returns the number of notes that belong to this chord.
void AddNote | ( | const Note & | ) |
Adds a new note to be part of this chord.
void RemoveNote | ( | int | n | ) |
Removes the specified note from the chord.
void SetStartTime | ( | float | t | ) |
Sets when this chord is played. Measured in beats.
float GetStartTime | ( | ) |
Returns the start time.
uint32_t GetChannel | ( | ) |
Returns the Sound channel that this chord is set to play on.
void SetChannel | ( | uint32_t | ) |
Sets the Sound channel that this chord will play on.
The documentation for this class was generated from the following file:
- /home/jc/git/Dynacoe/DynacoeSrc/includes/Dynacoe/Sequence.h