Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Note Class Reference

#include <Note.h>

Inheritance diagram for Note:
Inheritance graph
Collaboration diagram for Note:
Collaboration graph

Public Member Functions

 Note ()
 
void setLength (int newLength)
 
int getLength ()
 
void setVelocity (int newVelocity)
 
int getVelocity ()
 
void setLift (int newLift)
 
int getLift ()
 
void setProbability (int newProbability)
 
int getProbability ()
 
void writeToFile ()
 
- Public Member Functions inherited from Positionable
 Positionable ()
 

Public Attributes

int32_t length
 
uint8_t velocity
 
uint8_t probability
 
uint8_t lift
 
- Public Attributes inherited from Positionable
int32_t pos
 

Constructor & Destructor Documentation

◆ Note()

Note::Note ( )

Member Function Documentation

◆ getLength()

int Note::getLength ( )
inline

◆ getLift()

int Note::getLift ( )
inline

◆ getProbability()

int Note::getProbability ( )
inline

◆ getVelocity()

int Note::getVelocity ( )
inline

◆ setLength()

void Note::setLength ( int  newLength)
inline

◆ setLift()

void Note::setLift ( int  newLift)
inline

◆ setProbability()

void Note::setProbability ( int  newProbability)
inline

◆ setVelocity()

void Note::setVelocity ( int  newVelocity)
inline

◆ writeToFile()

void Note::writeToFile ( )

Member Data Documentation

◆ length

int32_t Note::length

◆ lift

uint8_t Note::lift

◆ probability

uint8_t Note::probability

◆ velocity

uint8_t Note::velocity

The documentation for this class was generated from the following files: