To transmit a binary file:
- Load the software on the device that has the file and a speaker.
- Get a device (it can be the same one) which has a microphone.
- Start recording on the second device. Match sample rate of output device when recording. On web this is likely 44.1kHz.
- Use the
transmit
option with specified parameters to encode the file to sound and output through the speaker. - End the recording after the audio transmission finishes playing.
- Use the
receive
option on any device with access to the recorded audio file with the same parameters as set when usingtransmit
. - The file should be reconstructed on the receive device.