Re: [pygame] sound files in pygame

2016-01-29 Thread DiliupG
mp3s work but Pygame is very temperamental. Ogg files are ok.

On Sat, Jan 30, 2016 at 8:47 AM, Daniel Foerster 
wrote:

> I've never had much success with mp3's in Pygame, ogg's seem to be much
> better supported across platforms. I'm a little surprised you were ever
> able to get some of those formats working, I didn't know m4a's were
> supported at all.
>
>
> On 01/29/2016 08:22 PM, DiliupG wrote:
>
> I had similar issues intermittently on windows and then switched to ogg
> files. Since then everything seems tamed. Try that if not done already.
>
> On Sat, Jan 30, 2016 at 4:33 AM, Bob Irving  wrote:
>
>> Hello folks,
>>
>> We just went from Python on Windows to Mac and are experiencing some
>> Python crashes with some sound files. Mostly they are wavs though sometimes
>> mp3 or m4a. This never happened on Windows, so we're wondering if there is
>> something we don't know about how Mac handles sound files..
>>
>> Size of file doesn't seem to matter. We're just doing pygame.mixer.Sound,
>> then file.play().
>>
>> Any suggestions more than welcome.
>>
>> TIA,
>> Bob Irving
>> Computer Science
>> Porter-Gaud School
>> Charleston, SC
>>
>>
>> --
>> Twitter: @birv2
>> www.bob-irving.com
>> 
>> http://www.scoop.it/t/on-the-digital-frontier
>>
>>
>>
>
>
> --
> Diliup Gabadamudalige
>
> http://www.diliupg.com
> http://soft.diliupg.com/
>
>
> **
> This e-mail is confidential. It may also be legally privileged. If you are
> not the intended recipient or have received it in error, please delete it
> and all copies from your system and notify the sender immediately by return
> e-mail. Any unauthorized reading, reproducing, printing or further
> dissemination of this e-mail or its contents is strictly prohibited and may
> be unlawful. Internet communications cannot be guaranteed to be timely,
> secure, error or virus-free. The sender does not accept liability for any
> errors or omissions.
>
> **
>
>
>


-- 
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**
This e-mail is confidential. It may also be legally privileged. If you are
not the intended recipient or have received it in error, please delete it
and all copies from your system and notify the sender immediately by return
e-mail. Any unauthorized reading, reproducing, printing or further
dissemination of this e-mail or its contents is strictly prohibited and may
be unlawful. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
**


Re: [pygame] sound files in pygame

2016-01-29 Thread Daniel Foerster
I've never had much success with mp3's in Pygame, ogg's seem to be much 
better supported across platforms. I'm a little surprised you were ever 
able to get some of those formats working, I didn't know m4a's were 
supported at all.


On 01/29/2016 08:22 PM, DiliupG wrote:
I had similar issues intermittently on windows and then switched to 
ogg files. Since then everything seems tamed. Try that if not done 
already.


On Sat, Jan 30, 2016 at 4:33 AM, Bob Irving > wrote:


Hello folks,

We just went from Python on Windows to Mac and are experiencing
some Python crashes with some sound files. Mostly they are wavs
though sometimes mp3 or m4a. This never happened on Windows, so
we're wondering if there is something we don't know about how Mac
handles sound files..

Size of file doesn't seem to matter. We're just doing
pygame.mixer.Sound, then file.play().

Any suggestions more than welcome.

TIA,
Bob Irving
Computer Science
Porter-Gaud School
Charleston, SC


-- 
Twitter: @birv2

www.bob-irving.com 
http://www.scoop.it/t/on-the-digital-frontier





--
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**
This e-mail is confidential. It may also be legally privileged. If you 
are not the intended recipient or have received it in error, please 
delete it and all copies from your system and notify the sender 
immediately by return e-mail. Any unauthorized reading, reproducing, 
printing or further dissemination of this e-mail or its contents is 
strictly prohibited and may be unlawful. Internet communications 
cannot be guaranteed to be timely, secure, error or virus-free. The 
sender does not accept liability for any errors or omissions.

**





Re: [pygame] Good English Computer coding books

2016-01-29 Thread DiliupG
http://pastebin.com/u/diliupg

try these if the help you. what i did while learning

On Sat, Jan 30, 2016 at 4:14 AM, Ryan Westlund  wrote:

> I learned from "Python Programming For The Absolute Beginner (Third
> Edition)" by Michael Dawson. Great book.
>
> On Wed, Jan 27, 2016 at 5:13 PM, Martti Kühne  wrote:
>
>> > At a certain point, programming becomes more about solving problems
>> than learning the language, so you can't separate out the learning from the
>> doing. So, you should pick a problem domain that interests you and go from
>> there.
>> >
>>
>> that is well put indeed. for OP I would suggest looking for an
>> existing game that would reasonably challenge him/her, and if there
>> are specific questions that occur about the implementation I'd gladly
>> discuss them. feel free to contact me off list even. ;-)
>>
>> most of my practical learning happened when I followed discussions on
>> irc about specific problems which got me interested/challenged myself.
>> I'm not completely certain whether that is applicable to pygame,
>> though.
>>
>> cheers!
>> mar77i
>>
>
>


-- 
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**
This e-mail is confidential. It may also be legally privileged. If you are
not the intended recipient or have received it in error, please delete it
and all copies from your system and notify the sender immediately by return
e-mail. Any unauthorized reading, reproducing, printing or further
dissemination of this e-mail or its contents is strictly prohibited and may
be unlawful. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
**


Re: [pygame] sound files in pygame

2016-01-29 Thread DiliupG
I had similar issues intermittently on windows and then switched to ogg
files. Since then everything seems tamed. Try that if not done already.

On Sat, Jan 30, 2016 at 4:33 AM, Bob Irving  wrote:

> Hello folks,
>
> We just went from Python on Windows to Mac and are experiencing some
> Python crashes with some sound files. Mostly they are wavs though sometimes
> mp3 or m4a. This never happened on Windows, so we're wondering if there is
> something we don't know about how Mac handles sound files..
>
> Size of file doesn't seem to matter. We're just doing pygame.mixer.Sound,
> then file.play().
>
> Any suggestions more than welcome.
>
> TIA,
> Bob Irving
> Computer Science
> Porter-Gaud School
> Charleston, SC
>
>
> --
> Twitter: @birv2
> www.bob-irving.com
> http://www.scoop.it/t/on-the-digital-frontier
>
>
>


-- 
Diliup Gabadamudalige

http://www.diliupg.com
http://soft.diliupg.com/

**
This e-mail is confidential. It may also be legally privileged. If you are
not the intended recipient or have received it in error, please delete it
and all copies from your system and notify the sender immediately by return
e-mail. Any unauthorized reading, reproducing, printing or further
dissemination of this e-mail or its contents is strictly prohibited and may
be unlawful. Internet communications cannot be guaranteed to be timely,
secure, error or virus-free. The sender does not accept liability for any
errors or omissions.
**


[pygame] sound files in pygame

2016-01-29 Thread Bob Irving
Hello folks,

We just went from Python on Windows to Mac and are experiencing some Python
crashes with some sound files. Mostly they are wavs though sometimes mp3 or
m4a. This never happened on Windows, so we're wondering if there is
something we don't know about how Mac handles sound files..

Size of file doesn't seem to matter. We're just doing pygame.mixer.Sound,
then file.play().

Any suggestions more than welcome.

TIA,
Bob Irving
Computer Science
Porter-Gaud School
Charleston, SC


-- 
Twitter: @birv2
www.bob-irving.com
http://www.scoop.it/t/on-the-digital-frontier


Re: [pygame] Good English Computer coding books

2016-01-29 Thread Ryan Westlund
I learned from "Python Programming For The Absolute Beginner (Third
Edition)" by Michael Dawson. Great book.

On Wed, Jan 27, 2016 at 5:13 PM, Martti Kühne  wrote:

> > At a certain point, programming becomes more about solving problems than
> learning the language, so you can't separate out the learning from the
> doing. So, you should pick a problem domain that interests you and go from
> there.
> >
>
> that is well put indeed. for OP I would suggest looking for an
> existing game that would reasonably challenge him/her, and if there
> are specific questions that occur about the implementation I'd gladly
> discuss them. feel free to contact me off list even. ;-)
>
> most of my practical learning happened when I followed discussions on
> irc about specific problems which got me interested/challenged myself.
> I'm not completely certain whether that is applicable to pygame,
> though.
>
> cheers!
> mar77i
>