Permalink
Browse files

Fixes for newer version of pygame, many thanks to 'K Knar' and 'jaycu…

…estu' for the fix.
  • Loading branch information...
1 parent 82c1be0 commit ab5f8e256cd49829992d7a100d50dd4c7b4a0149 @dalethatcher committed Feb 16, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 board.py
View
@@ -2,6 +2,7 @@
import time
import curses
+pygame.mixer.pre_init(44100, -16, 2, 512)
pygame.init()
up = pygame.mixer.Sound('up.wav')

2 comments on commit ab5f8e2

hi dale, I am trying to change the wav files and but my own but when I put them and press the button I only here a short click. Do you have any idea what I have done wrong?

Owner

dalethatcher replied Oct 13, 2013

Can you give some more details on the distribution and set up your using? e.g. Can you get sound out by any other means? Are you running Raspbian? etc.

Please sign in to comment.