[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Screeching, Howling Garbage in One Ear pygame.sndarray



Hey, thanks for the fast response.

Pete, I can't even get yours to run at the moment:

Traceback (most recent call last):
  File "C:\Documents and Settings\Administrator\Desktop\Music Factory\tone.py",
line 60, in ?
    Main(sys.argv)
  File "C:\Documents and Settings\Administrator\Desktop\Music Factory\tone.py",
line 22, in Main
    tone = MakeTone(rate, length)
  File "C:\Documents and Settings\Administrator\Desktop\Music Factory\tone.py",
line 35, in MakeTone
    samples = FloatToFormat(tone, format, stereo)
  File "C:\Documents and Settings\Administrator\Desktop\Music Factory\tone.py",
line 54, in FloatToFormat
    samples[:] = mono[:, Numeric.NewAxis]
ValueError: matrices are not aligned for copy

I suppose I should mention I'm using Python 2.3, Pygame 1.6, and Numeric 23.1 (?) on a WinXP box.

--
Andrew Ulysses Baker
"failrate"