Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. Scgraph sound and vision part 2 by codepool (codepool) Code

    ... kr(modFreq * 0.7); ctrlSines = Array.newClear(6); ctrlSines.do { |item, index| ctrlSines[index] = SinOsc.kr(modFreq * 1.2 * (1 + (Rand(0, 0.5) * freqDeviation) ), 0, amp * 5); }; src = GPoints.gr( c ...

  2. Mountains by simon (Dindoléon) Code

    ... p: 'minmax' ).asInt; selected_view = selection_y; views.do( { | view, index | if( index == selected_view, { view.visible_( true ) }, { view.visible_( false ) } ); } ); button_rack_view.refresh; } ); view ...

  3. Sampling Demo with QuNeo - Patch 1 by bruno (Bruno Ruviaro) Code

    ... 27); Buffer.freeAll; Routine.new{ // First read buffers (starting at index 36 of array, to match midi note numbers and make it easy to remember). (~folderPath ++ "/*.wav").pathMatch.do({ arg i, c; bufferArray[c+36] = Buffer. ...

  4. f0 sound detector by redfrik (redFrik) Code

    ... ime); var on= 1-off; //invert var cnt= PulseCount.ar(on)%z+1; //buffer index counter var changed= HPZ1.ar(on).abs>0; //trigger SendTrig.ar(changed, 0, on*cnt); //0= rec off, >0 rec start index }).add; SynthDef(\f0SoundRec ...

  5. Galton Board Simulator by simon (Dindoléon) Code

    ... var displayRatio = 0.1; var playedNote; availableNotes.size.do({ |note, index| var view = UserView(); var counterView = UserView().animate_(true).frameRate_(24); var numberView = UserView().animate_(true); var barSize = 0; ...

  6. Enveloppe resizing function. by simon (Dindoléon) Code

    ... loppe length. ( ~resize_enveloppe = { | levels, times | var reverted_levels, index; index = 0; reverted_levels = levels.reverse; while( { reverted_levels[index] == 0 && reverted_levels[index+1] == 0 }, { times[ times.size - 1 - ind ...

  7. Frequency Modulation GUI Demo 2 by bruno (Bruno Ruviaro) Code

    Another interface to experiment with frequency modulation, now using Modulation Index. // ************************************ // Frequency Modulation (GUI) // Patch 2 - FM with Modulation Index // Bruno Ruviaro, 2013-08-03 // ********* ...

  8. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condition.new; inf.do{ var a= Synth(\sample, [\buf, b[index], \rate, 1]).register; a.onFree{ ("playing index:"+index).postln; ...

  9. MultiButtonView by simon (Dindoléon) Code

    ... argin * ( states.size - 1 ) ) / states.size; } ); states.do( { | state, index | var string_rect; var string_color; if( current_state == index, { Pen.fillColor_( state[ 2 ] ) }, { Pen.fillColor_( state[ ...

  10. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... lue_(self.controller.get_norm_xy); }, update_knobs: { arg self; var index = self.env_view.index; var levels = self.controller.get_env.levels; var times = self.controller.get_env.times; var level_spec = self.controlle ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow