Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmxyz committed Aug 12, 2019
1 parent f5ef96f commit a79fa8d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions synthdefs.scd
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
// My kinda bootup file

// record button - ALWAYS to keep in a place where you'll always see it

s.record('screcs/live-at-mastronauta-jul-2019.wav');

s.stopRecording

// My kinda bootup file

// Start SuperDirt with a reasonable memory size and an oscilloscope

(
s.options.memSize = 8192*8192*2;
SuperDirt.start;
s.scope;
)
);

// buffer for my waveshaper - handy to play with during performances

w = Buffer.alloc(s,1024,1);

(
w.cheby([0.5,1,3.75,0.2,0.2,1.45,1.0,0.8,2.5])
)
);

// Spectral smear
~dirt.addModule('spectral-smear', { |dirtEvent|
Expand All @@ -40,7 +40,7 @@ SynthDef("spectral-smear" ++ ~dirt.numChannels, { |out, smear|
signal = IFFT(PV_MagSmear(chain, bins: smear.linexp(0.0,1.0,1,64)));
ReplaceOut.ar(out, signal)
}, [\ir, \ir]).add;
)
);


// "string" - an fm-sine wave with a comb filter on top -- wip
Expand All @@ -61,8 +61,6 @@ SynthDef(\stringtest, {
}).add
);

LeakDC

// "plush" - a sine wave with a variable-curve envelope

(
Expand Down Expand Up @@ -112,7 +110,7 @@ SynthDef.new(\balloon, {
sig = ((filteda + filtedb + filtedc) / 3 * line);
OffsetOut.ar (out, DirtPan.ar (sig, ~dirt.numChannels, pan));
}).add
)
);

// "tunesharp" - a tuneable square wave with pitchenv and ringmod

Expand All @@ -134,7 +132,7 @@ SynthDef.new(\tunesharp, {
filted = BBandPass.ar(prefilt, filtenv, bandpq);
OffsetOut.ar (out, DirtPan.ar (sig, ~dirt.numChannels, pan));
}).add
)
);

// "tunesaw" - a tuneable sawtooth with ringmod and a waveshaper

Expand All @@ -155,7 +153,7 @@ SynthDef.new(\tunesaw, {
sig = (Shaper.ar(w, filted, shaped)) + (filted * (1 - shaped));
OffsetOut.ar (out, DirtPan.ar (sig, ~dirt.numChannels, pan));
}).add
)
);

// "supersaw" - a 12edo sawtooth with ringmod and a waveshaper

Expand All @@ -174,7 +172,7 @@ SynthDef.new(\supersaw, {
sig = (Shaper.ar(w, filted, shaped)) + (filted * (1 - shaped));
OffsetOut.ar (out, DirtPan.ar (sig, ~dirt.numChannels, pan));
}).add
)
);

// 4 channels

Expand Down

0 comments on commit a79fa8d

Please sign in to comment.