Sound trouble

This is the place for queries that don't fit in any of the other categories.

Sound trouble

Postby Cal » Mon Dec 09, 2013 9:06 pm

Hello,

I was trying to get sound to play from inside my python file using pygame. Ealier today the file ran fine with no errors however i could get no sound by either HDMI or headphones.

I did some googling and ran the command: sudo modprobe snd_bcm2835

However now i run the file to find "fatal error: {pygame parachute} bus error aborted

Can i undo what i have done? And any ideas on how to get the sound running?

I am using raspian on raspberry pi and in python 2.7

Thanks!
Cal
 
Posts: 6
Joined: Mon Dec 02, 2013 8:35 pm

Re: Sound trouble

Postby stranac » Mon Dec 09, 2013 9:11 pm

You can use modprobe -r to remove the module.
Not really a python question though.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1118
Joined: Thu Feb 07, 2013 3:42 pm


Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 4 guests