Re: ossaudiodev problem: sawtooth noise

2009-01-24 Thread Peter Pearson
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

Re: ossaudiodev problem: sawtooth noise

2009-01-23 Thread Gabriel Genellina
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

Re: ossaudiodev problem: sawtooth noise

2009-01-23 Thread Peter Pearson
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

Re: ossaudiodev problem: sawtooth noise

2009-01-22 Thread Gabriel Genellina
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

ossaudiodev problem: sawtooth noise

2009-01-20 Thread Peter Pearson
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