You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just testing playback with .ogg files and its playback would commonly become corrupted halfway through playback.
I isolated some code to test this out. All of the .ogg files in the directory are playable by other media players. So, to test I would just fill a directory with a few .oggs.
import os
from pyo import *
src = 'sounds/'
file_list = sorted(os.listdir(src))
fl = [snd for snd in file_list if '.ogg' in snd]
s = Server()
s.deactivateMidi()
s.boot()
player = SfPlayer('sounds/empty.ogg', speed=1, mul=.5).out()
s.start()
try:
for i in range(len(fl)):
player.stop()
player.setPath(src+fl[i])
player.out()
dur = sndinfo(src+fl[i])[1]
time.sleep(dur)
s.stop()
The text was updated successfully, but these errors were encountered:
I was just testing playback with .ogg files and its playback would commonly become corrupted halfway through playback.
I isolated some code to test this out. All of the .ogg files in the directory are playable by other media players. So, to test I would just fill a directory with a few .oggs.
The text was updated successfully, but these errors were encountered: