Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (81) Code (37) Doc (19) Help (4) Quark (21) SCDoc ↗ Forum ↗ Google ↗
  1. MultiThreading Quark

    ( Server.supernova; s.reboot; ) s.plotTree; ~num = 1000; ~num = 1; ( SynthDef(\testSine, { var sig = SinOsc.ar(\freq.kr(440) + \fm.ar(0).linlin(-1, 1, \low.kr(-100), \hi.kr(100))); Out.ar(\outFm.ir(0), sig); //fm output Out.ar(\out.ir(0), s ...

  2. 101-particle-system_synth Quark

    ... to each particle. ( s.waitForBoot{ var width= 300, height= 300, w, world, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, fm= 1, beat= 1, amp= 0, pan= 0, gate= 1| var z, e; e= EnvGen.ar(Env.asr(0.01, 1, 0.02), gate, doneAct ...

  3. 122-collision_objects_synth Quark

    ... and freq ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 10, synths; //--synthesis SynthDef(\fm, {|out= 0, t_trig= 0, dur= 0.5, freq= 400, freq2= 606, amount= 10, amp= 1, pan= 0| var e, z; e= EnvGen.kr(Env.perc(dur*0.01, ...

  4. DissonanceCurve Quark

    ... ate a new curve based on arrays of data. This would mostly be used for additive synthesis. freqs - An array of signficant frequencies of a timbre. amps - An array of amplitudes for the given frequencies. highInterval - The largest interval ...

  5. fmBass Quark

    ... at's in here comes from the great Eli Fieldsteel's tutorials on how to write an FM-based SynthDef (https://www.youtube.com/watch?v=UoXMUQIqFk4), so I'll just describe the things I added beyond very a very basic sine wave FM synth. First, th ...

  6. 009-multiple-3d_synth Quark

    //multiple objects in a 3d world //with simple sound - individual fm sounds as they bounce ( s.waitForBoot{ var width= 300, height= 300, depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|ou ...

  7. sos_bell Quark

    SynthDef(\sos_bell, { |freq=440, out=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3 ...

  8. sos_bell Quark

    /* Received from https://github.com/supercollider-quarks/SynthDefPool/blob/master/pool/sos_bell.scd */ SynthDef(\sos_bell, { |freq=440, out=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5 ...

  9. sos_bell Quark

    /* \sos_bell A simple bell sound by Dan Stowell. based on a sound-on-sound 'synth secrets' tutorial. Adapted to sound indefinitely. freq: frequency (Hz) of the bell decay: decay time (s) of the bell. amp: amplitude (0-1) seed: random seed ( ...

  10. sos_bell Quark

    /* \sos_bell A simple bell sound by Dan Stowell. based on a sound-on-sound 'synth secrets' tutorial. Adapted to sound indefinitely. freq: frequency (Hz) of the bell decay: decay time (s) of the bell. amp: amplitude (0-1) seed: random seed ( ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow