Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Committer:
amutake
Date:
Mon Feb 16 17:33:11 2015 +0000
Revision:
21:9cc452a67382
Parent:
20:da2af91ee962
Child:
33:cc84b10e6c67
format

Who changed what in which revision?

UserRevisionLine numberNew contents of line
amutake 0:c80e972b4c59 1 #include "mbed.h"
amutake 0:c80e972b4c59 2 #include "rtos.h"
amutake 0:c80e972b4c59 3 #include "fll.h"
amutake 20:da2af91ee962 4 #include "fllaux.h"
amutake 10:79bb44beb08b 5 #include "taiko.h"
sierra 5:130721ce29f7 6
amutake 0:c80e972b4c59 7 int main(void)
amutake 0:c80e972b4c59 8 {
amutake 11:21b3b0494baa 9 fll_init();
amutake 21:9cc452a67382 10
amutake 10:79bb44beb08b 11 /*
sierra 5:130721ce29f7 12 button_t array0[] = {R1, 0};
amutake 7:61b4825304e2 13 button_t array1[] = {CIRCLE, 0};
amutake 7:61b4825304e2 14
sierra 6:d0348b7a2f05 15 Producer* source0 = new RepeaterSource(array0, sizeof(array0)/sizeof(button_t));
sierra 6:d0348b7a2f05 16 Producer* source1 = new RepeaterSource(array1, sizeof(array1)/sizeof(button_t));
sierra 6:d0348b7a2f05 17 Producer* ss[] = {source0, source1};
amutake 9:0d6631edfc32 18 Producer* source = new MergeFlow(ss, 2);
amutake 10:79bb44beb08b 19 */
amutake 21:9cc452a67382 20
amutake 15:ed0c2da735c2 21
amutake 10:79bb44beb08b 22 note don1 = { Don, 1 };
amutake 11:21b3b0494baa 23 note don075 = { Don, 0.75 };
amutake 10:79bb44beb08b 24 note don05 = { Don, 0.5 };
amutake 11:21b3b0494baa 25 note don025 = { Don, 0.25 };
amutake 11:21b3b0494baa 26 note un1 = { Un, 1 };
amutake 11:21b3b0494baa 27 note un05 = { Un, 0.5 };
amutake 13:fd698d077882 28 note ka1 = { Ka, 1 };
amutake 11:21b3b0494baa 29 note ka05 = { Ka, 0.5 };
amutake 13:fd698d077882 30 note ka025 = { Ka, 0.25 };
amutake 12:54aeb978fe9d 31 note renda3 = { Renda, 3 };
amutake 15:ed0c2da735c2 32 note renda2 = { Renda, 2 };
amutake 15:ed0c2da735c2 33 note dondai05 = { DonDai, 0.5 };
amutake 15:ed0c2da735c2 34 note dondai1 = { DonDai, 1 };
amutake 15:ed0c2da735c2 35 note kadai05 = { KaDai, 0.5 };
amutake 15:ed0c2da735c2 36 note kadai1 = { KaDai, 1 };
amutake 21:9cc452a67382 37
amutake 15:ed0c2da735c2 38 /*
amutake 15:ed0c2da735c2 39 // Radetzkymarsch perfect score
amutake 21:9cc452a67382 40 note* note_seq[] = {
amutake 21:9cc452a67382 41 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don1,
amutake 11:21b3b0494baa 42 &don025, &don025, &don025, &don025, &don05, &don05, &don1, &un05, &don025, &don025,
amutake 21:9cc452a67382 43
amutake 11:21b3b0494baa 44 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 11:21b3b0494baa 45 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 46
amutake 21:9cc452a67382 47 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 11:21b3b0494baa 48 &don05, &ka05, &don05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 49
amutake 11:21b3b0494baa 50 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 11:21b3b0494baa 51 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 52
amutake 21:9cc452a67382 53 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 12:54aeb978fe9d 54 &don075, &don025, &don025, &don025, &don025, &don025, &don05, &don05, &don1,
amutake 21:9cc452a67382 55
amutake 12:54aeb978fe9d 56 &renda3, &un1,
amutake 13:fd698d077882 57 &renda3, &un1,
amutake 21:9cc452a67382 58
amutake 13:fd698d077882 59 &don1, &don075, &don025, &don1, &don1,
amutake 13:fd698d077882 60 &ka05, &ka025, &ka025, &ka05, &don05, &ka05, &ka025, &ka025, &ka1,
amutake 21:9cc452a67382 61
amutake 13:fd698d077882 62 &don1, &don075, &don025, &don1, &don1,
amutake 13:fd698d077882 63 &ka05, &ka025, &ka025, &ka05, &don05, &ka05, &ka025, &ka025, &ka05, &don05,
amutake 21:9cc452a67382 64
amutake 21:9cc452a67382 65 &ka05, &ka025, &ka025, &ka05, &ka025, &ka025, &ka05, &ka025, &ka025, &ka05, &ka025, &ka025,
amutake 13:fd698d077882 66 &ka1, &un1, &un1, &un05, &don025, &don025,
amutake 21:9cc452a67382 67
amutake 13:fd698d077882 68 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 13:fd698d077882 69 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 70
amutake 21:9cc452a67382 71 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 13:fd698d077882 72 &don05, &ka05, &don05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 73
amutake 13:fd698d077882 74 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 13:fd698d077882 75 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 76
amutake 21:9cc452a67382 77 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 13:fd698d077882 78 &don075, &don025, &don025, &don025, &don025, &don025, &don05, &don05, &don1,
amutake 21:9cc452a67382 79
amutake 14:83af8f502d83 80 // changing tempo?
amutake 21:9cc452a67382 81 &don1, &un05, &don05, &don05, &don05, &don05, &don05,
amutake 14:83af8f502d83 82 &don05, &ka025, &ka025, &ka05, &ka05, &ka1, &un1,
amutake 21:9cc452a67382 83
amutake 14:83af8f502d83 84 //
amutake 14:83af8f502d83 85 &don1, &ka1, &don05, &don05, &ka1,
amutake 14:83af8f502d83 86 &don1, &ka05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 87
amutake 14:83af8f502d83 88 &don1, &ka05, &ka05, &don025, &don025, &don05, &ka1,
amutake 14:83af8f502d83 89 &don1, &ka05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 90
amutake 14:83af8f502d83 91 &don1, &ka1, &don05, &don05, &ka1,
amutake 14:83af8f502d83 92 &don1, &ka05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 93
amutake 14:83af8f502d83 94 &don1, &ka05, &ka05, &don025, &don025, &don05, &ka1,
amutake 14:83af8f502d83 95 &don025, &don025, &don05, &don025, &don025, &don05, &don1, &un1,
amutake 21:9cc452a67382 96
amutake 14:83af8f502d83 97 //
amutake 14:83af8f502d83 98 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka05, &ka05,
amutake 14:83af8f502d83 99 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka1,
amutake 21:9cc452a67382 100
amutake 14:83af8f502d83 101 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka05, &ka05,
amutake 14:83af8f502d83 102 &don1, &un05, &don025, &don025, &don1, &un1,
amutake 21:9cc452a67382 103
amutake 14:83af8f502d83 104 &don1, &ka1, &don05, &don05, &ka1,
amutake 14:83af8f502d83 105 &don1, &ka05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 106
amutake 14:83af8f502d83 107 &don1, &ka05, &ka05, &don025, &don025, &don05, &ka1,
amutake 14:83af8f502d83 108 &don025, &don025, &don05, &don025, &don025, &don05, &don1, &un1,
amutake 21:9cc452a67382 109
amutake 14:83af8f502d83 110 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka05, &ka05,
amutake 14:83af8f502d83 111 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka1,
amutake 21:9cc452a67382 112
amutake 14:83af8f502d83 113 &don05, &don025, &don025, &don1, &ka05, &ka05, &ka05, &ka05,
amutake 14:83af8f502d83 114 &don1, &un05, &don025, &don025, &don1, &un1,
amutake 21:9cc452a67382 115
amutake 14:83af8f502d83 116 &don025, &don025, &don025, &don025, &don05, &ka05, &don025, &don025, &don025, &don025, &don05, &ka05,
amutake 14:83af8f502d83 117 &don025, &don025, &don025, &don025, &don05, &ka05, &ka1, &un1,
amutake 21:9cc452a67382 118
amutake 14:83af8f502d83 119 &don025, &don025, &don025, &don025, &don1, &don025, &don025, &don025, &don025, &don1,
amutake 14:83af8f502d83 120 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don1,
amutake 21:9cc452a67382 121
amutake 14:83af8f502d83 122 //
amutake 14:83af8f502d83 123 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don1,
amutake 14:83af8f502d83 124 &don025, &don025, &don025, &don025, &don05, &don05, &don1, &un05, &don025, &don025,
amutake 21:9cc452a67382 125
amutake 14:83af8f502d83 126 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 14:83af8f502d83 127 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 128
amutake 21:9cc452a67382 129 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 14:83af8f502d83 130 &don05, &ka05, &don05, &ka05, &don1, &un1,
amutake 21:9cc452a67382 131
amutake 14:83af8f502d83 132 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025,
amutake 14:83af8f502d83 133 &don05, &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &un05,
amutake 21:9cc452a67382 134
amutake 14:83af8f502d83 135 &don05, &ka05, &ka05, &un05, &don05, &ka05, &ka05, &un05,
amutake 14:83af8f502d83 136 &don075, &don025, &don025, &don025, &don025, &don025, &don05, &don05, &don1
amutake 11:21b3b0494baa 137 };
amutake 21:9cc452a67382 138
amutake 14:83af8f502d83 139 Producer* source = new TaikoSource(note_seq, sizeof(note_seq)/sizeof(note*), 119.9);
amutake 15:ed0c2da735c2 140
amutake 15:ed0c2da735c2 141 */
amutake 21:9cc452a67382 142
amutake 18:c5d3a4d6e8e5 143 button_t menu_bs[] = {
amutake 19:1036e651648b 144 /*
amutake 21:9cc452a67382 145 START, START, START, START, START, START,
amutake 18:c5d3a4d6e8e5 146 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
amutake 18:c5d3a4d6e8e5 147 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
amutake 21:9cc452a67382 148 LEFT, LEFT, LEFT, LEFT, LEFT, LEFT,
amutake 18:c5d3a4d6e8e5 149 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
amutake 19:1036e651648b 150 */
amutake 21:9cc452a67382 151 CIRCLE, CIRCLE,
amutake 18:c5d3a4d6e8e5 152 };
amutake 21:9cc452a67382 153
amutake 18:c5d3a4d6e8e5 154 Producer* menu = new OnetimeSource(menu_bs, sizeof(menu_bs) / sizeof(button_t));
amutake 21:9cc452a67382 155
amutake 15:ed0c2da735c2 156 // Koibumi2000
amutake 15:ed0c2da735c2 157 note* note_seq[] = {
amutake 18:c5d3a4d6e8e5 158 &un1, &un1, &un1, &un1,
amutake 18:c5d3a4d6e8e5 159 &un1, &un1, &un05, &dondai05, &un1,
amutake 21:9cc452a67382 160
amutake 15:ed0c2da735c2 161 &don05, &don05, &un1, &un1, &un1,
amutake 15:ed0c2da735c2 162 &un1, &un1, &un1, &un1,
amutake 21:9cc452a67382 163
amutake 15:ed0c2da735c2 164 &don05, &don05, &un1, &un1, &un1,
amutake 15:ed0c2da735c2 165 &dondai1, &un1, &dondai1, &un1,
amutake 21:9cc452a67382 166
amutake 15:ed0c2da735c2 167 //
amutake 15:ed0c2da735c2 168 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 15:ed0c2da735c2 169 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 21:9cc452a67382 170
amutake 15:ed0c2da735c2 171 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 15:ed0c2da735c2 172 &don05, &don05, &ka05, &ka05, &don05, &don05, &ka1,
amutake 21:9cc452a67382 173
amutake 15:ed0c2da735c2 174 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 15:ed0c2da735c2 175 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 21:9cc452a67382 176
amutake 15:ed0c2da735c2 177 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don1,
amutake 15:ed0c2da735c2 178 &don05, &don05, &ka05, &ka05, &don05, &don05, &ka1,
amutake 21:9cc452a67382 179
amutake 15:ed0c2da735c2 180 //
amutake 15:ed0c2da735c2 181 &dondai1, &un1, &don025, &don025, &don025, &don025, &don1, //
amutake 21:9cc452a67382 182
amutake 15:ed0c2da735c2 183 //
amutake 15:ed0c2da735c2 184 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 185 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 186
amutake 15:ed0c2da735c2 187 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 188 &don05, &don05, &ka05, &ka05, &don05, &don05, &ka1,
amutake 21:9cc452a67382 189
amutake 15:ed0c2da735c2 190 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 191 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 192
amutake 15:ed0c2da735c2 193 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 194 &don05, &ka05, &don05, &ka05, &don05, &kadai05, &un1,
amutake 21:9cc452a67382 195
amutake 15:ed0c2da735c2 196 //
amutake 15:ed0c2da735c2 197 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 198 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 199
amutake 15:ed0c2da735c2 200 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 201 &don05, &ka05, &don05, &ka05, &don05, &kadai05, &kadai05, &kadai05,
amutake 21:9cc452a67382 202
amutake 15:ed0c2da735c2 203 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 204 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 205
amutake 15:ed0c2da735c2 206 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 15:ed0c2da735c2 207 &don05, &ka05, &don05, &ka05, &don025, &don025, &don025, &don025, &don1,
amutake 21:9cc452a67382 208
amutake 15:ed0c2da735c2 209 //
amutake 15:ed0c2da735c2 210 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &dondai1,
amutake 15:ed0c2da735c2 211 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &dondai1,
amutake 21:9cc452a67382 212
amutake 15:ed0c2da735c2 213 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &kadai1,
amutake 15:ed0c2da735c2 214 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &kadai1,
amutake 21:9cc452a67382 215
amutake 15:ed0c2da735c2 216 &don025, &don025, &don05, &un05, &ka025, &ka025, &ka05, &un05, &dondai1,
amutake 15:ed0c2da735c2 217 &don025, &don025, &don05, &un05, &ka025, &ka025, &ka05, &un05, &dondai1,
amutake 21:9cc452a67382 218
amutake 15:ed0c2da735c2 219 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &kadai1,
amutake 15:ed0c2da735c2 220 &don025, &don025, &don05, &un05, &don025, &don025, &don05, &un05, &kadai1,
amutake 21:9cc452a67382 221
amutake 15:ed0c2da735c2 222 //
amutake 15:ed0c2da735c2 223 &don05, &don05, &don1, &don05, &don025, &don025, &don05, &don05,
amutake 15:ed0c2da735c2 224 &don05, &don05, &don1, &don05, &don025, &don025, &don05, &don05,
amutake 21:9cc452a67382 225
amutake 15:ed0c2da735c2 226 &don05, &don05, &don1, &don05, &don025, &don025, &don05, &don05,
amutake 15:ed0c2da735c2 227 &don05, &don025, &don025, &don05, &don05, &don05, &don025, &don025, &don05, &don05,
amutake 21:9cc452a67382 228
amutake 15:ed0c2da735c2 229 &don05, &ka05, &don05, &ka05, &don05, &don025, &don025, &don05, &don05,
amutake 15:ed0c2da735c2 230 &don05, &ka05, &don05, &ka05, &don05, &don025, &don025, &don05, &don05,
amutake 21:9cc452a67382 231
amutake 15:ed0c2da735c2 232 &don05, &ka05, &don05, &ka05, &don05, &don025, &don025, &don05, &ka05,
amutake 15:ed0c2da735c2 233 &don05, &don025, &don025, &don05, &ka05, &don05, &ka025, &ka025, &ka05, &ka05,
amutake 21:9cc452a67382 234
amutake 15:ed0c2da735c2 235 //
amutake 15:ed0c2da735c2 236 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 15:ed0c2da735c2 237 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 21:9cc452a67382 238
amutake 15:ed0c2da735c2 239 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 15:ed0c2da735c2 240 &don05, &don025, &don025, &don025, &don025, &don05, &don05, &don025, &don025, &don025, &don025,&don05,
amutake 21:9cc452a67382 241
amutake 21:9cc452a67382 242 &don025, &don025, &don05, &ka05, &ka05, &don025, &don025, &don05, &ka05, &ka05,
amutake 21:9cc452a67382 243 &don025, &don025, &don05, &ka05, &ka05, &don025, &don025, &don05, &ka05, &ka05,
amutake 21:9cc452a67382 244
amutake 21:9cc452a67382 245 &don025, &don025, &don05, &ka05, &ka05, &don025, &don025, &don05, &ka05, &ka05,
amutake 15:ed0c2da735c2 246 &don025, &don025, &don05, &ka025, &ka025, &ka05, &don025, &don025, &don05, &dondai1,
amutake 21:9cc452a67382 247
amutake 15:ed0c2da735c2 248 // irregular time
amutake 15:ed0c2da735c2 249 &don05, &don1, &don1, &don1, &don05, &un05, &don05, &don05, &don05, &don1, &don05, &don05,
amutake 15:ed0c2da735c2 250 &un05, &don1, &don1, &don1, &don05, &don05, &don05, &don1, // ?
amutake 21:9cc452a67382 251
amutake 21:9cc452a67382 252 &don05, &don1, &don1, &don05, &don05, &don05, &un05, &ka025, &ka025, &ka05, &ka025, &ka025, &ka1, &don05, &don05,
amutake 15:ed0c2da735c2 253 &un05, &don1, &don05, &don05, &don05, &un05, &ka025, &ka025, &ka05, &ka025, &ka025, &ka05, &un05,
amutake 21:9cc452a67382 254
amutake 15:ed0c2da735c2 255 &don05, &don025, &don025, &don05, &don1, &don1, &ka025, &ka025, &ka05, &ka025, &ka025, &ka05, &don025, &don025, &don1, &don05, &don1, &don1, &don1, &ka025, &ka025, &ka05, &ka025, &ka025, &ka05, &don05, &don05, &don05,
amutake 21:9cc452a67382 256
amutake 15:ed0c2da735c2 257 // normal time
amutake 21:9cc452a67382 258 &don1, &ka1, &don1, &ka1, &don05, &don05, &ka05, &ka05, &don05, &don05, &ka1,
amutake 15:ed0c2da735c2 259 &don025, &don025, &don05, &ka025, &ka025, &ka05, &don025, &don025, &don05, &ka025, &ka025, &ka05, &don1, &un1, &un05, &don025, &don025, &don05, &don05,
amutake 21:9cc452a67382 260
amutake 21:9cc452a67382 261 &don1, &ka1, &don1, &ka1, &don05, &don05, &ka05, &ka05, &don05, &don05, &ka1,
amutake 21:9cc452a67382 262 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05, &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05, &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05, &don05, &don05, &don05, &don05,
amutake 21:9cc452a67382 263
amutake 21:9cc452a67382 264 &don1, &ka1, &don1, &ka1, &dondai1, &kadai1, &dondai1, &kadai1,
amutake 15:ed0c2da735c2 265 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka025, &ka025,
amutake 15:ed0c2da735c2 266 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka025, &ka025,
amutake 21:9cc452a67382 267 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka025, &ka025,
amutake 21:9cc452a67382 268 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05,
amutake 21:9cc452a67382 269
amutake 15:ed0c2da735c2 270 &renda2, &un05, &don025, &don025, &don1,
amutake 21:9cc452a67382 271
amutake 15:ed0c2da735c2 272 // switch (tatsujin)
amutake 21:9cc452a67382 273 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 274 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 16:253d933a7633 275
amutake 21:9cc452a67382 276 &don05, &ka05, &don05, &ka05, &don05, &ka05, &don05, &ka05,
amutake 21:9cc452a67382 277 &don05, &ka05, &don05, &ka05, &don05, &kadai05, &un05, &kadai05,
amutake 21:9cc452a67382 278
amutake 16:253d933a7633 279 //
amutake 15:ed0c2da735c2 280 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 15:ed0c2da735c2 281 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 21:9cc452a67382 282
amutake 15:ed0c2da735c2 283 &don025, &don025, &don05, &don025, &don025, &don05, &don05, &don05, &don05, &don05,
amutake 21:9cc452a67382 284 &don05, &don05, &don05, &don05, &don05, &don025, &don025, &don025, &don025, &don05,
amutake 16:253d933a7633 285 //
amutake 21:9cc452a67382 286 &don025, &don025, &don05, &ka025, &ka025, &ka05, &don025, &don025, &don05, &ka025, &ka025, &ka05,
amutake 21:9cc452a67382 287 &don025, &don025, &don05, &ka025, &ka025, &ka05, &don025, &don025, &don05, &ka025, &ka025, &ka05,
amutake 21:9cc452a67382 288
amutake 21:9cc452a67382 289 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka025, &ka025, &don025, &don025, &don025, &don025, &ka025, &ka025, &ka025, &ka025,
amutake 15:ed0c2da735c2 290 &don025, &don025, &don05, &ka05, &ka05, &don025, &don025, &don025, &don025, &don05, &ka05,
amutake 16:253d933a7633 291 //
amutake 15:ed0c2da735c2 292 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05, &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05,
amutake 15:ed0c2da735c2 293 &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05, &don025, &don025, &don025, &don025, &ka025, &ka025, &ka05,
amutake 21:9cc452a67382 294
amutake 21:9cc452a67382 295 &don025, &don025, &ka025, &ka025, &don025, &don025, &ka025, &ka025, &don025, &don025, &ka025, &ka025, &don025, &don025, &ka025, &ka025,
amutake 15:ed0c2da735c2 296 &don05, &don05, &don05, &don05, &don025, &don025, &don025, &don025, &don025, &don025, &don05,
amutake 21:9cc452a67382 297
amutake 15:ed0c2da735c2 298 // irregular time
amutake 15:ed0c2da735c2 299 &don05, &don05, &un05, &don05, &un05, &don05, &un05, &don05, &un05, &don05, &don05, &don05, &don1,
amutake 15:ed0c2da735c2 300 &don05, &don05, &un05, &don05, &un05, &don05, &un05, &don05, &un05, &don05, &don05, &don05, &don1,
amutake 21:9cc452a67382 301
amutake 16:253d933a7633 302 // last
amutake 15:ed0c2da735c2 303 &dondai05, &dondai05
amutake 15:ed0c2da735c2 304 };
amutake 21:9cc452a67382 305
amutake 18:c5d3a4d6e8e5 306 Producer* taiko = new TaikoSource(note_seq, sizeof(note_seq)/sizeof(note*), 200);
amutake 21:9cc452a67382 307
amutake 19:1036e651648b 308 Producer* delayed = new DelayFlow(taiko, 9.0827); // 3.49
amutake 21:9cc452a67382 309
amutake 18:c5d3a4d6e8e5 310 Producer* src_seq[] = { menu, delayed };
amutake 18:c5d3a4d6e8e5 311 Producer* source = new SequentialFlow(src_seq, 2);
amutake 21:9cc452a67382 312
amutake 8:d16a0fcc2735 313 fll_run(source);
amutake 0:c80e972b4c59 314 }