logo       

Re: noise added on OGG playback: msg#00214

python.pygame

Subject: Re: noise added on OGG playback

> Standard WAV files should be supported, but only uncompressed raw files.
> Like AVI, there are a ton of codecs that can be used inside a WAV.

I am getting the following result: the file plays from zero, but
returns the following error when asked to play from 4.3 (seconds):

"pygame.error: Position not implemented for music type".
This happens if I (a) just use the original 16/44.1 WAV that I
rendered from my sequencer, (b) convert to WAV (signed 16-bit PCM) in
Audacity, or (c) convert to AIFF (signed 16-bit PCM). The other
codecs given as options will result in files that pygame cannot open.

So I also found out that an OGG rendered from a 24-bit WAV file
behaves the exact same way as my OGG rendered from the 16-bit file.

I do think that there is a bug in SDL_mixer, or maybe the way Pygame
combines SDL's Mix_SetMusicPosition and Mix_PlayMusic (??).

I'll look into SDL stuff--it would be great if I could get into the
SDL_mixer internals, because I'm motivated with some ideas even though
I'm pretty new to programming and DSP.

Thanks for the responses.
-david.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise