From df887a892cd86c5d0d7a1f507e746794447ce9dc Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Sat, 27 Dec 2014 21:14:00 +0000 Subject: [PATCH] Now we are talking --- chuck.ck | 18 +++++++++++++++--- run.sh | 1 + 2 files changed, 16 insertions(+), 3 deletions(-) mode change 100644 => 100755 run.sh diff --git a/chuck.ck b/chuck.ck index 986a1f3..269845f 100644 --- a/chuck.ck +++ b/chuck.ck @@ -1,3 +1,15 @@ -adc => Gain g1 => dac; -0.5 => g1.gain; -1000::second => now; +// feedforward +adc => Gain g => dac; +// feedback +g => Gain feedback => DelayL delay => g; + +// set delay parameters +5::second => delay.max => delay.delay; +// set feedback +.5 => feedback.gain; +// set effects mix +.75 => delay.gain; + +// infinite time loop +while( true ) 1::second => now; + diff --git a/run.sh b/run.sh old mode 100644 new mode 100755 index edbd247..24bd9f5 --- a/run.sh +++ b/run.sh @@ -1 +1,2 @@ +#!/bin/bash chuck.alsa --bufsize64 chuck.ck