diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChubgraphStd.ck | 25 | ||||
-rw-r--r-- | lib/ClipperGraph.ck | 2 | ||||
-rw-r--r-- | lib/SampOsc.ck | 2 |
3 files changed, 2 insertions, 27 deletions
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; |