Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. writeAsPlist Help

    ... eNumber -> NSNumber. SequenceableCollection -> NSArray with each item converted String -> NSString Symbol -> NSString Char -> NSString Nil -> NSNull Boolean ->NSNumber (numberWithBool:) equivalent to a CFBoolean Dictionary ->NSDictionary (e ...

  2. ServerWindowCP Quark

    ... Slider = Slider(window, Rect(width: 190, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec = ControlSpec(0.ampdb, 2.ampdb, \db, units: " dB"); volSlider.value = spec.unmap(0); volSlider.canFocus = false; volSlider.action = { a ...

  3. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... t.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asString ++ "dB"), nil, StaticText().string_((1.0*maxReduc).asString ++ "dB") )); layout.add(nil) ...

  4. OSCDataSpace Doc

    ... c OSC types, so integers, floats and symbols. (SC's OSC implementation converts Strings to Symbols.) It functions similarly to a IdentityDictionary in its basic operation (i.e. you can use at and put). Class Methods . new Create a new OSCDa ...

  5. ActionMenu Quark

    ... lue(item.key,modifier,buttonNum); // do function at key }; (item.value.isKindOf(String) || item.value.isKindOf(Symbol)).if{ (item.value!="-").if{// do defaultFunction at key with arg l.value defaultAction.notNil.if{ defaultAction.value(item ...

  6. XiiSounddrops Quark

    ... params[1] = slValues; slIndex = xb.index; volMsl.index = xb.index; freqTextView.string_(soundFuncArray[xb.index].freq.round(0.01).asString); soundFuncPop.value_( soundFuncArray[slIndex].playFunc ); bufferPop.value_( soundFuncArray[slIndex]. ...

  7. CVWidget2D Quark

    ... erClass, slider2DClass; var tmpWin; background ?? { background = Color.white }; stringColor ?? { stringColor = Color.black }; synchKeys ?? { synchKeys = [\default] }; setupArgs !? { (setupArgs.class !== Event).if{ Error( "a setup for a CVWi ...

  8. extString Quark

    + String { cleanAlphaNum { var cleanName = this.collect { |char| if (char.isAlphaNum, char, $_) }; ^cleanName; } }

  9. RedDTMF Quark

    ... , $# : #[941, 1477], $D : #[941, 1633] ) } *new {|char| ^dict[char] ? [0, 0] } *string {|str| ^Array.fill(str.size, {|i| this.new(str[i])}) } *ar {|char, mul= 1| ^Mix(FSinOsc.ar(this.new(char), 0, mul*0.5)) } *kr {|char, mul= 1| ^Mix(FSinOs ...

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

    ... ~env_editor.new(self).make_window; }, label: \bla ); ~env_to_string = { arg env; var prec = 5; "Env(%, %, %)".format( env.levels.collect({ arg x; x.asFloat.asStringPrec(prec)}), env.times.collect({arg x; x.a ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow