Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified listen.py #22

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Simplified listen.py #22

wants to merge 18 commits into from

Conversation

construidor
Copy link

Removed the threads and replaced by a cascade functions calls (not sure what the name). The code became cleaner and faster.

construidor added 18 commits January 9, 2014 15:38
The file.py is basically the same as the send.py, with the difference that it creates a file .wav instead of reproducing the sound.

example os use:
bash> python2 file.py
Welcome to quietnet. Use ctrl-c to exit
> 123456789
> ^Cexited cleanly

bash> aplay WaveTest.wav
Call up the "stream.write(sample)" sample by sample caused the problem on
pyAudio. Only one called "stream.write" is made with all the content.
Conflicts:
	quietnet.py
	send.py
Guarantee of data integrity (or nearly), create a frame system with hash
and size, removing the annoying noise interference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant