From ca4f8b4fd7b36c5b026363e6ac670c7ce8c219ed Mon Sep 17 00:00:00 2001 From: spessasus Date: Tue, 26 Mar 2024 23:52:17 +0100 Subject: [PATCH] fix things i missed --- src/spessasynth_lib/synthetizer/synthetizer.js | 1 + src/website/ui/midi_keyboard.js | 2 +- src/website/ui/synthesizer_ui/synthetizer_ui.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spessasynth_lib/synthetizer/synthetizer.js b/src/spessasynth_lib/synthetizer/synthetizer.js index 66d53f67..8aef29ee 100644 --- a/src/spessasynth_lib/synthetizer/synthetizer.js +++ b/src/spessasynth_lib/synthetizer/synthetizer.js @@ -304,6 +304,7 @@ export class Synthetizer { this.eventHandler.callEvent("controllerchange", {channel: chNr, controllerNumber: midiControllers.expressionController, controllerValue: 127}); this.eventHandler.callEvent("controllerchange", {channel: chNr, controllerNumber: midiControllers.modulationWheel, controllerValue: 0}); this.eventHandler.callEvent("controllerchange", {channel: chNr, controllerNumber: midiControllers.effects3Depth, controllerValue: 0}); + this.eventHandler.callEvent("controllerchange", {channel: chNr, controllerNumber: midiControllers.effects1Depth, controllerValue: 0}); this.eventHandler.callEvent("pitchwheel", {channel: chNr, MSB: 64, LSB: 0}) } diff --git a/src/website/ui/midi_keyboard.js b/src/website/ui/midi_keyboard.js index 5c61d428..9d21fef4 100644 --- a/src/website/ui/midi_keyboard.js +++ b/src/website/ui/midi_keyboard.js @@ -1,7 +1,7 @@ import {Synthetizer} from "../../spessasynth_lib/synthetizer/synthetizer.js"; import { midiControllers } from '../../spessasynth_lib/midi_parser/midi_message.js' -const KEYBOARD_VELOCITY = 100; +const KEYBOARD_VELOCITY = 127; const GLOW_PX = 75; export class MidiKeyboard diff --git a/src/website/ui/synthesizer_ui/synthetizer_ui.js b/src/website/ui/synthesizer_ui/synthetizer_ui.js index 1df9b384..31a1c5ee 100644 --- a/src/website/ui/synthesizer_ui/synthetizer_ui.js +++ b/src/website/ui/synthesizer_ui/synthetizer_ui.js @@ -411,7 +411,7 @@ export class SynthetizerUI const transpose = new Meter(this.channelColors[channelNumber % this.channelColors.length], "Transpose: ", -36, - 36, `The current level of chorus effect applied to channel ${channelNumber + 1}`, + 36, `The pitch tuning applied to channel ${channelNumber + 1}`, true, val => { val = Math.round(val)