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