Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (14) Doc (370) Help (95) Quark (257) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. ResonatorNetwork Quark

    ... d.".format(pathname)).throw }; modalData = pathname.parseYAMLFile.dataAsStringToFloat; }) } } + SequenceableCollection { indicesOfNotEqual { |item| var indices=Array.new; this.do { arg val, i; if (item != val) { indices = indices.add(i) } } ...

  2. DXMix Quark

    ... rrent implementation is bound to counting with Dseries and – inherent to 32 bit floats – the integer accuracy limit of 2 ** 24 - 1 = 16777215. This can be an issue with setups that are using extreme short durations for hours. CREDITS: Thank ...

  3. SimpleMIDIFile Quark

    ... int8 : array of 2 int8, as stored in the midifile // int16 : a single int16 // float : a floating point value between -1.0 and 1.0 var conversionDict; conversionDict = ( // to: from: int16: ( int8: { |item| item[0..3] ++ [ ( (item[5] * 128 ...

  4. SCLOrkClock Quark

    ... ueue.new; clockSyncOSCFunc = OSCFunc.new({ | msg, time, addr | var serverTime = Float.from64Bits(msg[1], msg[2]); var currentTime = Main.elapsedTime; var diff = currentTime - serverTime; var roundTripTime = currentTime - requestLastSent; va ...

  5. Wavesets Quark

    ... aw': Int16Array, 'alaw': Int16Array, 'int24': Int32Array, 'int32': Int32Array, 'float': Signal ); } *at { |key| ^all[key] } analyse { | finishFunc | // var chunkSize = 400, pause = 0.01; // not used yet xings = Array.new; amps = Array.new; ...

  6. Specs Quark

    ... ue| switch( value.class, Boolean, { ^value }, Integer, { ^value.booleanValue }, Float, { ^value > 0.5 }, { ^true } ) } unmap { |value| ^value.binaryValue; } constrain { |value| if( value.size == 0 ) { ^value.booleanValue; } { ^value.mean.bo ...

  7. MxUnit Quark

    ... index, spec.asSpec, adapter) } // one-time adhoc get/set of a value, usually a float canGet { ^adapter.canGet } canSet { ^adapter.canSet } set { arg v; adapter.set(v) } get { ^adapter.get } storeArgs { // adapter: AbsMxAdapter subclass // ...

  8. Scala Quark

    ... ng num = num.ratiomidi; tuning = tuning ++ num; }); }, {// the cents case //"as float: ".post; i.asFloat.postln; num = clean_line.asFloat; num = num / 100; tuning = tuning ++ num; // also stuff this into ratios ratios = ratios ++ num.midira ...

  9. PartConvBuffer Quark

    ... arePartConv( buf, fftSize ); srv.sync; buf.free; irbuf.write( outPath, "aiff", "float" ); srv.sync; irbuf.free; i=i+1; if( server.size == i ) { if( verbose ) { "created partconv file from channel %\n%\n".postf( channel, outPath ) }; action. ...

  10. SynthiX Quark

    ... row headers show the output value if possible ie. for things that have a simple float value like a CC or spline */ SynthiX { var <>outlets, <>inlets; var uv, pen; var <>labelSize = 100, <>on, <>off, <>cant, <>font, bigFont; var black, blue, ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow