Katee / quietnet

Simple chat program that communicates using inaudible sounds

Home Page:https://kate.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test that pyaudio works

asmeurer opened this issue · comments

I am not able to get this to work. The problem may be with pyaudio. I believe the listening works, due to #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.

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.

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

commented

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