Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s: ( var h, k; h = File("~/test.dat".standardizePath, "wb"); h.inspect; h.write(FloatArray[1.1, 2.2, 3.3, pi, 3.sqrt]); h.close; k = File("~/test.dat".standardizePath, "rb"); (k.length div: 4).do({ k.getFloat.postln }); k.close; ) ( var f, ...

  2. XiiScale Quark

    ... scDegrees ? degrees).reverse.drop(1) } adRatios { ^this.asADArray.midiratio } asFloatArray { var array, fa; array = this.asArray; ^FloatArray.new(array.size).addAll(array); } size { ^degrees.size } semitones { |desc = false| desc.if({ ^desc ...

  3. Non-Realtime-Synthesis Doc

    ... penRead(resultpath); // get the size: one frame at the start sf.readData(size = FloatArray.newClear(1)); size = size[0]; // now the rest of the data sf.readData(data = FloatArray.newClear(size)); sf.close; File.delete(oscpath); File.delete( ...

  4. Literals Doc

    ... nt. In SuperCollider, floating-point numbers are always 64-bit, except within a FloatArray . Examples of floats: 0.39 98.6 1.0 -0.5 ⧉ ✔ Exponential notation is also supported: 1.2e4 1E-4 ⧉ ✔ The keyword pi can also be used by itself, or app ...

  5. WFSPath2 Quark

    ... ( this.class, sf.sampleFormat, path, this ) .warn; }; // read it anyway array = FloatArray.newClear( sf.numFrames * 9 ); sf.readData( array ); sf.close; this.fromBufferArray( array, path.basename.removeExtension ); this.filePath = path; sav ...

  6. Buffer Doc

    ... setMsg setn setnMsg loadCollection sendCollection get getMsg getn getnMsg loadToFloatArray getToFloatArray normalize normalizeMsg fill fillMsg copyData copyMsg close closeMsg plot play query updateInfo Buffer Fill Commands gen genMsg sine1 ...

  7. AnaUtils Quark

    ... gNPoles; frameSize = argFrameSize; hop = argHop; channel = argChannel; tmpBuf = FloatArray.newClear(frameSize * sf.numChannels); hopSamps = frameSize * hop; minFreq = argMinFreq; maxFreq = argMaxFreq; fftSize = frameSize.nextPowerOfTwo; rea ...

  8. SCPen Help

    ... w.refresh; ) *lineDash_(pattern) set the line dash pattern. pattern should be a FloatArray of values that specify the lengths of the painted segments and not painted segments. ( var w; w = Window .new( "Radial Gradient + line dash + cubic b ...

  9. Function Doc

    ... tion Handling try protect Scheduling awake Audio play scope plot asBuffer loadToFloatArray getToFloatArray Conversion asSynthDef asDefName asRoutine r p Bela belaScope Inherited instance methods Undocumented instance methods archiveAsCompil ...

  10. MultiSliderView Doc

    ... 0, size, 50)); b.readOnly_(true); a.view.decorator.nextLine; d = Array.new; c = FloatArray.newClear(65493); r = Slider(a, Rect(0, 0, size, 12)); r.action = { |ex| b.gap = (ex.value * 4) + 1 }; file = SoundFile.new; file.openRead(ExampleFile ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow