Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. KeyBus Quark

    KeyBus { var <keys, <values, <bus; var indexDict; // for KeyBus with (freq: [200, 300, 400], amp: [3,2,1]); var <isPoly, <isMono; *new { |keys, values, server| ^super.newCopyArgs(keys).init(values ? [], server); } argNames { ^keys } // temp ...

  2. add Quark

    ... ec.maxval] ); } ) .mappedArgs_([ \input, \add ]) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even }) { args[index] = \input; }; args; }) .setSpec( \factor, [-1,1,\lin,0,0].asSpec ) .setS ...

  3. add Quark

    ... ec.maxval] ); } ) .mappedArgs_([ \input, \add ]) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even }) { args[index] = \input; }; args; }) .setSpec( \factor, [-1,1,\lin,0,0].asSpec ) .setS ...

  4. MxUnit Quark

    ... this.handlersForClass(class.superclass) }); match }) }; ^match } getInlet { arg index; if(index.isNil, { ^inlets.first }); if(index.isInteger, { ^inlets[index] }, { inlets.do { arg in; if(in.name == index, { ^in }) } }); Error("Inlet not fo ...

  5. p_select Quark

    ... Creates an UMap that can select a value from an Array of values in a UPattern. index: the index (0-n-1) vals: the Array of values n: the total number of values The 'vals' arg ranges are mapped to that of the parameter to which the UMap is ...

  6. 4a_Connecting_interfaces Quark

    ... ons to play the four sound slots MKtl('testa').elAt(\bt, \R, (0..3)).do { |but, index| but.action = { NTMI.slots.playAt(index) }; }; // first four S buttons to stop the sounds MKtl('testa').elAt(\bt, \S, (0..3)).do { |but, index| but.action ...

  7. UScoreList Quark

    ... do { |func| scores.do( func ); } last { ^scores.last } first { ^scores.first } indexOf { |obj| var index; index = scores.indexOf( obj ); if( index.isNil ) { scores.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) { ...

  8. UScoreList Quark

    ... do { |func| scores.do( func ); } last { ^scores.last } first { ^scores.first } indexOf { |obj| var index; index = scores.indexOf( obj ); if( index.isNil ) { scores.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) { ...

  9. ItemSpec Quark

    ... floor(warp.map(value.clip(0.0, 1.0)) * items.size) ); } unmap { arg value; var index = items.indexOf(value); if (index.isNil) { ^nil } { ^(index * (1.0 / items.size)); } } copy { ^this.class.newFrom(this) } }*/ ItemSpec { var <items, <warp ...

  10. SoundFileView Doc

    ... Selection ( selection ) Zooms to a specific selection. Arguments: selection The index of the selection; an Integer between 0 an 63. . xZoom . xZoom = seconds The number of seconds of audio to display in the view. E.g., to zoom out by a fact ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow