Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (312) Code (42) Doc (115) Help (35) Quark (120) SCDoc ↗ Forum ↗ Google ↗
  1. switchBetween2Controllers Quark

    ... control ( SynthDef(\blippy, { var sound = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; sound = RLPF.ar(sound, 5000); Out.ar(0, Pan2.ar(sound, \pan.kr(0).lag(0.1) ) ) }).add ) //start it x = Synth(\ ...

  2. steelDrum Quark

    ... envb, envc, snda, sndb, sndc, snd; //Arrays for the bank of resonators, mostly harmonics near 5ths and 9ths, and random amplitudes: resFreqArray = [2, 2.98, 4.75, 6.21, 9, 9.15, 11.87]; resAmpArray = [0.5, 0.38, 0.21, 0.15, 0.17, 0.13, 0.0 ...

  3. ChuckOverview Quark

    Chucklib overview Chucklib is a framework designed for realtime algorithmic sequencing. It takes its name from the ChucK programming language created by Perry Cook and Ge Wang at Princeton, whose chuck operator I have brazenly stolen (thoug ...

  4. ChuckOverview Quark

    Chucklib overview Chucklib is a framework designed for realtime algorithmic sequencing. It takes its name from the ChucK programming language created by Perry Cook and Ge Wang at Princeton, whose chuck operator I have brazenly stolen (thoug ...

  5. SatieLebedev50 Quark

    SatieLebedev50 { classvar <harmonics; classvar <gridRadians, <gridDegrees; *initClass { // make sure these classes are initialized Class.initClassTree(HOASphericalHarmonics); Class.initClassTree(HOAEncLebedev50); harmonics = IdentityDiction ...

  6. TuningRatios Quark

    TuningRatios : EqualTemperament TuningRatios allows you to specify a ratio above the base for each note in an octave. Useful for simplified just intonation schemes. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: ...

  7. TuningRatios Quark

    TuningRatios : EqualTemperament TuningRatios allows you to specify a ratio above the base for each note in an octave. Useful for simplified just intonation schemes. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: ...

  8. PFSinOsc Quark

    ... Val.isNil or:{numharmVal.isNil or:{freqVal.isNil}}}, { ^inval; }); arr= freqVal.harmonics(numharmVal.asInteger.max(1)+1).drop(1); inval= (arr.sum{|a| sin(theta/a*2pi+0.5pi)/arr.size}*mulVal+addVal).yield; theta= theta+1; }; ^inval; } } PSaw ...

  9. lead-vc Quark

    ... because you actually get sidebands around the ratio: // if ratio == 6, you hear harmonics 5 and 7. // To make 7 the top pitch, subtract one. // var ratio = Lag.kr((freq / fund).round(1) - 1, freqlag), var ratio = (Lag.kr(freq, freqlag) / fu ...

  10. TuningOffset Quark

    TuningOffset : EqualTemperament TuningOffset allows you to specify deviations from equal temperament in terms of fractions of note indices. *new(stepsPerOctave, calibratefreq, calibratenote, tunings) stepsPerOctave: How many notes per octav ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow