From 96ca6fbfc049be3f77d17bbece1b286721c14bef Mon Sep 17 00:00:00 2001 From: entropia Date: Thu, 1 Apr 2010 22:20:11 +0200 Subject: [PATCH] add noise and industrial --- .../karplus_strong_totally_borken.pde | 1 + 1 file changed, 1 insertion(+) diff --git a/projekte/soundz/karplus_strong_totally_borken/karplus_strong_totally_borken.pde b/projekte/soundz/karplus_strong_totally_borken/karplus_strong_totally_borken.pde index b623bd7..2c455dd 100644 --- a/projekte/soundz/karplus_strong_totally_borken/karplus_strong_totally_borken.pde +++ b/projekte/soundz/karplus_strong_totally_borken/karplus_strong_totally_borken.pde @@ -81,6 +81,7 @@ int sendKarplusStrongSound(uint16_t f /*Hz*/, uint8_t T /* 1/DIVIDER sec*/) { for (uint32_t i=(uint32_t) sr*T/DIVIDER; i>0; i--) { // current amplitude to play is the highest byte of buf[bh] + #define NOISEINDUSTRIAL 1 #if NOISEINDUSTRIAL OCR2A = buf[bh]; #else