https://github.com/bbugyi200/pywalkie
A two-way walkie-talkie command-line application.
https://github.com/bbugyi200/pywalkie
Last synced: about 1 year ago
JSON representation
A two-way walkie-talkie command-line application.
- Host: GitHub
- URL: https://github.com/bbugyi200/pywalkie
- Owner: bbugyi200
- Created: 2019-02-27T21:11:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T15:23:27.000Z (over 7 years ago)
- Last Synced: 2025-03-30T23:41:12.661Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 575 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is Pywalkie?
A two-way walkie-talkie application, implemented using Python's [Twisted] framework. The server should daemonize the `pywalkie-server.py` script, at which point you can start a conversation from some other client machine by using the `pywalkie-client.py` script. The client machine has full control over the flow of the conversation.
# Usage


# Examples
The two screenshots below were taken from the viewpoint of the client. The client uses the `Enter` key to toggle control of the communication between the two machines.


# Dependencies
Pywalkie makes use of [arecord](https://linux.die.net/man/1/arecord) (a Linux command-line utility) to record audio from one machine.
Once recorded, the audio is streamed to the second machine using [Twisted], an event-driven network programming framework written in Python.
Finally, the audio is played back on the second machine using the [paplay](https://linux.die.net/man/1/paplay) utility (also Linux-based).
[Twisted]: https://twistedmatrix.com/trac/
### Optional Dependencies
* [speaker-test](https://linux.die.net/man/1/speaker-test) is used to make a noise on the server every time the walkie-talkie mode is toggled.
* [espeak](http://espeak.sourceforge.net/) is used to announce to the server when a client has connected to Pywalkie.