{
   "labels" : [
      "arpeggio",
      "pseq"
   ],
   "is_private" : null,
   "id" : "1-53V",
   "code" : "(\r\ns.boot;\r\n)\r\n\r\n(\r\nSynthDef(\\smooth, { |freq = 440, sustain = 1, amp = 0.5|\r\n    var sig;\r\n    sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.linen(0.05, sustain, 0.1), doneAction: 2);\r\n    Out.ar(0, sig ! 2)\r\n}).add;\r\n);\r\n\r\n(\r\n\r\n(\r\np = Pbind(\r\n        // the name of the SynthDef to use for each note\r\n    \\instrument, \\smooth,\r\n        // MIDI note numbers -- converted automatically to Hz\r\n    \\midinote, Pseq([36 + 0,  36 + 7, 36 + 12], inf),\r\n        // rhythmic values\r\n    \\dur, Pseq([0.5, 0.5, 0.5], inf)\r\n).play;\r\n);\r\n\r\n\r\n(\r\np = Pbind(\r\n        // the name of the SynthDef to use for each note\r\n    \\instrument, \\smooth,\r\n        // MIDI note numbers -- converted automatically to Hz\r\n    \\midinote, Pseq([60+0,  60+5,  60+7,  60+8,  60+7, 60+5], inf),\r\n        // rhythmic values\r\n    \\dur, Pseq([0.5, 0.5, 0.5, 0.5, 0.5, 0.5], inf)\r\n).play;\r\n)\r\n)",
   "author" : "hems.inlet",
   "name" : "simple smooth arp",
   "description" : "plays an arpeggio on the \"left hand\" and an arpeggio on the \"right hand\"",
   "ancestor_list" : []
}
