Permalink
Browse files

First pass flesh out sampler

  • Loading branch information...
hecanjog committed Oct 31, 2018
1 parent 371791a commit dbd31e6f712af2945c641a2ce9b6faedb2cd7b27

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -166,7 +166,7 @@ def find(pattern, channels=2, samplerate=44100):
that will `yield` each file as a `SoundBuffer`
"""
for filename in glob.iglob(pattern, recursive=True):
yield SoundBuffer(filename, channels=channels, samplerate=samplerate)
yield SoundBuffer(channels=channels, samplerate=samplerate, filename=filename)
def pool(callback, reps=10, params=None, processes=4):
out = []
Oops, something went wrong.

0 comments on commit dbd31e6

Please sign in to comment.