[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] sndarray bug
Which version of numeric do you have?
I think pygame 1.5.3 needs numeric 21 1.5.5 needs 22.
--- Alex <alex@quad.com.ar> wrote: > there seems to
be a bug in sndarray, here's my
> script:
>
> import pygame
> pygame.init()
> sound=pygame.mixer.Sound('foo.wav')
> sound_array=pygame.sndarray.array(sound)
> newsound=pygame.sndarray.make_sound(sound_array)
>
> and I get:
> Traceback (most recent call last):
> File "snd.py", line 5, in ?
> newsound=pygame.sndarray.make_sound(sound_array)
> ValueError: Invalid array datatype for sound
>
> same thing happens if I try to make_sound() my own
> Numeric array.
>
> I've tried it on 2 platforms:
> windows 2000, python 2.2.1, pygame 1.5.3
> linux, python 2.2.2, pygame 1.5.3
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org