gatech-csl / jes

The Jython Environment for Students allows students to write Jython programs that can manipulate pictures, sounds, and videos.
http://mediacomputation.org/
59 stars 38 forks source link

Problems with "getSamples" on Mac OS X El Capitan. #97

Open leoizzi opened 8 years ago

leoizzi commented 8 years ago

Hi, "getSamples" has a bug on OS X system. if I use it in a for statement the loop becomes infinite. I've tried the same code on a Windows system and it works well. Here there is the code: `

def musicToList(track):

l = []
for s in getSamples(track):
    sValue = getSampleValue(s)
    l = l + [sValue]
return 0