kohacraft Lab
/
kc_YMZ294player
YMZ294 Player. modified from "Yamaguchi's YMZ294 Library" for LPC1114.
Player/Note.h
- Committer:
- kohacraft
- Date:
- 2015-12-09
- Revision:
- 0:7a56bf0441ea
File content as of revision 0:7a56bf0441ea:
#ifndef MBED_NOTE_H #define MBED_NOTE_H #include "mbed.h" class Note { public: Note(int pitch = 0, int dur = 0, bool tie = false); Note(const char *s); int pitch; // 69 = A4 = 440Hz, 0 for Rest int dur; // w h q i s t x (. /), duration may be appended, w = 1920 bool tie; // true when tied to next note }; #endif