Michal Wallace a écrit :
The file has an internal pointer that moves toward the end of the file as you read. So the second time around, you're basically reading an empty file.
You could try using f.seek(0) ...
But why would you do this at all? Why not just use the same sound object that you already have in memory? :)
Now that works, thanks! Mickael