GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de77eb
)
beatdetect modified to work with dream-strobe
author
Harvie
<tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:29:30 +0000
(
05:29
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 1 Nov 2010 04:29:30 +0000
(
05:29
+0100)
c/ghetto-sound-system/beatdetect.c
patch
|
blob
|
blame
|
history
diff --git
a/c/ghetto-sound-system/beatdetect.c
b/c/ghetto-sound-system/beatdetect.c
index d382215cf71dfb5ba8a60ccacc65f813d41a258e..bb4a191da6723fbea8f7b65ce92add9729a7f5b1 100644
(file)
--- 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;
}
}
This page took
0.165508 seconds
and
4
git commands to generate.