-
+ SimpleNumber{ asTimeCodeString{ |acc=1,fps=25| // 0 is frames, 1 is seconds, 2 is minutes, 3 is hours var str = ""; var lb = ["h","m","s","f"]; var tc = this.asTimeCode( fps ); tc = tc.drop( -1 * acc - 1 ); lb = lb.drop( -1 * acc ); /* tc ...
-
Pbindef( \decimator, \instrument, "decimator", \dur, 1/3, \legato, 0.5, \rel, 0.3, \degree, Pseq([ Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0, Pn(\rest, 2), Pseq([0, 2, 1, 3, 4, 3, 2, 1], 4), 0]), \samplerate, Pn(Pgeom(22500, 8/9, 35), 2), \pream ...
-
/* This is a synthDef that's inspired by (and tries to replicate) the Decimator quark. The decimator quark allows you to change the sample rate and bit depth of a signal, independently of the sample rate and bit depth supercollider is curre ...
-
//f.olofsson 2019 //based on optoformant3 ( //--settings var oscPort= SInputs.destinations.sFormant.port; var winRect= Rect(242, 242, 600, 600); //x, y, w, h var palette= SGUI.palette((highlight: Color.grey(2/3, 0.5))); var fps= 25; //maxim ...
-
SignalCharacteristics { var <>maxsize; var <data, <times, <lastTime; var <resdata, <stepdata, <timeresdata; var first = true; *new{ |maxsize| ^super.new.maxsize_( maxsize ).init; } init{ data = Array.new; times = Array.new; lastTime = Proce ...
-
/* * FILENAME: SliderSequencerView * * DESCRIPTION: * Based on the sclang EZSlider, however it's a child of View and the child views are organised by a layout, so it can scale. * * SliderSequencerView(nil, 400@100, \db.asSpec, 0.5, "test"). ...
-
/* FILENAME: SCMIDIInNoteRangeView DESCRIPTION: Select a MIDIIn source AUTHOR: Marinus Klaassen (2012, 2021Q4) EXAMPLE: m = SCMIDIInNoteRangeView(noteOnAction: { |...args| args.postln; }, noteOffAction: {|...args| args.postln; }).front; a = ...
-
... pc', {arg p=64 ; LPCError.ar(\in, p); } ], [ 'dec', {arg rate=44100 , bits=24 ; Decimator.ar(\in, rate, bits); } ], [ 'wnl', {arg mix=0 , ratex=1.0 , ratey=1.0 , alpha=0.002 ; var sig = WeaklyNonlinear2.ar(\in, ratex, ratey, alpha); ((sig*m ...
-
// RadTest: helpers shared by the test driver (run.scd) and the per-test child (child.scd). // Loaded with: (Radicles.mainPath +/+ "Tests/RadTest.scd").load // Defines environment variables only; nothing here is compiled into the class libr ...
-
/* FILENAME: SCMTempoClockView DESCRIPTION: SCMTempoClockView AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: SCMTempoClockView(bounds:100@50).front(); */ SCMTempoClockView : View { classvar persistanceFile, persistanceDir, <tempoInBeatsPe ...