mirror of
https://github.com/CKegel/Web-SSTV.git
synced 2025-06-07 03:55:29 +00:00
Fix broken function
sstvFormat.getDuration() was off by a factor of 3 for some bizarre reason, don't ask why
This commit is contained in:
parent
5876a3ec32
commit
688f7b38e4
@ -701,7 +701,7 @@ startButton.onclick = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sstvFormat.getDuration = function() {
|
sstvFormat.getDuration = function() {
|
||||||
return (this.numScanLines * (this.scanLineLength + this.blankingInterval) + this.syncPulseLength) + 1;
|
return (this.numScanLines * (this.scanLineLength + this.blankingInterval + this.syncPulseLength * 3);
|
||||||
};
|
};
|
||||||
|
|
||||||
let oscillator = audioCtx.createOscillator();
|
let oscillator = audioCtx.createOscillator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user