Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Revision:
10:79bb44beb08b
Parent:
9:0d6631edfc32
Child:
11:21b3b0494baa
--- a/main.cpp	Sat Feb 14 17:10:12 2015 +0000
+++ b/main.cpp	Sun Feb 15 06:53:27 2015 +0000
@@ -2,9 +2,11 @@
 #include "rtos.h"
 #include "fll.h"
 #include "fll_producers.h"
+#include "taiko.h"
 
 int main(void)
 {
+    /*
     button_t array0[] = {R1, 0};
     button_t array1[] = {CIRCLE, 0};
 
@@ -12,6 +14,15 @@
     Producer* source1 = new RepeaterSource(array1, sizeof(array1)/sizeof(button_t));
     Producer* ss[] = {source0, source1};
     Producer* source = new MergeFlow(ss, 2);
+    */
+    
+    note don1 = { Don, 1 };
+    note don05 = { Don, 0.5 };
+    note ka1 = { Ka, 1 };
+    
+    note* note_seq[] = { &don1, &don05, &don05, &don1, &ka1 };
+    
+    Producer* source = new TaikoSource(note_seq, sizeof(note_seq)/sizeof(note*), 120);
     
     fll_run(source);
 }