Skip to content

Commit 8992dad

Browse files
author
Adityacode-hub
committed
Fix: sensor blocks improvements + lint cleanups
1 parent e0958d1 commit 8992dad

24 files changed

+35
-35
lines changed

js/piemenus.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ const piemenuPitches = (
389389

390390
// Ensure synth is initialized before proceeding
391391
if (!that.activity.logo.synth) {
392-
console.debug('Creating synth in logo');
392+
console.debug("Creating synth in logo");
393393
that.activity.logo.synth = new Synth();
394394
}
395395

@@ -501,7 +501,7 @@ const piemenuPitches = (
501501
that.activity.logo.synth.createDefaultSynth(0);
502502
await that.activity.logo.synth.loadSynth(0, DEFAULTVOICE);
503503
} catch (e) {
504-
console.debug('Error initializing synth:', e);
504+
console.debug("Error initializing synth:", e);
505505
return;
506506
}
507507
}
@@ -516,7 +516,7 @@ const piemenuPitches = (
516516
that.activity.logo.synth.setMasterVolume(PREVIEWVOLUME);
517517
that.activity.logo.synth.setVolume(0, DEFAULTVOICE, PREVIEWVOLUME);
518518
} catch (e) {
519-
console.debug('Error setting volume:', e);
519+
console.debug("Error setting volume:", e);
520520
return;
521521
}
522522

@@ -526,7 +526,7 @@ const piemenuPitches = (
526526
try {
527527
await that.activity.logo.synth.trigger(0, [obj[0] + obj[1]], 1/8, DEFAULTVOICE, null, null, false);
528528
} catch (e) {
529-
console.debug('Error triggering note:', e);
529+
console.debug("Error triggering note:", e);
530530
} finally {
531531
// Ensure trigger lock is released after a delay
532532
setTimeout(() => {
@@ -535,7 +535,7 @@ const piemenuPitches = (
535535
}
536536
}
537537
} catch (e) {
538-
console.error('Error in pitch preview:', e);
538+
console.error("Error in pitch preview:", e);
539539
}
540540
};
541541

@@ -668,9 +668,9 @@ const piemenuPitches = (
668668
const setupAudioContext = async () => {
669669
try {
670670
await Tone.start();
671-
console.debug('Audio context started');
671+
console.debug("Audio context started");
672672
} catch (e) {
673-
console.debug('Error starting audio context:', e);
673+
console.debug("Error starting audio context:", e);
674674
}
675675
};
676676

planet/libs/clipboard.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

planet/libs/jquery-3.2.1.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

planet/libs/localforage.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

planet/libs/materialize.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sounds/samples/acguit.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sounds/samples/banjo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sounds/samples/bassoon.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sounds/samples/celeste.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sounds/samples/cello.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)