mirror of
https://github.com/CKegel/Web-SSTV.git
synced 2025-06-04 02:20:17 +00:00
Fix typo.
This commit is contained in:
parent
7adf434eef
commit
627e3301dc
6
encode.js
Normal file → Executable file
6
encode.js
Normal file → Executable file
@ -649,9 +649,9 @@ startButton.onclick = () => {
|
||||
|
||||
sstvFormat.prepareImage(canvasData.data);
|
||||
let startTime = audioCtx.currentTime + 1;
|
||||
let endTime = sstvFormat.encodeSSTV(oscillator, audioCtx.currentTime + 1);
|
||||
oscillator.start(startTime);
|
||||
oscillator.end(endTime);
|
||||
let endTime = sstvFormat.encodeSSTV(oscillator, audioCtx.currentTime + 1);
|
||||
oscillator.stop(endTime);
|
||||
};
|
||||
|
||||
function createWAVHeader(audioLength) {
|
||||
@ -742,4 +742,4 @@ downloadButton.onclick = () => {
|
||||
document.body.removeChild(a);
|
||||
URL.revokeObjectURL(url);
|
||||
});
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user