gbishop / outfox

Automatically exported from code.google.com/p/outfox
Other
1 stars 0 forks source link

Streaming large sound files #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if outfox audio could stream large sound files from the
Web. Barring that, it should at least stream them from the local cache.
When I try to play back a large MP3 file on Linux, there is a noticeable
delay before the audio starts. I'm guessing the entire MP3 is getting
decoded into memory before playback begins.

Original issue reported on code.google.com by pare...@gmail.com on 10 Jan 2009 at 4:54

GoogleCodeExporter commented 9 years ago
Not sure how to solve this one. pygame for win/lin has a shortcoming where the 
streaming music API only allows filenames, not python stream objects, which is 
what pymedia gives us when decoding an mp3. There's no obvious way to hand 
chunks of the decoded mp3 from pymedia to pygame.

Might be time to move beyond pygame for audio.

Original comment by c...@unc.edu on 11 Jan 2009 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by c...@unc.edu on 24 Jan 2009 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by c...@unc.edu on 9 Feb 2009 at 12:26

GoogleCodeExporter commented 9 years ago
Added stream method using FMOD streams in rev 141.

Original comment by c...@unc.edu on 16 Feb 2009 at 2:56