Update dependencies and refine MIDI handling.

Upgraded various dependencies, including `vst-ui-base` to 1.2.0 and build configurations to include `mavenLocal`. Refined MIDI handling by removing redundant logging to improve performance and clarity. Adjusted knob component value ranges for better user experience.
This commit is contained in:
2024-12-26 14:23:16 +01:00
parent d58fb9c7b5
commit 60a21bbd79
4 changed files with 23 additions and 26 deletions

View File

@@ -96,7 +96,6 @@ object WaveformView: Komponent() {
}
}
}
}
object MainView : Komponent(), CssName {
@@ -249,7 +248,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.volume,
label = "Volume",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -275,7 +274,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.fmModFreq,
label = "FM Freq",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -288,7 +287,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.fmModAmp,
label = "FM Ampl",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -301,7 +300,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.amModFreq,
label = "AM Freq",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -314,7 +313,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.amModAmp,
label = "AM Ampl",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -327,7 +326,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.feedback,
label = "Feedback",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -340,7 +339,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.delay,
label = "Delay",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -353,7 +352,7 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.delayDepth,
label = "Delay depth",
minValue = 0.005,
minValue = 0.0,
maxValue = 1.0,
step = 5.0 / 127.0,
width = 100,
@@ -368,26 +367,26 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.attack,
label = "Attack",
minValue = 0.005,
maxValue = 1.0,
step = 5.0 / 127.0,
minValue = 0.0,
maxValue = 5.0,
step = 25.0 / 127.0,
width = 100,
height = 120,
) { value ->
VstChipWorklet.attack = value
VstChipWorklet.attack = value / 5.0
}
)
include(
ExpKnobComponent(
value = VstChipWorklet.decay,
label = "Decay",
minValue = 0.005,
maxValue = 1.0,
step = 5.0 / 127.0,
minValue = 0.0,
maxValue = 5.0,
step = 25.0 / 127.0,
width = 100,
height = 120,
) { value ->
VstChipWorklet.decay = value
VstChipWorklet.decay = value / 5.0
}
)
include(
@@ -407,13 +406,13 @@ object MainView : Komponent(), CssName {
ExpKnobComponent(
value = VstChipWorklet.release,
label = "Release",
minValue = 0.005,
maxValue = 1.0,
step = 5.0 / 127.0,
minValue = 0.0,
maxValue = 5.0,
step = 25.0 / 127.0,
width = 100,
height = 120,
) { value ->
VstChipWorklet.release = value
VstChipWorklet.release = value / 5.0
}
)
}