Skip to content

Commit 9be0d08

Browse files
committed
Remove leftover debug console log from sampler.js
1 parent 6c175b3 commit 9be0d08

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

js/widgets/sampler.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,16 +1906,16 @@ function SampleWidget() {
19061906
// Set initial note display
19071907
const noteObj = TunerUtils.frequencyToPitch(
19081908
A0 *
1909-
Math.pow(
1910-
2,
1911-
(pitchToNumber(
1912-
SOLFEGENAMES[this.pitchCenter] +
1913-
EXPORTACCIDENTALNAMES[this.accidentalCenter],
1914-
this.octaveCenter
1915-
) -
1916-
57) /
1917-
12
1918-
)
1909+
Math.pow(
1910+
2,
1911+
(pitchToNumber(
1912+
SOLFEGENAMES[this.pitchCenter] +
1913+
EXPORTACCIDENTALNAMES[this.accidentalCenter],
1914+
this.octaveCenter
1915+
) -
1916+
57) /
1917+
12
1918+
)
19191919
);
19201920
this.tunerDisplay.update(noteObj[0], noteObj[1], this.centsValue);
19211921

@@ -2336,7 +2336,6 @@ function SampleWidget() {
23362336
instruments[0][instrumentName].playbackRate.value = playbackRate;
23372337
} else {
23382338
// If the instrument doesn't exist yet, we'll apply the adjustment when playing
2339-
console.log("Instrument not found, will apply cent adjustment during playback");
23402339
}
23412340
}
23422341

0 commit comments

Comments
 (0)