[EMAIL PROTECTED] wrote:
fh= ossaudiodev.open("/dev/dsp", "rw")
fh.setparameters(ossaudiodev.AFMT_S16_LE, number_of_channels,
sample_rate)
fh.writeall(frames_out)
frames_in= fh.read(number_of_samples * sample_width)
fh.close()
One problem with this is that you can't use a single file
object for ind
Thanks that was helpful.
The mixer seems werid though. I tested first with the alsamixer and the
only way I can get the line-in in to record is to put the "mix" channel
into capture mode. However, doing that mixes all the record sources
together so I get the orginal sound that is played through t
In <[EMAIL PROTECTED]>, rjm wrote:
> [recording the output]
>
> Any ideas? Am I doing something fundamentally wrong? Any help would
> be greatly appreciated.
You have to use the mixer to select which channel(s) should be the source
of the recording. It's best is to deselect all other sources e
I'm messing around with trying to record sound reflections off of
various objects at different frequencies. I'm using python 2.4 on
Fedora Core 3 and I have an SBLive card. Basically, I want to send
some samples through a speaker and then record from an input source
(the line input on the sound ca