Skip to content

Commit

Permalink
QRM : activation en cours de lecture
Browse files Browse the repository at this point in the history
  • Loading branch information
spasutto authored Jan 27, 2025
1 parent de22b71 commit 114b55a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions morseplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,9 @@ class MorsePlayer extends HTMLElement {
if (value == this.options.qrm) return;
this.options.qrm = value;
this.qrmgenerator.setParams(Math.round(value*10), value);
if (this.Playing) {
this.qrmgenerator.start();
}
this.cwplayer.fireEvent('parameterchanged', 'QRM');
}
get PreDelay() { return this.cwplayer.PreDelay; }
Expand Down Expand Up @@ -1559,6 +1562,8 @@ class QRMGenerator {
this.active = false;
this.setParams(quantity, maxvolume);
}

get Active() { return this.active; }

get MaxVolume() { return this.maxvolume; }
set MaxVolume(value) {
Expand Down

0 comments on commit 114b55a

Please sign in to comment.