Permalink
Browse files

adding delay classes based on mtm2.ck example, still needs work

  • Loading branch information...
1 parent 22bb526 commit c6b2ca4e59594ca3ac6eebe3a3cf558368bf2498 @heuermh committed Aug 15, 2012
Showing with 675 additions and 0 deletions.
  1. +88 −0 FeedbackMachine.ck
  2. +35 −0 MonoDelay.ck
  3. +35 −0 MonoDelayA.ck
  4. +35 −0 MonoDelayL.ck
  5. +44 −0 StereoDelay.ck
  6. +44 −0 StereoDelayA.ck
  7. +44 −0 StereoDelayL.ck
  8. +146 −0 StereoFeedbackMachine.ck
  9. +83 −0 examples/feedbackMachineExample.ck
  10. +50 −0 examples/monoDelayExample.ck
  11. +57 −0 examples/stereoDelayExample.ck
  12. +14 −0 import.ck
View
@@ -0,0 +1,88 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class FeedbackMachine
+{
+ Gain input;
+ Gain dry;
+ Gain wet;
+
+ Gain route1to2;
+ Gain route1to3;
+ Gain route1to4;
+ Gain route2to1;
+ Gain route2to3;
+ Gain route2to4;
+ Gain route3to1;
+ Gain route3to2;
+ Gain route3to4;
+ Gain route4to1;
+ Gain route4to2;
+ Gain route4to3;
+
+ MonoDelay delay1;
+ MonoDelay delay2;
+ MonoDelay delay3;
+ MonoDelay delay4;
+
+ {
+ 0.0 => route1to2.gain;
+ 0.0 => route1to3.gain;
+ 0.0 => route1to4.gain;
+ 0.0 => route2to1.gain;
+ 0.0 => route2to3.gain;
+ 0.0 => route2to4.gain;
+ 0.0 => route3to1.gain;
+ 0.0 => route3to2.gain;
+ 0.0 => route3to4.gain;
+ 0.0 => route4to1.gain;
+ 0.0 => route4to2.gain;
+ 0.0 => route4to3.gain;
+
+ input => delay1.input;
+ input => delay2.input;
+ input => delay3.input;
+ input => delay4.input;
+
+ delay1.delay => route1to2 => delay2.input;
+ delay1.delay => route1to3 => delay3.input;
+ delay1.delay => route1to4 => delay4.input;
+
+ delay2.delay => route2to1 => delay1.input;
+ delay2.delay => route2to3 => delay3.input;
+ delay2.delay => route2to4 => delay4.input;
+
+ delay3.delay => route3to1 => delay1.input;
+ delay3.delay => route3to2 => delay2.input;
+ delay3.delay => route3to4 => delay4.input;
+
+ delay4.delay => route4to1 => delay1.input;
+ delay4.delay => route4to2 => delay2.input;
+ delay4.delay => route4to3 => delay3.input;
+
+ input => dry;
+ delay1.output => wet;
+ delay2.output => wet;
+ delay3.output => wet;
+ delay4.output => wet;
+ }
+}
View
@@ -0,0 +1,35 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class MonoDelay
+{
+ Delay delay;
+ Gain input;
+ Gain feedback;
+ Gain output;
+
+ {
+ input => delay;
+ delay => feedback => input;
+ delay => output;
+ }
+}
View
@@ -0,0 +1,35 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class MonoDelayA
+{
+ DelayA delay;
+ Gain input;
+ Gain feedback;
+ Gain output;
+
+ {
+ input => delay;
+ delay => feedback => input;
+ delay => output;
+ }
+}
View
@@ -0,0 +1,35 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class MonoDelayL
+{
+ DelayL delay;
+ Gain input;
+ Gain feedback;
+ Gain output;
+
+ {
+ input => delay;
+ delay => feedback => input;
+ delay => output;
+ }
+}
View
@@ -0,0 +1,44 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class StereoDelay
+{
+ Delay delayL;
+ Gain inputL;
+ Gain feedbackL;
+ Gain outputL;
+
+ Delay delayR;
+ Gain inputR;
+ Gain feedbackR;
+ Gain outputR;
+
+ {
+ inputL => delayL;
+ delayL => feedbackL => inputL;
+ delayL => outputL;
+
+ inputR => delayR;
+ delayR => feedbackR => inputR;
+ delayR => outputR;
+ }
+}
View
@@ -0,0 +1,44 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class StereoDelayA
+{
+ DelayA delayL;
+ Gain inputL;
+ Gain feedbackL;
+ Gain outputL;
+
+ DelayA delayR;
+ Gain inputR;
+ Gain feedbackR;
+ Gain outputR;
+
+ {
+ inputL => delayL;
+ delayL => feedbackL => inputL;
+ delayL => outputL;
+
+ inputR => delayR;
+ delayR => feedbackR => inputR;
+ delayR => outputR;
+ }
+}
View
@@ -0,0 +1,44 @@
+/*
+
+ LiCK Library for ChucK.
+ Copyright (c) 2007-2012 held jointly by the individual authors.
+
+ This file is part of LiCK.
+
+ LiCK is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ LiCK is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LiCK. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+public class StereoDelayL
+{
+ DelayL delayL;
+ Gain inputL;
+ Gain feedbackL;
+ Gain outputL;
+
+ DelayL delayR;
+ Gain inputR;
+ Gain feedbackR;
+ Gain outputR;
+
+ {
+ inputL => delayL;
+ delayL => feedbackL => inputL;
+ delayL => outputL;
+
+ inputR => delayR;
+ delayR => feedbackR => inputR;
+ delayR => outputR;
+ }
+}
Oops, something went wrong.

0 comments on commit c6b2ca4

Please sign in to comment.