Skip to content

Commit

Permalink
Update algorithm.js
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
thusarakap committed Mar 25, 2024
1 parent 404847c commit 60693f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/algorithm.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function negateDBValues(dBValues, speakerType){
}else if(i === 5){
negatedValue = Math.min(negatedValue, 8); // cap frequency 6 at 8dB
}
}else if (speakerType === "floorstanding "){
}else if (speakerType === "floorstanding"){
if(i === 0 || i === 1){
negatedValue = Math.min(negatedValue, 5); // cap frequency 1 and 2 at 5dB
}
Expand Down

0 comments on commit 60693f2

Please sign in to comment.