Synthesizer / Mbed 2 deprecated DBSMUSICPROJ4

Dependencies:   mbed

dataStore.cpp

Committer:
benparkes
Date:
2019-07-25
Revision:
13:bc16eec2256f
Parent:
4:e56a755aeaf1

File content as of revision 13:bc16eec2256f:

#include "mbed.h"

#include "dataStore.h"

int dataStore::note()
{
    return _note;   
}

int dataStore::octave()
{
    return _octave;   
}

int dataStore::duration()
{
    return _duration;   
}

void dataStore::update(int N, int O, int D)
{

    this->_note = N;
    this->_octave = O;
    this->_duration = D;

}