Submit
Browse
Anonymous
Login
RSS
SuperCollider Code
Fork Code: Midterm Question 3
name
code content
// This note is made up of 5 freqs, all integer multiples of 100 Hz. { Mix.ar(SinOsc.ar(freq: 100 * [1, 2, 3, 4, 5], mul: 0.1)) }.play; // This note is made up of 5 freqs that are NOT integer multiples of 100 Hz. { Mix.ar(SinOsc.ar(freq: 100 * [1.01, 1.9, 3, 4.2, 7.4], mul: 0.1)) }.play; ( SynthDef("bell", {arg freq, amp; var env, snd, partials, relativeAmps; partials = [0.5, 1, 1.19, 1.56, 2, 2.51, 2.66, 3.01, 4.1]; relativeAmps = [0.25, 1, 0.8, 0.5, 0.9, 0.4, 0.3, 0.6, 0.1]; env = Env.perc(attackTime: 0.01, releaseTime: 5, amp: relativeAmps ).kr(2); snd = SinOsc.ar( freq: 440 , mul: 1 ); snd = Splay.ar(snd); Out.ar(0, snd * 0.1 ! 2); }).add; ) ( Pbind( \instrument, "bell", \degree, Pseq([1,4,7,9], inf), \dur, 0.132, ).play )
code description
use markdown for formating
category tags
comma separated, i.g. "wild, siren" (do not enter default SC class names, please)
ancestor(s)
comma separated identificators, i.g. "1-C,1-1,1-4M,1-x"
Private?
the code will be accessible by direct url and not visible in public activity
signup to submit public code without captcha
comment of change