Robert Kern wrote:
snd = swmixer.Sound(data=tone_data)
Well, sort of. You probably need to scale your data and convert it to
int16 format. It's currently in floating point format.
Done and working, thanks. As file was not needed for file=test.wav I
assumed the data prefix for data was
Hello,
I'm a bit of a python newby. I want to play and record sound
simultaneously. SWMixer seems able to do this but the examples use WAV
files. I'm trying to play a test tone. Can anyone give me a steer as to
why this fails?
import sys
import swmixer
import numpy
On 2009-02-07 08:46, Peter Chant wrote:
Hello,
I'm a bit of a python newby. I want to play and record sound
simultaneously. SWMixer seems able to do this but the examples use WAV
files. I'm trying to play a test tone. Can anyone give me a steer as to
why this fails?
Looking at the SWMixer
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a large matrix and
finding it's
Chris Smith wrote:
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a large
robert wrote:
Chris Smith wrote:
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a
Chris Smith wrote:
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a large