Fix brass instrument mapping for live piano notes

This commit is contained in:
Jage9
2026-02-23 02:05:32 -05:00
parent 3e77f4edce
commit 9430b9fb09
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
// Maintainer-controlled web client version. // Maintainer-controlled web client version.
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2) // Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
window.CHGRID_WEB_VERSION = "2026.02.23 R221"; window.CHGRID_WEB_VERSION = "2026.02.23 R222";
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid. // Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
window.CHGRID_TIME_ZONE = "America/Detroit"; window.CHGRID_TIME_ZONE = "America/Detroit";

View File

@@ -965,6 +965,7 @@ function getPianoParams(item: WorldItem): {
rawInstrument === 'bass' || rawInstrument === 'bass' ||
rawInstrument === 'violin' || rawInstrument === 'violin' ||
rawInstrument === 'synth_lead' || rawInstrument === 'synth_lead' ||
rawInstrument === 'brass' ||
rawInstrument === 'nintendo' || rawInstrument === 'nintendo' ||
rawInstrument === 'drum_kit' rawInstrument === 'drum_kit'
? rawInstrument ? rawInstrument