Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. VerbosityGui Quark

    ... , numberWidth: 30, unitWidth: 15, gap: 4@4, margin: 4@4 ) .font_(font); edits = Array.fill(numItems, { VerbosityGui.new( numItems: 0, parent: zone, bounds: Rect(0,0, zone.bounds.width - 16, skin.buttonHeight), makeSkip: false ) }); parent.v ...

  2. VoicerMIDISocket Quark

    ... it { arg lo, hi, noteOnPat, midi2Freq; lowkey = lo ? 0; hikey = hi ? 127; ccs = Array.new; this.noteOnArgsPat_(noteOnPat); noteOnArgsEvent = (); // baseline is an empty event midiToFreq = midi2Freq ?? { defaultMidiToFreq }; } midiToFreq_ { ...

  3. VoicerMIDISocket Quark

    ... it { arg lo, hi, noteOnPat, midi2Freq; lowkey = lo ? 0; hikey = hi ? 127; ccs = Array.new; this.noteOnArgsPat_(noteOnPat); noteOnArgsEvent = (); // baseline is an empty event midiToFreq = midi2Freq ?? { defaultMidiToFreq }; } midiToFreq_ { ...

  4. chordChanges Quark

    /* chord changes would be an array of arrays */ var scales, pentatonics; /*// setting \scale Spec on demand var checkSpec; checkSpec = Spec.specs.at(\scale); if(checkSpec.isNil, { Spec.specs.put(\scale , ArraySpec.new(StaticSpec(-100, 100, ...

  5. Qwerty Quark

    ... t.new; keys = ["1234567890", "QWERTYUIOP", "ASDFGHJKL�", "ZXCVBNM,.-"]; notes = Array.fill(4,{|i| Array.series(10,lowest+(i*v),h)}).reverse; buttons = Dictionary.new; synths = Dictionary.new; tasks = Dictionary.new; win.view.keyDownAction_{ ...

  6. heatMap Quark

    ... size, w, numchans, heatmaps; sf = SoundFile.new; sf.openRead(path); farr = FloatArray.newClear(sf.numFrames * sf.numChannels); sf.readData(farr); sf.close; numchans = sf.numChannels; numrows = (numchans / rowlen).ceil.asInteger; netsize = s ...

  7. frameDrum Quark

    ... ery close to the sounds of some frame drums. The massive list of numbers in freqArray just comes from MATLAB's solutions to bessel functions, which describe how fast a circle wobbles when you hit it. It's harder to model the amplitudes of a ...

  8. Main-monitorOSC Quark

    ... 2011 // quick way of monitoring all incoming osc messages // exclude can be an array of Symbols with extra messages to exclude (i.e. not post) MonitorOSC { classvar <>exclude; *value { |time = 0, addr, port, msg = ([])| if( port.size != 0 ...

  9. heavy-score Quark

    ... = { var freqs = { |i| (0..i).nthPrime.scramble.keep(8) }.dup(n).flat.as(Set).as(Array); var amps = { 0.4.rand }.dup(freqs.size); var dts = { 2.4.rand }.dup(freqs.size); freqs = freqs.normalize(200, 10000) * rrand(0.5, 1.5); Klank.ar(`[freqs ...

  10. OFX_ChainPreset Quark

    ... ey, List[], ".ofxcpreset"); } slotsToStore { var slotsToStore = chain.slotNames.array.copy; slotsToStore.removeAll(exceptedSlots); ^slotsToStore } settingNames { ^settings.names } settingIndex { |setName| ^settings.indexOf(setName) } getCur ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow