-
... ot frequencies ( b <<.freq 25; a <<.freq 103; ) //Replace b's definition with a sawtooth wave. //Make sure to have the same parameter names so they keep the mappings b.replace({ Saw.ar(\freq.kr + \fm.ar) }) //Bye bye ( b.clear(time: 2); a.c ...
-
... ; server = server ? Server.default; numFrames = numFrames ? 2048; // default is sawtooth spectrumFunc = spectrumFunc ? { |numharm| (1..numharm).reciprocal }; lowMidi = (lowMidi ? 48) / 12; Buffer.allocConsecutive(numbufs, server, numFrames, ...
-
... ; server = server ? Server.default; numFrames = numFrames ? 2048; // default is sawtooth spectrumFunc = spectrumFunc ? { |numharm| (1..numharm).reciprocal }; lowMidi = (lowMidi ? 48) / 12; Buffer.allocConsecutive(numbufs, server, numFrames, ...
-
... ; var rect; var pulseLevel, pulseShape, sineLevel, sineSymmetry, triangleLevel, sawtoothLevel, frequency, range; rect = Rect(left, top, size, size); pulseLevel = SGME_Knob(parent, rect) .color_([blue, black, white, nil]) .mode_(\round) .ste ...
-
... ected (by .play) to the hardware output ~out = { \in.ar(0!2) }; ~out.play; // a sawtooth oscillator ~osc = { |freq = 60, amp = 0.1| Saw.ar(freq, amp).dup }; // connect to output ~osc <>> ~out; // detune it ~osc = { |freq = 60, amp = 0.1, de ...
-
... ast *** influx mode: * base capvals are from 0 to 500 * some caps have a lot of sawtooth noise on them, * some caps only go to max 1200, not 2000 * cap sensitivity is REALLY different when connected to USB power or not! *** Binary mode: * r ...
-
... path = PathName.tmp +/+ "sc3_test_allocAndQuery.aiff"; sf.openWrite(sfpath); // sawtooth b = Signal.sineFill(441, (1..20).reciprocal); // write multiple cycles (441 * 100 = 1 sec worth) 100.do{ sf.writeData(b) }; sf.close; 0.1.wait; s.sendM ...
-
... it pays to adjust zero crossings in the sound buffer effectively to 0, that way sawtooth-like interpolation artefacts can be avoided. See Ex. 2 and Ex. 7 in ZeroXBufRd help.. NOTE: For avoiding too long half wavesets it can be useful to app ...
-
... tring ++ "triangle/level", item.triangleLevel.round(0.01)); data.put(string ++ "sawtooth/level", item.sawtoothLevel.round(0.01)); data.put(string ++ "frequency", item.frequency.round(0.01)); }); // Filters: modulFilters.do({|item, num| var ...
-
... p; if(num==60, {step = -1}, {step = 1}); c[0].increment(step); }; ) // A single sawtooth oscillator with NoteOn // and NoteOff messages setting C values. ( c[16].setup("Note", ControlSpec.new(0, 127, LinearWarp)); c[17].setup("Gain", Contro ...