From 5ff11565745bfef81cde396527f0ef8eb29abf80 Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 1 Nov 2010 05:29:30 +0100 Subject: [PATCH] beatdetect modified to work with dream-strobe --- c/ghetto-sound-system/beatdetect.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/c/ghetto-sound-system/beatdetect.c b/c/ghetto-sound-system/beatdetect.c index d382215..bb4a191 100644 --- a/c/ghetto-sound-system/beatdetect.c +++ b/c/ghetto-sound-system/beatdetect.c @@ -80,7 +80,10 @@ } 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; } } -- 2.30.2