On Fri, 23 Jan 2009 14:55:36 -0200, Gabriel Genellina wrote:
> En Fri, 23 Jan 2009 14:36:46 -0200, Peter Pearson
> escribió:
>> On Thu, 22 Jan 2009 20:58:14 -0200, Gabriel Genellina wrote:
>>> En Mon, 19 Jan 2009 21:57:04 -0200, Peter Pearson
>>> escribió:
>>>
The following code uses ossaud
En Fri, 23 Jan 2009 14:36:46 -0200, Peter Pearson
escribió:
On Thu, 22 Jan 2009 20:58:14 -0200, Gabriel Genellina wrote:
En Mon, 19 Jan 2009 21:57:04 -0200, Peter Pearson
escribió:
The following code uses ossaudiodev to read 1000 values from
my sound card at a rate of 12,000 samples per sec
On Thu, 22 Jan 2009 20:58:14 -0200, Gabriel Genellina wrote:
> En Mon, 19 Jan 2009 21:57:04 -0200, Peter Pearson
> escribió:
>
>> The following code uses ossaudiodev to read 1000 values from
>> my sound card at a rate of 12,000 samples per second:
>>
>> When I select a sample rate that is not a p
En Mon, 19 Jan 2009 21:57:04 -0200, Peter Pearson
escribió:
The following code uses ossaudiodev to read 1000 values from
my sound card at a rate of 12,000 samples per second:
When I select a sample rate that is not a power of 2 times
3000 samples/second, a strong and very regular sawtooth is
The following code uses ossaudiodev to read 1000 values from
my sound card at a rate of 12,000 samples per second:
*** begin code ***
import ossaudiodev as o
import struct
d = o.open( "r" )
_, _, _ = d.setparameters( o.AFMT_S16_LE,
1, # channels