it records audio and uploads it to server
make sure cargo is installed( https://www.rust-lang.org/tools/install then:
git clone https://github.com/K-C-DaCosta/AudioRecorder.git
cd ./AudioRecorder
cargo install simple-http-server;
cargo install wasm-bindgen-cli;
./build.sh build_and_run
this will start a server on localhost:6969
in any browser(i recommend firefox) go to the address:
localhost:6969/index.html
when you press submit a new binary file should show up in ./recorder_output/test
the file is encoded in a custom binary format.
This project encodes data into a custom audio format so no audio software will be able to decode it in its current representation. However, I wrote a test that decodes the uploaded recording to wav just type:
cargo test foo
A wav version of the file should be written to recorder_output/test
and you can playback your voice in vlc/mpv/etc