-
... r harmonica, accordion, etc. adapted from an example from the SelectXFocus help file. ( SynthDef(\reed, { |out = 0, freq = 440, amp = 0.1, gate = 1, attack = 0.3, release = 0.3| var snd, blow; // pulse with modulating width ...
-
... ; outSound ! 2; }.play; // ======= /* // ======= EX2 - load file from disk - MONO ONLY ====== if (a.buffer.notNil, { a.buffer.free; }); a.buffer = Buffer.read(s, "/path/to/monoSoundFile.wav"); // e.g. ...
-
... // 1. load samples from a folder extracting only one channel from the stereo files path = PathName("/home/nicola/Musica/samples/Sonatina Symphonic Orchestra/Samples/1st Violins/"); path.entries.do{ |item| if( item.fileName.contains ...
-
simple example showing how to play one soundfile after the other in a sequence. use as a template. //playing soundfiles in sequence - one after the other s.boot; ( s.latency= 0.05; b.do{|x| x.free}; //free all previous buffers b= [ ...
-
... Routine({ var duration = 60; // Duration in seconds var filePath = "~/Desktop/360_Soundscape.wav".standardizePath; // 1. Define the Synth for a spatialized sound source SynthDef(\SpatialSource, { ...
-
Came across this when browsing through my SC files. An attempt at emulating an old, dusty record including pops and crackles. ( SynthDef.new(\vinylCrackling, { arg out=0; var pop,imp,modImp,midNoise,hiNoise,loNoise,loopTime=8,numChan=2,w ...
-
... inSrc= Buffer.readChannel(s, path+/+"sounds/a11wlk01.wav", channels:0); // your file! /* irL= Buffer.readChannel(s, path++"", channels:0); // IR left irR= Buffer.readChannel(s, path++"", channels:0); // IR right */ /* Test IRs ...
-
... // either create new programs, or see already generated ones from the programs file // q.programs = "%/DetaNocturn-programs.scd".format(Document.current.path.dirname).load; // if new, also adjust score indices. (see below) q.programs ...
-
In Divisions - Midterm: Plunderphonics with Granular Sampling (musc-9-plunderphonics) by jonathan-coon (Jonathan Coon) Code
... p all sounds // ************************************** // 1) LOAD A SOUND FILE INTO A BUFFER // ************************************** // Change the file path as needed and evaluate the line below: b = Buffer.readChannel(s, "D:/j ...
-
... // d.defaultBufLength = 4096; // d.defaultBufLength = 1024; d.addBufLengthToFilename = true; // e.g. myWavetable_2048.wav // d.addBufLengthToFilename = false; // e.g. myWavetable.wav // save file formats d.arrSaveFormats = [ // ...