quietnet icon indicating copy to clipboard operation
quietnet copied to clipboard

Test that pyaudio works

Open asmeurer opened this issue 11 years ago • 3 comments

I am not able to get this to work. The problem may be with pyaudio. I believe the listening works, due to https://github.com/Katee/quietnet/issues/3, but I am not able to tell if the output works. How can I play a clearly audible sound with pyaudio? Maybe there should be a script included with this that does that.

asmeurer avatar Feb 02 '14 06:02 asmeurer

Did you try adjusting the frequency to something audible (Line 2 in options.py -- https://github.com/Katee/quietnet/blob/master/options.py#L2 )? Wikipedia lists the human audible range running from about 20 to 20,000 Hz.

minchinweb avatar Feb 03 '14 03:02 minchinweb

Try the input/output wire without any "special" frequence to check if I/O generally works. See: https://gist.github.com/fwaechter/8795472

fwaechter avatar Feb 04 '14 00:02 fwaechter

Interesting. I changed my options.py and it doesn't work with the default freq = 19100 in my computer: I don't receive anything. But I discovered that it works quite well with freq = 14700.

I'm testing it in a Macbook Pro + MacOS X 10.6.8

xezpeleta avatar Jun 06 '14 16:06 xezpeleta