mirror of
https://github.com/CKegel/Web-SSTV.git
synced 2025-06-05 19:15:34 +00:00
Update encode.js to add saving functionality #10
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @commandcontrolQ on 10/21/2024
I changed the pull request so it is linked to my fork: ignore the previous one.
Added functionality to allow users to save encoded SSTV audio as a WAV file using the MediaRecorder API.
On page load, the download button is disabled.
The MediaRecorder API records the output of the encoded waveforms and converts the audio buffer into a WAV file.
The download button only becomes clickable when the image is done encoding, and then when clicked, the audio will be downloaded to the user's computer as
sstv_{image_filename}.wav
.