Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... holding raw data values Source: ArrayedCollection.sc Subclasses: DoubleArray , FloatArray , Int16Array , Int32Array , Int8Array , String , SymbolArray … see all Description RawArray is the abstract superclass of a group of array classes th ...

  2. Core_01 Quark

    ... ger; chans = sf.numChannels.asInteger.max(1); sr = sf.sampleRate.asFloat; raw = FloatArray.newClear(frames * chans); sf.readData(raw); sf.close; mono = FloatArray.newClear(frames); frames.do { |i| mono[i] = raw[(i * chans).clip(0, raw.size ...

  3. extSoundFile-splitChannels Quark

    ... do( _.openWrite ); this.seek(startFrame, 0); { (numFrames > 0) and: { rawData = FloatArray.newClear(min(numFrames, chunkSize)); this.readData(rawData); //"next chunk (size=%) read\n".postf( rawData.size ); rawData.size > 0 } }.while({ rawDa ...

  4. RedKCS Doc

    ... tring encodeStringAsBuffer encodeStringAsSoundFile language side decoding decodeFloatArray decodeBuffer decodeSoundFile server side encoding play playSine send stop server side decoding listen stopListening Inherited instance methods Exampl ...

  5. TestSatieBuffers Quark

    ... udio.aiff"; var sndFile = SoundFile.openWrite(path.standardizePath); var data = FloatArray.fill(512, { 1.0.rand2 }); sndFile.writeData(data); sndFile.close; // loadSample uses standardizePath internally satie.loadSample(name, path); server. ...

  6. SS_SCMIRAudioFileOnsets Quark

    ... res ".postln; [1, temp].postln; }; temp = numonsets; //*numfeatures; onsetdata= FloatArray.newClear(temp); //faster implementation? file.readLE(onsetdata); if((onsetdata.size) != temp) { file.close; onsetdata=nil; SS_SCMIR.clearResources; f ...

  7. scaleStream Quark

    scaleStream scaleStreams aka chord changes each scale is a FloatArray a stream of scales is a sequential series of these arrays ( // random pentatonics p = Instr("scaleStream.randpentas"); // returns a pattern when valued x = p.value(4,16,0 ...

  8. Buffers Help

    ... cket size. To overcome this Buffer has two methods, 'loadCollection' and 'loadToFloatArray' which allow you to set or get large amounts of data by writing it to disk and then loading to client or server as appropriate. ( // make some white ...

  9. GridLines Quark

    ... ; gridLineSmoothing = ~gridLineSmoothing; gridLinePattern = ~gridLinePattern.as(FloatArray); labelX = ~labelX; // huh ? in the skin ? labelY = ~labelY; }; } draw { Pen.addRect(bounds); Pen.fillColor = Color.white; Pen.fill; if(gridOnX) { th ...

  10. DegreeToKey Help

    ... odal space // mouse x controls discrete pitch in dorian mode var scale; scale = FloatArray [0, 2, 3.2, 5, 7, 9, 10]; // dorian scale play({ var mix; mix = // lead tone SinOsc .ar( ( DegreeToKey .kr( LocalBuf .newFrom(scale), MouseX .kr(0,15 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow