pygame audio playback speed

前端 未结 5 655
走了就别回头了
走了就别回头了 2020-12-03 18:19

quick question.

I\'m running pygame under linux just to play some audio files. I\'ve got some .wav files and I\'m having problems playing them back at the right spe

5条回答
  •  时光取名叫无心
    2020-12-03 18:57

    I figured it out... There is a wave module http://docs.python.org/library/wave.html and it can read the sample rate for wav files.

提交回复
热议问题