SHARE
TWEET

EarSketch Lab 3

Scobard21 Apr 24th, 2019 (edited) 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #       Code type: Python code
  2. #       Script name: EARSKETCH_LAB_3
  3. #       Author: David Scobar
  4. #       Description: A song made with a 1-5 randomizer
  5. #Earksetch LAB 3
  6. from earsketch import *
  7.  
  8. init()
  9. setTempo(120)
  10.  
  11. Track_1 = HIPHOP_STOMP_BEAT_001
  12. Track_2 = Y07_BASS
  13. Track_3 = HOUSE_ACOUSTIC_PIANO_004
  14. Track_4 = YG_NEW_FUNK_CLAV_1
  15. beat_1 = "0---0-0-00000+++"
  16. beat_2 = "---0-0-0000++0"
  17.  
  18. makeBeat(Track_1, 3, 1, beat_1)
  19. makeBeat(Track_2, 7, 1, beat_2)
  20.  
  21. for measure in range(1,17):
  22.   fitMedia(Track_1, 1, measure, measure+0.5)
  23.  
  24. for measure in range(1,17):  
  25.   fitMedia(Track_2, 2, measure, measure+2)
  26.  
  27. fitMedia(Track_3, 2, 1, 17)
  28. fitMedia(Track_4, 5, 1, 17)
  29.  
  30. finish()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top