beatdetect modified to work with dream-strobe
authorHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:29:30 +0000 (05:29 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:29:30 +0000 (05:29 +0100)
c/ghetto-sound-system/beatdetect.c

index d382215cf71dfb5ba8a60ccacc65f813d41a258e..bb4a191da6723fbea8f7b65ce92add9729a7f5b1 100644 (file)
                        } else {
                                int j;
                                for(j=0;j<128;j++) if((int)buf[j] > 1000) {
-                                       printf("BOOM! %d\n", (int)buf[j]);
+                                       //printf("BOOM! %d\n", (int)buf[j]);
+                                       //puts("");
+                                       putchar('!');
+                                       fflush(stdout);
                                        break;
                                }
                        }
This page took 0.165508 seconds and 4 git commands to generate.