-
/* experimental. */ // record a stereo soundfile (wait 10 sec) ( var time = 8; var f = { var mod = Line.kr(0, 1, time); var imp = Impulse.ar(mod.linexp(0, 1, 1, 16) * [2, 3]); var fmod = SinOsc.ar(mod.linexp(0, 1, [700, 730] * rrand(0.4, 1. ...
-
... ions to buffers and synths to files + Function { // directly write functions to soundfiles (realtime) // args is am aray, a msg style array of arguments for the function or a dict: // [440, 1] or [\freq, 440, \gate 1] or (freq: 440, gate: 1 ...
-
... app to synthesize it. For details on valid headerFormats and sampleFormats see SoundFile . Use TempoClock.default as a tempo base. Does not return an instance. Arguments: list the list. oscFilePath the path to which the binary OSC file wil ...
-
... }; ) ( TempoClock.default.tempo_(2); ~buf = Buffer.read(s, "/path/to/mono/soundfile"); ) ( Ndef(\out).clear; Ndef(\out).play; Ndef(\out)[0] = ~slcr.(buf: ~buf, beats: 4, beatDiv: 2, sliceProducer: ~sliceProducer, amp: 0.5); Nd ...
-
... cessedFile(path, startFrame, numFrames) } read { |action, pause = 0| var file = SoundFile.openRead(path); if(file.isNil) { action.value(Error("File open failed")) } { this.readStream(file, action, pause); }; } readStream { |file, action, pa ...
-
... are the usual way of storing data server-side. Their most common use is to hold soundfiles in memory, but any sort of data that can be represented by floats can be stored in a buffer. Like busses, the number of buffers is set before you boo ...
-
... * 0.66667).poll(label:"Sine power")); }.scope; ) // Let's graph the power of a soundfile c = Buffer.read(s, "sounds/a11wlk01.wav"); ( { var in, chain; in = PlayBuf.ar(1, c); chain = FFT(b.bufnum, in); Out.ar(0, in * 0.1); [K2A.ar(FFTPower. ...
-
... normal, 0.5 is one octave down, 2.0 is one octave up. Negative values play the soundfile backwards. windowSIze - the size of each grain window. envbufnum - the buffer number containing a singal to use for the grain envelope. -1 uses a buil ...
-
... ender( "~/Desktop/testSine550.aif" , 5 ); ( // use sfBuffer argument to input a soundfile buffer, to be loaded by the NRT server b = Buffer .new.path_( "sounds/a11wlk01-44_1.aiff" ); { PlayBuf .ar(1, b.bufnum, SinOsc .kr(0.5).range(0.2,1.8) ...
-
... ion) | Buffer BufFolders Extension Load folder of sound files and subfolders of soundfiles to buffers in a dictionary Location: NOT INSTALLED! See also: BufFiles Description This is a simple class that handles loading a directory tree of so ...