mirror of
https://github.com/CKegel/Web-SSTV.git
synced 2025-06-05 19:15:34 +00:00
commit
ae99847f37
4
encode.js
Normal file → Executable file
4
encode.js
Normal file → Executable file
@ -649,9 +649,9 @@ startButton.onclick = () => {
|
|||||||
|
|
||||||
sstvFormat.prepareImage(canvasData.data);
|
sstvFormat.prepareImage(canvasData.data);
|
||||||
let startTime = audioCtx.currentTime + 1;
|
let startTime = audioCtx.currentTime + 1;
|
||||||
let endTime = sstvFormat.encodeSSTV(oscillator, audioCtx.currentTime + 1);
|
|
||||||
oscillator.start(startTime);
|
oscillator.start(startTime);
|
||||||
oscillator.end(endTime);
|
let endTime = sstvFormat.encodeSSTV(oscillator, audioCtx.currentTime + 1);
|
||||||
|
oscillator.stop(endTime);
|
||||||
};
|
};
|
||||||
|
|
||||||
function createWAVHeader(audioLength) {
|
function createWAVHeader(audioLength) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user