Update encode.js to add saving functionality #10

Closed
opened 2025-04-09 15:03:10 +00:00 by tcsenpai · 0 comments
Owner

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.

*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`.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/Web-SSTV#10
No description provided.