-
... 0].linlin(0, 0.005, [100, 101], 700), 0, 0.1) }.play ) x.release // for audible sound production take a time multiplier and a scaling factor // and get a decaying sine, leakDC now true by default ( x = { var f = 0.2, mass = 0.001, spring = ...
-
... ee setup examples further down. Example 1: control the volumes of 48 continuous sounds, using only buses. upper slider controls vibrato. g.free; g = Manta .new; Manta .verbose = true ; ( // this example uses unscaled controller data, so tur ...
-
... ) } /* read & write */ *read { arg path, size, startFrame = 0, channel = 0; var soundFile, soundFrames, soundEndFrame, endFrame, winSize, readSize, soundData; var overWriteIndex; if(File.exists(path), { // open... soundFile = SoundFile.new( ...
-
... /snap-normal") } // No Grid editor_snap_off { a.sendMsg("Editor/snap-off") } // Sound Selected MIDI Notes editor_sound_midi_notes { a.sendMsg("Editor/sound-midi-notes") } // Split/Separate editor_split_region { a.sendMsg("Editor/split-regio ...
-
... of amp(i) and amp(j) is used //the idea is to give larger dissonance for louder sounds }, // and to smoothly go to zero as one of the partials disappears //else { dnew=ampl[j]*((c1*exp1)+(c2*exp2)); // use ampl(j) if it is smaller }); d = d ...
-
... { blockIndex = recblock-1; if((input.isNumber).or(input.isArray), { inString = "SoundIn.ar(" ++ (input-1).cs ++ ")"; }, { inString = input.cs; //for ndefs }); if(recNdefs.notNil, { if(recNdefs[blockIndex].notNil, { recBufData = recBufInfo[b ...
-
... ize of wavelength in meters: asWavelength {|c = 343| ^c/this } // c is speed of sound in m/s @ 20 celsius // factorial { // the highest factorial that can be represented as a Float is 171 // ^(2..this.asFloat).product // } /* Return a seque ...
-
... /* These synthdefs should be placed after a WFSPrePanSynthDef. They mimick the sound of WFSArrayPanSynthDefs. The preview might not be completely accurate. */ classvar <>modes; classvar <>types; classvar <>pannerFuncs; classvar <>panDist = ...
-
... cW.add(\blk, [\str, \num, \str, \str], {|str1, num, str2, str3| var buffer; //a sound file, @N, a wavetable or a loaded buffer's tag (Block.bufferArg) buffer = Block.bufferArg(str2, str3); Block.play(num, str2, buffer[0], data: buffer[1]); ...
-
... doWhenCanceled.value; }, { synth.run; doAtStart.value; } ] ); ^synth; } playWithSoundFile { |path = "sounds/a11wlk01-44_1.aiff", rate = 1, level = 1, loop = false, adjustLength = false, server, doWhenFinished, doWhenCanceled | // defs need ...