def setup(): size(512, 200, P2D) # always start Minim before you do anything with it global minim minim = Minim(this) global kick # load BD.mp3 from the data folder with a 1024 sample buffer kick = minim.loadSample("BD.mp3")
def setup(): size(512, 200) # always start Minim before you do anything with it global minim minim = Minim(this) global kick # load BD.mp3 from the data folder with a 1024 sample buffer kick = minim.loadSample("BD.mp3")