Loading...
DIGITAL AUDIO WORKSTATION
CODE EDITOR
1
EarSketch
Advanced
Variables
Logic
Operators
Control Flow
from earsketch import *
init()
setTempo(100)
# Add Sounds
fitMedia(YG_NEW_FUNK_DRUMS_1, 1, 1, 5)
fitMedia(YG_NEW_FUNK_SYNTH_BASS_4, 2, 1, 9)
fitMedia(YG_NEW_FUNK_TAMBOURINE_2, 4, 1, 9)
fitMedia(YG_FUNK_CONGAS_3, 5, 1, 5)
fitMedia(YG_FUNK_HIHAT_2, 6, 5, 9)
fitMedia(YG_NEW_FUNK_LEAD_1, 7, 5, 9)
fitMedia(LOLOLOLO_AWSOME, 8, 5, 9)
# Effects
setEffect(2, COMPRESSOR, COMPRESSOR_THRESHOLD, -4.0)
setEffect(2, VOLUME,GAIN, -20, 1, 6, 5)
setEffect(7, DELAY, DELAY_TIME, 500.0)
setEffect(8, VOLUME,GAIN, 12)
setEffect(8, PHASER, PHASER_FEEDBACK, -1.0)
setEffect(8, REVERB, REVERB_TIME, 1000.0)
# Fills
fillA = "0---0-0-00--0000"
fillB = "0--0--0--0--0-0-"
makeBeat(OS_SNARE03, 3, 4, fillA)
makeBeat(CIARA_MELANIN_DRUMBEAT_1, 3, 8, fillB)
finish()
IMPORT TO EDIT
CURRICULUM
Loading curriculum...