Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ; ^tripletDict.findKeyForValue(index); } size { ^genome.size } transcribe { arg string; var codons, size; codons = List.new; size = string.size; (size div: 3).do({ arg i; var triplet, value, j; i = i * 3; j = (i+2).clip(i, size); triplet = ...

  2. clockSync Quark

    ... p, "w" );\ file.write(format( "-------------%-------------\ " , Date .getDate.asString) )\ \;\ \ \ ////////////////////////// GUI /////////////////////////////// \ \ w = SCWindow ( "ensemble" + myName, Rect ( SCWindow .screenBounds.width - ...

  3. VGTagGui Quark

    ... ; allViews = (); updateActions = () .put(TextView.implClass, { |val, view| view.string = val.asCompileString }) .put(PopUpMenu.implClass, { |val, view| view.value = view.items.indexOfEqual(this.stringForPopUp(val)) ? 0 }) .put(EZSlider, { | ...

  4. warnWin Quark

    q.warnWin = { |q, string="?!?", title="?!?"| var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).f ...

  5. SpeechRender / SpeechBuffer by rukano (rukano) Code

    ... it as you wish. Usage: b = SpeechBuffer("I am Super... Collider", 3); // string, voice b.play; play{ PlayBuf.ar(1, b, BufRateScale.kr(b) * 0.5, loop:1)!2 } And you have to clean up your rendering directory with: SpeechBuf ...

  6. warnWin Quark

    NTMI.q.warnWin = { |q, string="?!?", title="?!?"| var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(stri ...

  7. MorseDict Doc

    MorseDict: Filter: Description Class methods keys postKeys strings codes signs wordSigns at fromAscii letters letter Inherited class methods Instance methods Inherited instance methods Classes (extension) | HistoricalCommunication MorseDict ...

  8. SCTextView Help

    ... matted text currently. You only have acces to the text-content of the view as a String . By default, SCTextView will recieve drags containing any Object , and insert them into the text asString . If you drag a file from the finder onto an S ...

  9. FilePathView Quark

    ... ews { |inPath| var dirname, basename; if( inPath.notNil ) { basename = inPath.asString.basename; dirname = inPath.asString.dirname; }; { views[ \basename ].string = basename ? ""; views[ \dirname ].string = dirname ? ""; }.defer; } value_ { ...

  10. MotifCutProc Quark

    ... mpanying Motif class? No, complicates easy creation of arrays //can add convert string to array format function to this class as class method! MotifCutProc : BBCutProc { var motiflist,indexfunc,phraselength; var motifpos,motifindex,currmoti ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow