Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (130) Code (3) Doc (37) Help (20) Quark (67) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. RedGrainController Doc

    ... b3].wrapAt(i/50%5)});//pattern g.grainBuf_({|buf, o, i| [~b1, ~b2, ~b3].wchoose(FloatArray[0.1, 1.0, 0.0].blend([0.0, 0.0, 1.0], o).normalizeSum)});//interpolate -buffer depend on position g.grainBuf_({|buf, o, i| [~b1, ~b2, ~b3].wchoose(Fl ...

  2. trackers Quark

    ... egree = freq.cpsmidi.round(1.0); //treat it like a degree freq = DegreeToKey.kr(FloatArray[ 1, 2, 3, 7, 8, 9, 10 ].asBufnum,degree,12,1,root); out = Mix.new( SinOsc.ar(freq + LFNoise1.kr([3,3,3], 0.04)) ) * amp; 6.do({ out = AllpassN.ar(out ...

  3. SoundFile Help

    ... rray you supply. You must have already called openRead. The raw array must be a FloatArray. Regardless of the sample format of the file, the array will be populated with floating point values. For integer formats, the floats will all be in ...

  4. DataFilter Quark

    ... set a default this.bufferSize_(argBufferSize?1250); } bufferSize_ {|val| dataN= FloatArray.newClear(val); } sampleRate_ {|rate= 250| var rates= this.class.constants[type].keys; if(rates.includes(rate).not, { "samplerate % not supported. onl ...

  5. SoundFile Doc

    ... e method -channelPeaks for example. Arguments: rawArray The raw array must be a FloatArray . Regardless of the sample format of the file, the array will be populated with floating point values. For integer formats, the floats will all be in ...

  6. Core_02 Quark

    ... } { 1024.min(frames).max(512).nextPowerOfTwo }; freqs = Array.fill(numTracks, { FloatArray.newClear(numPoints) }); amps = Array.fill(numTracks, { FloatArray.newClear(numPoints) }); phases = Array.fill(numTracks, { FloatArray.newClear(numPoi ...

  7. trainFromFile Plugin

    ... // OK enough fun, let's write it as a datafile ~toydata = ~toydata.flatten.as( FloatArray ); ~sf = SoundFile .new.headerFormat_( "AIFF" ).sampleFormat_( "float" ).numChannels_(2); ~sf.openWrite( "tmp_SOMTrain_sinedata.aiff" ); ~sf.writeDat ...

  8. Core_04 Quark

    ... x(1), best[1], best[2], 0.0] } }) ) }); bandEnergy = Array.fill(commonFrames, { FloatArray.fill(25, 0.0) }); ("SPEAR partials txt import parsed: partials=" ++ partialsCount ++ " frames=" ++ commonFrames ++ " dur=" ++ dur).postln; result = ( ...

  9. Core_06 Quark

    ... = tracks.size; nFrames = tracks[0][\points].size; conf = Array.fill(nTracks, { FloatArray.newClear(nFrames) }); prevFreqs = FloatArray.fill(nTracks, 0.0); prevAmps = FloatArray.fill(nTracks, 0.0); nFrames.do { |frameIdx| nTracks.do { |trac ...

  10. PlayerMixer Doc

    ... cription Plays all of the players, mixing them together in its own synth. ( c = FloatArray[1,2,4,5,6,8,13]; // an array buffer loads an array onto the server d = ArrayBuffer(c); Instr(\helpPlayerMixer, { arg degree=1,amp=1.0,scale; var freq ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow