[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Crackle and static with pygame.mixer.music
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Crackle and static with pygame.mixer.music
- From: "Tyler Distad" <tyler.distad@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 02:12:17 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 29 Jul 2008 02:12:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cBduANgil3LuJS4fOgMzpy9wKYQjvx9gSPU3yYrbNTY=; b=tont2irYAIzwLIsyZnpdlbSOp7Z+PMmwhAzq9EXK5q1eWX7CC9/1BEI+51iBdRzPiC NZR2bjEly8KzhIv4kZc0A0jOXgUhAn9s8/zsvcj0kbAZtOCjySAuxdAfRXvjNI7k69FZ A0GzlZuB3XeTs2giZi2DaXwza6YUGZb4VsjTg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vfh/QQTkf6vVztcQy/7TnJ12H594y1ATnjNSvfccVJ2LR70z22irf2FgkwflQ8GYql m42PNeoDGqtXK/eG4C42SlyzZsDkBPUl1sSiNI6LJeQraKFw/jY0W2gN+kOYBiBJWcg8 Ez/LG5f6hn0Q/9ClrZr4A+KSEQvjDX/5c/RSM=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I am attempting to play .ogg files with pygame, but my playback is
static-filled. Sample script follows:
-------------------
import pygame.mixer
pygame.mixer.init()
pygame.mixer.music.load('sample.ogg')
pygame.mixer.music.play()
import time
while 1:
time.sleep(1)
-------------------
I have tested this with the Ubuntu 8.04 distribution of pygame 1.7.1,
version 1.8.0 from the home page, and the latest 1.8.1 release on the
CVS. All versions produce identical results.
All tested .ogg files work perfectly in other media players.