[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Better Python music playback?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Better Python music playback?
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Mon, 25 May 2009 14:36:36 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 25 May 2009 00:36:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pwuJnAiUc+6sIGcx9BP8sBa5MWt9Do4+tW/ODbRYW0A=; b=kIkIBEhwQCIxa8L9daGFOn5fCj93K/EcBbBIB9yunFeTovjefOys9uTDErr7gIgDY5 Nh13Y/57PoFvigh3vsqWYEh6jvVGez9a+hXltuCQrCR2YR3bhr9z9BVp6idR6QwqRj3n 9zNkJYJV8oRY6DnwnnaO9uZ1Fr4RM+ieaCae0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FA/coke25DC0gMOZ5ldCSln37xS5+tUU+VFqcxis4rrLrd/VfBgUk+DsnY5g28cilL GhqnhNc4lwrWQlLLUif55Y0eXBYzuz3XysKGu8gvDvhYpTNyaVpUuVj1yGkWlYp9uMSp 2fM3Qf5AdUWnNp7wq3Sb1S8dctl+jsWUGLp+8=
- In-reply-to: <B7E03947-DEBB-4CFA-921E-5B52DB1B1759@xxxxxxxxx>
- References: <B7E03947-DEBB-4CFA-921E-5B52DB1B1759@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
hi
As Brian says, maybe loading multiple oggs as Sound objects would work
for you, if you don't need streaming.
if not, maybe this will be good for you (allthough it doesn't
currently support oggs):
http://code.google.com/p/pygalaxy/wiki/SWMixer
It uses pyaudio (a python wrapper for portaudio) and some code to
emulate the pygame.mixer interface (although not exactly).
Also not sure if Nathan is working on it anymore.
Maybe it'd be useful for you.
cu,
On Mon, May 25, 2009 at 9:39 AM, Zack Schilling
<zack.schilling@xxxxxxxxx> wrote:
> I'm looking for something a little more complex than the pygame-wrapped SDL
> music mixer to use with my pygame project. I need something that's
> cross-platform (Mac OS X, Windows, Linux), easy-to-use, and supports the
> following features:
>
> 2+ tracks simultaneously
> Streaming ogg playback
> Seamless looping
> Gapless playback
> Fade in/out
> Precise timing info (like the way the SDL reports playback time in
> milliseconds )
>
> Any suggestions for what I could use? How does Frets on Fire work? Whatever
> they use seems ideal in terms of features.
>
> Thanks,
>
> -Zack
>