-
... of channels b.numChannels; // check duration b.duration; // check how many samples are in the sample b.numFrames; c.play; // SynthDefs ( // simple synthdef, no filters or effects, just env and panning control SynthDef("granny ...
-
add instant nostalgia to your music with a touch of wow and flutter link for the sample: https://drive.google.com/file/d/1qysrKqJ0S6Huub4mEKp2Gk8FJqq-gK1C/view?usp=sharing (probably not a physically accurate emulation) // read a soundfile ...
-
This is a player that I use for live work. It takes piano samples (or anything else I guess) and plays them in a rhythmic way that is also based on chord pitches. You'll see the GUI has (for me) chord names to remind me of what harmonic are ...
-
By Nathaniel Virgo. See https://listarc.cal.bham.ac.uk/lists/sc-users-2009/msg55766.html This comes from the mailing list as an attempt to simulate the vst Shapee. // By Nathaniel Virgo // https://listarc.cal.bham.ac.uk/lists/sc-users-2 ...
-
... of channels d.numChannels; // check duration h.duration; // check how many samples are in the sample c.numFrames; // SynthDefs ( SynthDef("shortcuts", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = 0.5, ff ...
-
... \traffic); b = Buffer.readDir("/Volumes/satellite/Music/road_to_nowhere/rtn_samples_mono/", server: s, notify: true); ( SynthDef(\grainer, { |bufnum, out=0, ratio=1, start, end, atk, sus, rel, level=1, curve=(-4), gate=1, pos=0, w ...
-
... .kr(0).dbamp; var preLevel = \preLevel .kr(0).dbamp; // converts from samples to seconds var playCuePoint = \playCuePoint.kr(0) * s.sampleRate; var resetRec = \resetRec.tr(1); var resetPlay = \resetPlay.tr(1); var p ...
-
i don't like scrolling large files and stick to "don't-repeat-youself" principle - therefore i come to this technique for code structuring which involves [using Environments as object prototypes](http://bit.ly/LAFfEg) and closures. sclang i ...
-
Use of linear congruence and multiply with carry random number generators for non-realtime signal generation. Very noisy outputs, watch your ears! (you'll need to change the file write path to one valid for your machine) //Linear congruence ...
-
This code generates fractal noise by cascading N first order filter sections. beta = 0 -> white noise, beta = 1 -> pink noise, beta = 2 -> brown noise. Not too sure about the normalization constant, since it is purely based on empirical rea ...