Re: [pygame] Creating a stereo sound from an array doubles frequency

2011-12-02 Thread Marcel Stimberg
Hi Ian, hi Mark, thanks for the feedback. pre_init and init works for me, as does your variant. But your error message (that was apparently added after 1.9.1 was released) provided the necessary clue: pygame makes the assumption that the argument of make_sound is in C-Order. I can reproduce my "do

[pygame] Creating a stereo sound from an array doubles frequency

2011-12-01 Thread Marcel Stimberg
Hi list, I'm having trouble playing sounds (generated from arrays) as stereo sounds. Creating a sound and copying it to two channels seems to double the frequency. The following script (see also here: http://pastebin.com/qqZbJavf ) should make it more clear. It constructs a simple 400Hz sine wave