diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-07 21:04:14 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-07 21:04:14 +0200 |
commit | f03fc538d5762ed5b540d4d21438d6aafa0a6fb8 (patch) | |
tree | 8667db365414b852b8abe4da2eeea9e5a38dbc91 | |
parent | 4c29c17f3b48d03bc8bcf4a81b70e81faf1d2e54 (diff) | |
download | digitale-debutanten-f03fc538d5762ed5b540d4d21438d6aafa0a6fb8.tar.gz |
removed ChubgraphStd workaround
fixed in ChucK v1.3.1.0
-rw-r--r-- | lib.ck | 1 | ||||
-rw-r--r-- | lib/ChubgraphStd.ck | 25 | ||||
-rw-r--r-- | lib/ClipperGraph.ck | 2 | ||||
-rw-r--r-- | lib/SampOsc.ck | 2 |
4 files changed, 2 insertions, 28 deletions
@@ -1,5 +1,4 @@ /* Includes */ -Machine.add("lib/ChubgraphStd.ck"); Machine.add("lib/LiSaX.ck"); Machine.add("lib/SampOsc.ck"); Machine.add("lib/ClipperGraph.ck"); diff --git a/lib/ChubgraphStd.ck b/lib/ChubgraphStd.ck deleted file mode 100644 index 0e5ec90..0000000 --- a/lib/ChubgraphStd.ck +++ /dev/null @@ -1,25 +0,0 @@ -/* - * BUG WORKAROUND: - * Base class for all Chubgraphs, - * necessary because some default methods are unimplemented in the - * Chubgraph class - */ -public class ChubgraphStd extends Chubgraph { - fun float - gain(float g) - { - return g => outlet.gain; - } - - fun float - gain() - { - return outlet.gain(); - } - - fun float - last() - { - return outlet.last(); - } -} diff --git a/lib/ClipperGraph.ck b/lib/ClipperGraph.ck index 86e6183..db5fc14 100644 --- a/lib/ClipperGraph.ck +++ b/lib/ClipperGraph.ck @@ -1,7 +1,7 @@ /* * clip signal within -1 to 1 with simple UGens */ -public class ClipperGraph extends ChubgraphStd { +public class ClipperGraph extends Chubgraph { /* calculate a from HalfRect(inlet + 1) */ Step __one; 1 => __one.next; inlet => HalfRect __a; diff --git a/lib/SampOsc.ck b/lib/SampOsc.ck index d6adb4b..398e087 100644 --- a/lib/SampOsc.ck +++ b/lib/SampOsc.ck @@ -1,7 +1,7 @@ /* * Sample based oscillator */ -public class SampOsc extends ChubgraphStd { +public class SampOsc extends Chubgraph { static string @__sourceDir; /* pseudo-private */ inlet => blackhole; |