Re: Simple background sound effect playback

2014-12-21 Thread Jacob Kruger
ge - From: "Akira Li" <4kir4...@gmail.com> To: Sent: Monday, December 22, 2014 12:11 AM Subject: Re: Simple background sound effect playback "Jacob Kruger" writes: Would prefer to use something free, that could work somewhat cross-platform, but, my primary targ

Re: Simple background sound effect playback

2014-12-21 Thread Akira Li
"Jacob Kruger" writes: > Would prefer to use something free, that could work somewhat > cross-platform, but, my primary target is for windows OS, and would > primarily just want to be able to easily trigger playback of either > .wav or .mp3 background sound effects, but, yes, would also be nice t

RE: Simple background sound effect playback

2014-12-20 Thread Jacob Kruger
Ok, thanks - the following seemed to work perfectly: #start code import pygame, time pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=4096) song = pygame.mixer.Sound("bird.ogg") channel = pygame.mixer.Sound.play(song) channel.set_volume(0, 1) time.sleep(1) channel.set_volume(1, 0) c

Re: Simple background sound effect playback

2014-12-20 Thread catalinf...@gmail.com
See this : >>> pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=4096) >>> song = pygame.mixer.Sound("bird.ogg") >>> pygame.mixer.Sound.play(song) and then use the >>> channel.set_volume(0, 1) >>> time.sleep(1) On Wednesday, December 17, 2014 10:02:30 PM UTC+2, Jacob Kruger wrote:

Re: Simple background sound effect playback

2014-12-17 Thread Jacob Kruger
self to be installed, or something. Jacob Kruger Blind Biker Skype: BlindZA ...Roger Wilco wants to welcome you, to the space janitor's closet... - Original Message - From: Ian Kelly To: Python Sent: Wednesday, December 17, 2014 3:49 AM Subject: Re: Simple background sound

Re: Simple background sound effect playback

2014-12-16 Thread Ian Kelly
On Tue, Dec 16, 2014 at 9:57 AM, Jacob Kruger wrote: > > Would prefer to use something free, that could work somewhat cross-platform, but, my primary target is for windows OS, and would primarily just want to be able to easily trigger playback of either .wav or .mp3 background sound effects, but,

Simple background sound effect playback

2014-12-16 Thread Jacob Kruger
Would prefer to use something free, that could work somewhat cross-platform, but, my primary target is for windows OS, and would primarily just want to be able to easily trigger playback of either .wav or .mp3 background sound effects, but, yes, would also be nice to be able to control them a li