drum

Dependencies:   mbed drum

Revision:
0:cd5fcde85881
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mugamutyu.h	Sat Nov 28 15:27:46 2020 +0000
@@ -0,0 +1,444 @@
+#include "note.h"
+namespace muga{
+
+const note_t blank_2[4]= {
+    {rest,0},
+    {rest,note_4_2},
+    {rest,note_4_2},
+    {rest,note_4_2}
+};
+
+const note_t mearsure_1_2[9]= {
+    {cymbal_2,0},
+    {drum_1,0},
+    {cymbal_1,note_4_2},
+    {hihat_middle,0},
+    {cymbal_1_1,note_4_2},
+    {hihat_middle,0},
+    {cymbal_1,note_4_2},
+    {hihat_middle,0},
+    {drum_1,note_8_2}
+};//ハイハット中間
+
+const note_t mearsure_2_2[8]= {
+    {cymbal_3,0},
+    {drum_1,0},
+    {rest,note_4_2},
+    {cymbal_2,note_8_2},
+    {drum_1,0},
+    {drum_1,note_4_2},
+    {cymbal_3,note_8_2},
+    {drum_1,0}
+};
+
+const note_t mearsure_3_2[22]= {
+    {cymbal_3,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,note_16_2},
+    {drum_2_1,note_32_2}
+};
+
+const note_t mearsure_4_2[15]= {
+    {drum_1,0},
+    {drum_2,0},
+    {drum_2_1,note_16_2},
+    {drum_4,note_16_2},
+    {drum_1,note_8_2},
+    {drum_2,0},
+    {drum_3,note_16_2},
+    {drum_3,note_16_2},
+    {drum_1,note_8_2},
+    {drum_3,note_16_2},
+    {drum_3,note_16_2},
+    {drum_1,note_8_2},
+    {drum_3,0},
+    {drum_3,note_16_2},
+    {drum_5,note_16_2}
+};
+
+const note_t mearsure_5_2[20]= {
+    {cymbal_3,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0}
+};
+
+const note_t mearsure_6_2[22]= {
+    {cymbal_1,0},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1_1,note_16_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0}
+};
+
+const note_t mearsure_7_2[21]= {
+    {cymbal_1,0},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0}
+};
+
+const note_t mearsure_8_2[21] = {
+    {cymbal_1,0},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1_1,note_16_2},//OPEN
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0}
+};
+
+const note_t mearsure_9_2[23] = {
+    {cymbal_1,0},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1_1,note_16_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2,note_16_2},
+    {drum_2_1,note_32_2},
+    {drum_2,note_32_2},
+    {drum_2_1,note_16_2},
+    {drum_1,note_16_2},
+    {drum_5,0}
+};
+
+const note_t mearsure_10_2[21] = {
+    {cymbal_1,0},
+    {hihat_off,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_2,note_8_2},
+    {drum_2_1,note_16_2},
+    {drum_2,note_32_2},
+    {cymbal_1_1,note_32_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1,note_16_2},//OPEN
+    {drum_1,0},
+    {drum_2,note_8_2},
+    {drum_4,note_16_2},
+    {drum_3,note_16_2},
+    {drum_5,note_16_2}
+};
+
+const note_t mearsure_11_2[9] = {
+    {cymbal_3,0},
+    {drum_1,0},
+    {drum_2,note_4_2},
+    {cymbal_2,note_8_2},
+    {drum_1,0},
+    {drum_1,note_4_2},
+    {cymbal_3,note_8_2},
+    {drum_1,0},
+    {drum_2_1,0}
+};
+
+const note_t mearsure_12_2[21] = {
+    {cymbal_2,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1,note_16_2},//OPEN
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0}
+};
+
+const note_t mearsure_13_2[20] = {
+    {cymbal_3,0},
+    {drum_1,0},
+    {drum_2,0},
+    {drum_2_1,note_8_2},
+    {drum_5,0},
+    {drum_1,note_8_2},
+    {drum_2,0},
+    {drum_5_1,0},
+    {drum_2_1,note_8_2},
+    {drum_5,0},
+    {drum_1,note_8_2},
+    {drum_2,0},
+    {drum_5_1,0},
+    {drum_2_1,note_8_2},
+    {drum_2,note_16_2},
+    {drum_1,note_16_2},
+    {drum_3,0},
+    {drum_3,note_16_2},
+    {drum_5,note_16_2},
+    {drum_5_1,note_16_2}
+};
+
+const note_t mearsure_14_2[5] = {
+    {cymbal_3,0},
+    {drum_1,0},
+    {rest,note_4_2},
+    {rest,note_4_2},
+    {rest,note_4_2}
+};
+
+const note_t mearsure_15_2[11] = {
+    {cymbal_2,0},
+    {drum_1,0},
+    {rest,note_4_2},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1_1,note_4_2},
+    {hihat_middle,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0}
+};//ハイハット中間
+
+const note_t mearsure_16_2[11] = {
+    {cymbal_1,0},
+    {hihat_middle,0},
+    {rest,note_4_2},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1,note_4_2},
+    {hihat_middle,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0}
+};//ハイハット中間
+
+const note_t mearsure_17_2[7] = {
+    {cymbal_2,0},
+    {drum_1,0},
+    {rest,note_4_2},
+    {rest,note_4_2},
+    {drum_4,note_8_2},
+    {drum_3,note_8_2},
+    {drum_5,note_8_2}
+};
+
+const note_t mearsure_18_2[16] = {
+    {rest,0},
+    {drum_2,note_8_2},
+    {drum_1,note_8_2},
+    {drum_3,note_16_2},
+    {drum_2_1,note_16_2},
+    {drum_2,note_16_2},
+    {drum_1,note_16_2},
+    {drum_3,0},
+    {drum_2_1,note_16_2},
+    {drum_2,note_16_2},
+    {drum_2_1,note_16_2},
+    {drum_1,note_16_2},
+    {drum_2,0},
+    {drum_3,note_16_2},
+    {drum_5,note_16_2},
+    {drum_5_1,note_16_2}
+};
+
+const note_t mearsure_19_2[22] = {
+    {cymbal_3,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1_1,note_16_2},
+    {hihat_middle,0},
+    {drum_1,0},
+    {drum_2,note_16_2},
+    {cymbal_1,note_16_2},
+    {hihat_middle,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0}
+};//ハイハット中間
+
+const note_t mearsure_20_2[23] = {
+    {cymbal_1,0},
+    {hihat_middle,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1,note_16_2},
+    {hihat_middle,0},
+    {drum_1,0},
+    {drum_2_1,note_16_2},
+    {cymbal_1_1,note_16_2},
+    {hihat_middle,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0}
+};//ハイハット中間
+
+const note_t mearsure_21_2[20] = {
+    {cymbal_1,0},
+    {hihat_middle,0},
+    {drum_1,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {cymbal_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_middle,0},
+    {drum_2_1,note_8_2},
+    {drum_1,note_32_2},
+    {drum_2,0},
+    {drum_2_1,note_16_2},
+    {drum_2,note_16_2},
+    {drum_2_1,note_16_2},
+    {drum_1,note_16_2},
+    {drum_2,0},
+    {drum_3,note_16_2},
+    {drum_3,note_16_2}
+};//ハイハット中間
+
+const note_t mearsure_22_2[21] = {
+    {cymbal_3,0},
+    {drum_1,0},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {drum_2,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_2_1,0},
+    {drum_1,note_32_2},
+    {cymbal_1,note_8_2},
+    {hihat_off,0},
+    {cymbal_1_1,note_8_2},
+    {hihat_off,0},
+    {drum_1,0},
+    {drum_2,note_8_2},
+    {drum_5,0},
+    {drum_1,note_8_2},
+    {drum_2_1,0},
+    {drum_5_1,0},
+    {cymbal_1,note_8_2},//OPEN
+    {drum_2,0}
+};
+
+}
\ No newline at end of file