Advertisement
Guest User

Untitled

a guest
Aug 11th, 2015
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // facenet
  2.  
  3. (
  4. TempoClock.tempo = 60/60;
  5.  
  6. ~master = Pbind(
  7.     \type, \midi,
  8.     \midiout, m,
  9.     \scale, Scale.minor,
  10.     \root, -3,
  11.     \octave, Pseq([5,6], inf),
  12.     \amp, 0.5,
  13.     \legato, 1
  14. );
  15.  
  16. ~notes1 = Pstep(Pseq([8b,8,9,9s]), 7*5/2, inf);
  17. ~notes2 = 4;
  18. ~notes3 = Pstep(Pseq([2,2s,3], offset: 2), 7*5/2, inf);
  19. ~notes4 = 0;
  20.  
  21. ~rhythm1 = Pseq([5]*8.reciprocal*4, 10*7+1);
  22. ~rhythm2 = Pseq([7]*8.reciprocal*4, 10*5+1);
  23. )
  24.  
  25. (
  26. var voice1, voice2, voice3, voice4;
  27.  
  28. voice1 = Pbindf(
  29.     ~master,
  30.     \degree, ~notes1,
  31.     \dur, ~rhythm1
  32. );
  33.  
  34. voice2 = Pbindf(
  35.     ~master,
  36.     \degree, ~notes2,
  37.     \dur, ~rhythm1
  38. );
  39.  
  40. voice3 = Pbindf(
  41.     ~master,
  42.     \degree, ~notes3,
  43.     \dur, ~rhythm2
  44. );
  45.  
  46. voice4 = Pbindf(
  47.     ~master,
  48.     \degree, ~notes4,
  49.     \dur, ~rhythm2
  50. );
  51.  
  52. Ppar([voice1, voice2, voice3, voice4]).play
  53. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement