Skip to content

Instantly share code, notes, and snippets.

@klahrich
Last active April 9, 2020 22:35
Show Gist options
  • Save klahrich/ba61baa635c0ec6d272f96aae7389c3f to your computer and use it in GitHub Desktop.
Save klahrich/ba61baa635c0ec6d272f96aae7389c3f to your computer and use it in GitHub Desktop.
from pyo import *
s = Server().boot()
# downloaded from sampleswap
first = 'boomy-dirty-kick.wav'
second = 'CP_set1.wav'
third = 'bunchakiks17.wav'
tab1 = SndTable(first)
tab2 = SndTable(second)
tab3 = SndTable(third)
a = Looper(table=tab1, dur=0.75, startfromloop=True).out()
b = Looper(table=tab2, dur=0.75, startfromloop=True, mul=0.25).out(delay=0.5)
c = Looper(table=tab3, dur=0.75, startfromloop=True, mul=0.15, pitch=4).out(delay=2)
s.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment