* inital implementation * remove file * ggwave-cli : txProtocol -> txProtocolId * ggwave : add custom protocol enum values * r2t2 : use cutom protocols * r2t2 : build only on Unix systems * r2t2 : remove thread * r2t2-rx : wip * r2t2 : wasm build ready + various fixes * r2t2 : error message * Update README.md * Update README.md * Update README.md * Update README.md * r2t2 : length 16 * r2t2 : use slow protocol by default * r2t2 : add timestamp * r2t2 : update html * r2t2 : update github link * r2t2 : more robust tx * r2t2 : add option to use beep command * emscripten : cannot use requestAnimationFrame when capturing audio This causes the queued audio buffer to grow indefinitely when the page is not focused, causing the process to run out of memory. * r2t2 : disable beep option * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * r2t2 : add example to README
Waver
Waver allows you to send and receive text messages from nearby devices through sound waves.
This application can be used to communicate with multiple nearby devices at once. Both audible and ultrasound communication protocols are available. The app does not connect to the internet and all information is transmitted only through sound. In order to receive incoming messages you only need to allow access to your device's microphone so that it can record nearby sounds.
The main purpose of this app is to showcase the capabilities of the ggwave library. It is a convenient way to quickly test the transmission performance on virtually any device with speakers and a microphone.
Install
Linux
sudo snap install waver
sudo snap connect waver:audio-record :audio-record
Mac OS
brew install ggerganov/ggerganov/waver
Run directly in the browser
How to use
Click on the gif to watch a ~2 min Youtube video:
- Before starting - make sure the speaker of your device is enabled and disconnect/unplug any headphones. The app uses your device's speaker to emit sounds when sending a text message
- To send a message - tap on "Messages", enter some text at the bottom of the screen and click "Send"
- Any nearby device that is also running this application can capture the emitted sound and display the received message
- In the settings menu, you can adjust the volume and the transmission protocol that will be used when sending messages. Make sure to adjust the volume level high enough, so the sounds can be picked up by other devices
- Tap on "Spectrum" to see a real-time frequency spectrum of the currently captured audio by your device's microphone
File sharing in a local network
As of v1.3.0 Waver supports file sharing. It works like this:
- Add files that you would like to transmit by sharing them with Waver
- In the "Files" menu, click on "Broadcast". This plays an audio message that contains a file broadcast offer
- Nearby devices in the same local network can receive this offer and initiate a TCP/IP connection to your device
- The files are transmitted over TCP/IP. The sound message is used only to initiate the network connections between the devices
- Waver allows sharing multiple files to multiple devices at once
Known issues
- The browser version does not support on-screen keyboard on mobile devices, so it is not possible to input messages. Use the mobile app instead
- In some cases utlrasound transmission is not supported (see #5)

