diff --git a/Appli/TouchGFX/CelloEffects.touchgfx b/Appli/TouchGFX/CelloEffects.touchgfx index 9ddd6f3..7f83fe4 100644 --- a/Appli/TouchGFX/CelloEffects.touchgfx +++ b/Appli/TouchGFX/CelloEffects.touchgfx @@ -1,193 +1,1908 @@ -{ - "Application": { - "Screens": [ - { - "Name": "InitScreen", - "Components": [ - { - "Type": "Image", - "Name": "image1", - "Width": 800, - "Height": 480, - "RelativeFilename": "__generated\\alternate_theme_images_backgrounds_800x480_meteor_rain.png" - }, - { - "Type": "ButtonWithIcon", - "Name": "buttonWithIcon1", - "X": 280, - "Y": 215, - "Width": 240, - "Height": 50, - "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", - "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", - "IconPressed": "__generated\\icon_theme_images_action_done_50_50_E8F6FB.svg.png", - "IconReleased": "__generated\\icon_theme_images_action_input_50_50_E8F6FB.svg.png", - "IconX": 97, - "IconHeight": 50, - "IconWidth": 50, - "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" - } - ], - "Interactions": [ - { - "InteractionName": "Interaction1", - "Trigger": { - "Type": "TriggerClicked", - "TriggerComponent": "buttonWithIcon1" - }, - "Action": { - "Type": "ActionGotoScreen", - "ScreenTransitionType": "ScreenTransitionBlock", - "ActionComponent": "Screen1" - } - } - ], - "CustomActions": [ - { - "Name": "changeScreen" - } - ] - }, - { - "Name": "Screen1", - "Components": [ - { - "Type": "Image", - "Name": "image1", - "Width": 800, - "Height": 480, - "RelativeFilename": "__generated\\glass_theme_images_backgrounds_800x480_gradient_rainbow.png" - }, - { - "Type": "Slider", - "Name": "slider1", - "X": 360, - "Y": 224, - "Width": 300, - "Height": 11, - "IsHorizontalSlider": true, - "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", - "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", - "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", - "BackgroundX": 16, - "BackgroundY": 11, - "IndicatorMax": 300, - "ValueMax": 100, - "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" - }, - { - "Type": "Gauge", - "Name": "gauge1", - "X": 41, - "Y": 104, - "Width": 240, - "Height": 240, - "Preset": "alternate_theme\\presets\\gauges\\medium\\active.json", - "FileNameBackground": "__generated\\alternate_theme_images_widgets_gauge_medium_backgrounds_active.png", - "RotationCenterX": 120.0, - "RotationCenterY": 120.0, - "StartAngle": -113.0, - "EndAngle": 112.0, - "RangeMax": 100.0, - "InitialValue": 50.0, - "UseAnimation": true, - "Easing": "Linear", - "EasingOption": "In", - "FileNameNeedle": "__generated\\alternate_theme_images_widgets_gauge_medium_needles_smooth.png", - "NeedleRotationCenterX": 7.0, - "NeedleRotationCenterY": 67.0, - "NeedleMovingRenderingAlgorithm": "Bilinear Interpolation", - "NeedleSteadyRenderingAlgorithm": "Bilinear Interpolation", - "ArcColor": { - "Red": 20, - "Green": 151, - "Blue": 197 - }, - "ArcCapStyle": "Butt" - } - ], - "Interactions": [ - { - "InteractionName": "InteractionSlider1", - "HasCompletedTrigger": true, - "Trigger": { - "Type": "TriggerSliderValueChanged", - "TriggerComponent": "slider1" - }, - "Action": { - "Type": "ActionCustom", - "FunctionName": "slider1Clicked" - } - } - ], - "CustomActions": [ - { - "Name": "Volume", - "HasValue": true, - "ValueType": "int16_t" - } - ] - } - ], - "CustomContainerDefinitions": [], - "Name": "CelloEffects", - "Resolution": { - "Width": 800, - "Height": 480 - }, - "SelectedColorDepth": 16, - "StartupScreenName": "InitScreen", - "SelectedStartupLanguage": "GB", - "TouchGfxPath": "../Middlewares/ST/touchgfx", - "UIPath": ".", - "AvailableColorDepths": [ - 16 - ], - "AvailableLCDs": { - "16": "LCDGPU2D" - }, - "AvailableSections": [ - "ExtFlashSection", - "IntFlashSection" - ], - "AvailableResolutions": [ - { - "Width": 800, - "Height": 480 - } - ], - "PhysicalButtons": [], - "GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8", - "GenerateAssetsCommandOverride": "make -f simulator/gcc/Makefile assets -j8", - "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", - "PostGenerateCommandOverride": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", - "PostGenerateTargetCommand": "touchgfx update_project", - "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8", - "CompileSimulatorCommandOverride": "make -f simulator/gcc/Makefile -j1", - "RunSimulatorCommand": "build\\bin\\simulator.exe", - "CompileTargetCommandOverride": "make -f gcc/Makefile -j8", - "FlashTargetCommandOverride": "make -f gcc/Makefile flash", - "FlashTargetIntCommandOverride": "make -f gcc/Makefile intflash", - "LandscapeSkinX": 0, - "LandscapeSkinY": 0, - "PortraitSkinX": 0, - "PortraitSkinY": 0, - "DisplayOrientation": "Landscape", - "Family": "STM32H7", - "SubFamily": "STM32H7R7/7S7", - "Toolchain": "STM32CubeIDE", - "Platform": "m7", - "ProjectFile": "../../STM32H7S78-DK.ioc", - "OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components", - "OptionalComponents": [ - "GPU2D" - ], - "AdditionalFeatures": [ - "GPU2DVector", - "VectorFonts", - "Video" - ] - }, - "Version": "4.26.1", - "CreatedBy": "4.26.1" -} \ No newline at end of file +{ + "Application": { + "Screens": [ + { + "Name": "InitScreen", + "Components": [ + { + "Type": "Image", + "Name": "image1", + "Width": 800, + "Height": 480, + "RelativeFilename": "__generated\\alternate_theme_images_backgrounds_800x480_meteor_rain.png" + }, + { + "Type": "ButtonWithIcon", + "Name": "buttonWithIcon1", + "X": 280, + "Y": 215, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "IconPressed": "__generated\\icon_theme_images_action_done_50_50_E8F6FB.svg.png", + "IconReleased": "__generated\\icon_theme_images_action_input_50_50_E8F6FB.svg.png", + "IconX": 97, + "IconHeight": 50, + "IconWidth": 50, + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction1", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "buttonWithIcon1" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Overview" + } + } + ], + "CustomActions": [ + { + "Name": "changeScreen" + } + ] + }, + { + "Name": "Overview", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 0, + "Y": 20, + "Width": 800, + "Height": 50, + "TextId": "PEDALBOARD", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "tile1", + "X": 10, + "Y": 100, + "Width": 140, + "Height": 300, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "EQUALIZER", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "tile2", + "X": 170, + "Y": 100, + "Width": 140, + "Height": 300, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OVERDRIVE", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "tile3", + "X": 330, + "Y": 100, + "Width": 140, + "Height": 300, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "SATURATION", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "tile4", + "X": 490, + "Y": 100, + "Width": 140, + "Height": 300, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "ECHO", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "tile5", + "X": 650, + "Y": 100, + "Width": 140, + "Height": 300, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "REVERB", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_tile1", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "tile1" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Equalizer" + } + }, + { + "InteractionName": "Interaction_tile2", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "tile2" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Overdrive" + } + }, + { + "InteractionName": "Interaction_tile3", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "tile3" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Saturation" + } + }, + { + "InteractionName": "Interaction_tile4", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "tile4" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Echo" + } + }, + { + "InteractionName": "Interaction_tile5", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "tile5" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Reverb" + } + } + ], + "CustomActions": [] + }, + { + "Name": "Overdrive", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 150, + "Y": 20, + "Width": 500, + "Height": 50, + "TextId": "OVERDRIVE", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "backButton", + "X": 20, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "BACK", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "enableToggle", + "X": 600, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OFF", + "ReleasedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "PressedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel1", + "X": 60, + "Y": 140, + "Width": 200, + "Height": 40, + "TextId": "DRIVE", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider1", + "X": 280, + "Y": 145, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel2", + "X": 60, + "Y": 250, + "Width": 200, + "Height": 40, + "TextId": "TONE", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider2", + "X": 280, + "Y": 255, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel3", + "X": 60, + "Y": 360, + "Width": 200, + "Height": 40, + "TextId": "LEVEL", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider3", + "X": 280, + "Y": 365, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_back", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "backButton" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "goBack" + } + }, + { + "InteractionName": "Interaction_toggle", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "enableToggle" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "toggleEnabled" + } + }, + { + "InteractionName": "Interaction_slider1", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param1Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider2", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider2" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param2Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider3", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider3" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param3Changed" + }, + "HasCompletedTrigger": true + } + ], + "CustomActions": [ + { + "Name": "goBack" + }, + { + "Name": "toggleEnabled" + }, + { + "Name": "param1Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param2Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param3Changed", + "HasValue": true, + "ValueType": "int16_t" + } + ] + }, + { + "Name": "Saturation", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 150, + "Y": 20, + "Width": 500, + "Height": 50, + "TextId": "SATURATION", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "backButton", + "X": 20, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "BACK", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "enableToggle", + "X": 600, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OFF", + "ReleasedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "PressedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel1", + "X": 60, + "Y": 140, + "Width": 200, + "Height": 40, + "TextId": "DRIVE", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider1", + "X": 280, + "Y": 145, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel2", + "X": 60, + "Y": 250, + "Width": 200, + "Height": 40, + "TextId": "LEVEL", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider2", + "X": 280, + "Y": 255, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_back", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "backButton" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "goBack" + } + }, + { + "InteractionName": "Interaction_toggle", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "enableToggle" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "toggleEnabled" + } + }, + { + "InteractionName": "Interaction_slider1", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param1Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider2", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider2" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param2Changed" + }, + "HasCompletedTrigger": true + } + ], + "CustomActions": [ + { + "Name": "goBack" + }, + { + "Name": "toggleEnabled" + }, + { + "Name": "param1Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param2Changed", + "HasValue": true, + "ValueType": "int16_t" + } + ] + }, + { + "Name": "Echo", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 150, + "Y": 20, + "Width": 500, + "Height": 50, + "TextId": "ECHO", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "backButton", + "X": 20, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "BACK", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "enableToggle", + "X": 600, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OFF", + "ReleasedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "PressedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel1", + "X": 60, + "Y": 140, + "Width": 200, + "Height": 40, + "TextId": "DELAY", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider1", + "X": 280, + "Y": 145, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel2", + "X": 60, + "Y": 250, + "Width": 200, + "Height": 40, + "TextId": "FEEDBACK", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider2", + "X": 280, + "Y": 255, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel3", + "X": 60, + "Y": 360, + "Width": 200, + "Height": 40, + "TextId": "MIX", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider3", + "X": 280, + "Y": 365, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_back", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "backButton" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "goBack" + } + }, + { + "InteractionName": "Interaction_toggle", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "enableToggle" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "toggleEnabled" + } + }, + { + "InteractionName": "Interaction_slider1", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param1Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider2", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider2" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param2Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider3", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider3" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param3Changed" + }, + "HasCompletedTrigger": true + } + ], + "CustomActions": [ + { + "Name": "goBack" + }, + { + "Name": "toggleEnabled" + }, + { + "Name": "param1Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param2Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param3Changed", + "HasValue": true, + "ValueType": "int16_t" + } + ] + }, + { + "Name": "Reverb", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 150, + "Y": 20, + "Width": 500, + "Height": 50, + "TextId": "REVERB", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "backButton", + "X": 20, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "BACK", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "enableToggle", + "X": 600, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OFF", + "ReleasedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "PressedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel1", + "X": 60, + "Y": 140, + "Width": 200, + "Height": 40, + "TextId": "ROOMSIZE", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider1", + "X": 280, + "Y": 145, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel2", + "X": 60, + "Y": 250, + "Width": 200, + "Height": 40, + "TextId": "DAMPING", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider2", + "X": 280, + "Y": 255, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "paramLabel3", + "X": 60, + "Y": 360, + "Width": 200, + "Height": 40, + "TextId": "MIX", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "slider3", + "X": 280, + "Y": 365, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_back", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "backButton" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "goBack" + } + }, + { + "InteractionName": "Interaction_toggle", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "enableToggle" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "toggleEnabled" + } + }, + { + "InteractionName": "Interaction_slider1", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param1Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider2", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider2" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param2Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_slider3", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider3" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "param3Changed" + }, + "HasCompletedTrigger": true + } + ], + "CustomActions": [ + { + "Name": "goBack" + }, + { + "Name": "toggleEnabled" + }, + { + "Name": "param1Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param2Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "param3Changed", + "HasValue": true, + "ValueType": "int16_t" + } + ] + }, + { + "Name": "Equalizer", + "Components": [ + { + "Type": "Box", + "Name": "__background", + "X": 0, + "Y": 0, + "Width": 800, + "Height": 480, + "Color": { + "Red": 35, + "Green": 24, + "Blue": 15 + } + }, + { + "Type": "TextArea", + "Name": "titleText", + "X": 150, + "Y": 20, + "Width": 500, + "Height": 50, + "TextId": "EQUALIZER", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "ButtonWithLabel", + "Name": "backButton", + "X": 20, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "BACK", + "ReleasedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "PressedColor": { + "Red": 230, + "Green": 214, + "Blue": 170 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "ButtonWithLabel", + "Name": "enableToggle", + "X": 600, + "Y": 20, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "TextId": "OFF", + "ReleasedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "PressedColor": { + "Red": 200, + "Green": 90, + "Blue": 70 + }, + "TextRotation": "0", + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel1", + "X": 40, + "Y": 90, + "Width": 80, + "Height": 30, + "TextId": "EQ_31", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider1", + "X": 120, + "Y": 90, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel2", + "X": 40, + "Y": 160, + "Width": 80, + "Height": 30, + "TextId": "EQ_62", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider2", + "X": 120, + "Y": 160, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel3", + "X": 40, + "Y": 230, + "Width": 80, + "Height": 30, + "TextId": "EQ_125", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider3", + "X": 120, + "Y": 230, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel4", + "X": 40, + "Y": 300, + "Width": 80, + "Height": 30, + "TextId": "EQ_250", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider4", + "X": 120, + "Y": 300, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel5", + "X": 40, + "Y": 370, + "Width": 80, + "Height": 30, + "TextId": "EQ_500", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider5", + "X": 120, + "Y": 370, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel6", + "X": 420, + "Y": 90, + "Width": 80, + "Height": 30, + "TextId": "EQ_1K", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider6", + "X": 500, + "Y": 90, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel7", + "X": 420, + "Y": 160, + "Width": 80, + "Height": 30, + "TextId": "EQ_2K", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider7", + "X": 500, + "Y": 160, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel8", + "X": 420, + "Y": 230, + "Width": 80, + "Height": 30, + "TextId": "EQ_4K", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider8", + "X": 500, + "Y": 230, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel9", + "X": 420, + "Y": 300, + "Width": 80, + "Height": 30, + "TextId": "EQ_8K", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider9", + "X": 500, + "Y": 300, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "TextArea", + "Name": "bandLabel10", + "X": 420, + "Y": 370, + "Width": 80, + "Height": 30, + "TextId": "EQ_16K", + "TextRotation": "0", + "Color": { + "Red": 230, + "Green": 214, + "Blue": 170 + } + }, + { + "Type": "Slider", + "Name": "bandSlider10", + "X": 500, + "Y": 370, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction_back", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "backButton" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "goBack" + } + }, + { + "InteractionName": "Interaction_toggle", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "enableToggle" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "toggleEnabled" + } + }, + { + "InteractionName": "Interaction_bandSlider1", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band1Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider2", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider2" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band2Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider3", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider3" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band3Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider4", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider4" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band4Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider5", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider5" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band5Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider6", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider6" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band6Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider7", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider7" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band7Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider8", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider8" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band8Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider9", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider9" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band9Changed" + }, + "HasCompletedTrigger": true + }, + { + "InteractionName": "Interaction_bandSlider10", + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "bandSlider10" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "band10Changed" + }, + "HasCompletedTrigger": true + } + ], + "CustomActions": [ + { + "Name": "goBack" + }, + { + "Name": "toggleEnabled" + }, + { + "Name": "band1Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band2Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band3Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band4Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band5Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band6Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band7Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band8Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band9Changed", + "HasValue": true, + "ValueType": "int16_t" + }, + { + "Name": "band10Changed", + "HasValue": true, + "ValueType": "int16_t" + } + ] + } + ], + "CustomContainerDefinitions": [], + "Name": "CelloEffects", + "Resolution": { + "Width": 800, + "Height": 480 + }, + "SelectedColorDepth": 16, + "StartupScreenName": "InitScreen", + "SelectedStartupLanguage": "GB", + "TouchGfxPath": "../Middlewares/ST/touchgfx", + "UIPath": ".", + "AvailableColorDepths": [ + 16 + ], + "AvailableLCDs": { + "16": "LCDGPU2D" + }, + "AvailableSections": [ + "ExtFlashSection", + "IntFlashSection" + ], + "AvailableResolutions": [ + { + "Width": 800, + "Height": 480 + } + ], + "PhysicalButtons": [], + "GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8", + "GenerateAssetsCommandOverride": "make -f simulator/gcc/Makefile assets -j8", + "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", + "PostGenerateCommandOverride": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", + "PostGenerateTargetCommand": "touchgfx update_project", + "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8", + "CompileSimulatorCommandOverride": "make -f simulator/gcc/Makefile -j1", + "RunSimulatorCommand": "build\\bin\\simulator.exe", + "CompileTargetCommandOverride": "make -f gcc/Makefile -j8", + "FlashTargetCommandOverride": "make -f gcc/Makefile flash", + "FlashTargetIntCommandOverride": "make -f gcc/Makefile intflash", + "LandscapeSkinX": 0, + "LandscapeSkinY": 0, + "PortraitSkinX": 0, + "PortraitSkinY": 0, + "DisplayOrientation": "Landscape", + "Family": "STM32H7", + "SubFamily": "STM32H7R7/7S7", + "Toolchain": "STM32CubeIDE", + "Platform": "m7", + "ProjectFile": "../../STM32H7S78-DK.ioc", + "OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components", + "OptionalComponents": [ + "GPU2D" + ], + "AdditionalFeatures": [ + "GPU2DVector", + "VectorFonts", + "Video" + ] + }, + "Version": "4.26.1", + "CreatedBy": "4.26.1" +} diff --git a/Appli/TouchGFX/CelloEffects.touchgfx.backup-before-option2 b/Appli/TouchGFX/CelloEffects.touchgfx.backup-before-option2 new file mode 100644 index 0000000..9ddd6f3 --- /dev/null +++ b/Appli/TouchGFX/CelloEffects.touchgfx.backup-before-option2 @@ -0,0 +1,193 @@ +{ + "Application": { + "Screens": [ + { + "Name": "InitScreen", + "Components": [ + { + "Type": "Image", + "Name": "image1", + "Width": 800, + "Height": 480, + "RelativeFilename": "__generated\\alternate_theme_images_backgrounds_800x480_meteor_rain.png" + }, + { + "Type": "ButtonWithIcon", + "Name": "buttonWithIcon1", + "X": 280, + "Y": 215, + "Width": 240, + "Height": 50, + "Pressed": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_pressed.png", + "Released": "__generated\\alternate_theme_images_widgets_button_regular_height_50_medium_rounded_normal.png", + "IconPressed": "__generated\\icon_theme_images_action_done_50_50_E8F6FB.svg.png", + "IconReleased": "__generated\\icon_theme_images_action_input_50_50_E8F6FB.svg.png", + "IconX": 97, + "IconHeight": 50, + "IconWidth": 50, + "Preset": "alternate_theme\\presets\\button\\regular\\height_50\\medium_rounded_normal.json" + } + ], + "Interactions": [ + { + "InteractionName": "Interaction1", + "Trigger": { + "Type": "TriggerClicked", + "TriggerComponent": "buttonWithIcon1" + }, + "Action": { + "Type": "ActionGotoScreen", + "ScreenTransitionType": "ScreenTransitionBlock", + "ActionComponent": "Screen1" + } + } + ], + "CustomActions": [ + { + "Name": "changeScreen" + } + ] + }, + { + "Name": "Screen1", + "Components": [ + { + "Type": "Image", + "Name": "image1", + "Width": 800, + "Height": 480, + "RelativeFilename": "__generated\\glass_theme_images_backgrounds_800x480_gradient_rainbow.png" + }, + { + "Type": "Slider", + "Name": "slider1", + "X": 360, + "Y": 224, + "Width": 300, + "Height": 11, + "IsHorizontalSlider": true, + "BackgroundUnselected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_track_medium.png", + "BackgroundSelected": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_filler_medium.png", + "Indicator": "__generated\\alternate_theme_images_widgets_slider_horizontal_thick_rounded_dark.png", + "BackgroundX": 16, + "BackgroundY": 11, + "IndicatorMax": 300, + "ValueMax": 100, + "Preset": "alternate_theme\\presets\\slider\\horizontal\\thick\\medium_rounded_dark.json" + }, + { + "Type": "Gauge", + "Name": "gauge1", + "X": 41, + "Y": 104, + "Width": 240, + "Height": 240, + "Preset": "alternate_theme\\presets\\gauges\\medium\\active.json", + "FileNameBackground": "__generated\\alternate_theme_images_widgets_gauge_medium_backgrounds_active.png", + "RotationCenterX": 120.0, + "RotationCenterY": 120.0, + "StartAngle": -113.0, + "EndAngle": 112.0, + "RangeMax": 100.0, + "InitialValue": 50.0, + "UseAnimation": true, + "Easing": "Linear", + "EasingOption": "In", + "FileNameNeedle": "__generated\\alternate_theme_images_widgets_gauge_medium_needles_smooth.png", + "NeedleRotationCenterX": 7.0, + "NeedleRotationCenterY": 67.0, + "NeedleMovingRenderingAlgorithm": "Bilinear Interpolation", + "NeedleSteadyRenderingAlgorithm": "Bilinear Interpolation", + "ArcColor": { + "Red": 20, + "Green": 151, + "Blue": 197 + }, + "ArcCapStyle": "Butt" + } + ], + "Interactions": [ + { + "InteractionName": "InteractionSlider1", + "HasCompletedTrigger": true, + "Trigger": { + "Type": "TriggerSliderValueChanged", + "TriggerComponent": "slider1" + }, + "Action": { + "Type": "ActionCustom", + "FunctionName": "slider1Clicked" + } + } + ], + "CustomActions": [ + { + "Name": "Volume", + "HasValue": true, + "ValueType": "int16_t" + } + ] + } + ], + "CustomContainerDefinitions": [], + "Name": "CelloEffects", + "Resolution": { + "Width": 800, + "Height": 480 + }, + "SelectedColorDepth": 16, + "StartupScreenName": "InitScreen", + "SelectedStartupLanguage": "GB", + "TouchGfxPath": "../Middlewares/ST/touchgfx", + "UIPath": ".", + "AvailableColorDepths": [ + 16 + ], + "AvailableLCDs": { + "16": "LCDGPU2D" + }, + "AvailableSections": [ + "ExtFlashSection", + "IntFlashSection" + ], + "AvailableResolutions": [ + { + "Width": 800, + "Height": 480 + } + ], + "PhysicalButtons": [], + "GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8", + "GenerateAssetsCommandOverride": "make -f simulator/gcc/Makefile assets -j8", + "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", + "PostGenerateCommandOverride": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", + "PostGenerateTargetCommand": "touchgfx update_project", + "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8", + "CompileSimulatorCommandOverride": "make -f simulator/gcc/Makefile -j1", + "RunSimulatorCommand": "build\\bin\\simulator.exe", + "CompileTargetCommandOverride": "make -f gcc/Makefile -j8", + "FlashTargetCommandOverride": "make -f gcc/Makefile flash", + "FlashTargetIntCommandOverride": "make -f gcc/Makefile intflash", + "LandscapeSkinX": 0, + "LandscapeSkinY": 0, + "PortraitSkinX": 0, + "PortraitSkinY": 0, + "DisplayOrientation": "Landscape", + "Family": "STM32H7", + "SubFamily": "STM32H7R7/7S7", + "Toolchain": "STM32CubeIDE", + "Platform": "m7", + "ProjectFile": "../../STM32H7S78-DK.ioc", + "OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components", + "OptionalComponents": [ + "GPU2D" + ], + "AdditionalFeatures": [ + "GPU2DVector", + "VectorFonts", + "Video" + ] + }, + "Version": "4.26.1", + "CreatedBy": "4.26.1" +} \ No newline at end of file diff --git a/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_backgrounds_active.png b/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_backgrounds_active.png deleted file mode 100644 index 9a2669d..0000000 Binary files a/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_backgrounds_active.png and /dev/null differ diff --git a/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_needles_smooth.png b/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_needles_smooth.png deleted file mode 100644 index 144d692..0000000 Binary files a/Appli/TouchGFX/assets/images/__generated/alternate_theme_images_widgets_gauge_medium_needles_smooth.png and /dev/null differ diff --git a/Appli/TouchGFX/assets/images/__generated/glass_theme_images_backgrounds_800x480_gradient_rainbow.png b/Appli/TouchGFX/assets/images/__generated/glass_theme_images_backgrounds_800x480_gradient_rainbow.png deleted file mode 100644 index a476692..0000000 Binary files a/Appli/TouchGFX/assets/images/__generated/glass_theme_images_backgrounds_800x480_gradient_rainbow.png and /dev/null differ diff --git a/Appli/TouchGFX/gui/include/gui/echo_screen/EchoView.hpp b/Appli/TouchGFX/gui/include/gui/echo_screen/EchoView.hpp index 5392474..cfc94b9 100644 --- a/Appli/TouchGFX/gui/include/gui/echo_screen/EchoView.hpp +++ b/Appli/TouchGFX/gui/include/gui/echo_screen/EchoView.hpp @@ -14,9 +14,9 @@ public: virtual void goBack(); virtual void toggleEnabled(); - virtual void param1Changed(int value); - virtual void param2Changed(int value); - virtual void param3Changed(int value); + virtual void param1Changed(int16_t value); + virtual void param2Changed(int16_t value); + virtual void param3Changed(int16_t value); protected: }; diff --git a/Appli/TouchGFX/gui/include/gui/equalizer_screen/EqualizerView.hpp b/Appli/TouchGFX/gui/include/gui/equalizer_screen/EqualizerView.hpp index 5476d74..39368ea 100644 --- a/Appli/TouchGFX/gui/include/gui/equalizer_screen/EqualizerView.hpp +++ b/Appli/TouchGFX/gui/include/gui/equalizer_screen/EqualizerView.hpp @@ -14,16 +14,16 @@ public: virtual void goBack(); virtual void toggleEnabled(); - virtual void band1Changed(int value); - virtual void band2Changed(int value); - virtual void band3Changed(int value); - virtual void band4Changed(int value); - virtual void band5Changed(int value); - virtual void band6Changed(int value); - virtual void band7Changed(int value); - virtual void band8Changed(int value); - virtual void band9Changed(int value); - virtual void band10Changed(int value); + virtual void band1Changed(int16_t value); + virtual void band2Changed(int16_t value); + virtual void band3Changed(int16_t value); + virtual void band4Changed(int16_t value); + virtual void band5Changed(int16_t value); + virtual void band6Changed(int16_t value); + virtual void band7Changed(int16_t value); + virtual void band8Changed(int16_t value); + virtual void band9Changed(int16_t value); + virtual void band10Changed(int16_t value); protected: }; diff --git a/Appli/TouchGFX/gui/include/gui/overdrive_screen/OverdriveView.hpp b/Appli/TouchGFX/gui/include/gui/overdrive_screen/OverdriveView.hpp index 1d18d29..82e2dd5 100644 --- a/Appli/TouchGFX/gui/include/gui/overdrive_screen/OverdriveView.hpp +++ b/Appli/TouchGFX/gui/include/gui/overdrive_screen/OverdriveView.hpp @@ -14,9 +14,9 @@ public: virtual void goBack(); virtual void toggleEnabled(); - virtual void param1Changed(int value); - virtual void param2Changed(int value); - virtual void param3Changed(int value); + virtual void param1Changed(int16_t value); + virtual void param2Changed(int16_t value); + virtual void param3Changed(int16_t value); protected: }; diff --git a/Appli/TouchGFX/gui/include/gui/reverb_screen/ReverbView.hpp b/Appli/TouchGFX/gui/include/gui/reverb_screen/ReverbView.hpp index df8f80e..c262836 100644 --- a/Appli/TouchGFX/gui/include/gui/reverb_screen/ReverbView.hpp +++ b/Appli/TouchGFX/gui/include/gui/reverb_screen/ReverbView.hpp @@ -14,9 +14,9 @@ public: virtual void goBack(); virtual void toggleEnabled(); - virtual void param1Changed(int value); - virtual void param2Changed(int value); - virtual void param3Changed(int value); + virtual void param1Changed(int16_t value); + virtual void param2Changed(int16_t value); + virtual void param3Changed(int16_t value); protected: }; diff --git a/Appli/TouchGFX/gui/include/gui/saturation_screen/SaturationView.hpp b/Appli/TouchGFX/gui/include/gui/saturation_screen/SaturationView.hpp index f57c5fa..8f437c7 100644 --- a/Appli/TouchGFX/gui/include/gui/saturation_screen/SaturationView.hpp +++ b/Appli/TouchGFX/gui/include/gui/saturation_screen/SaturationView.hpp @@ -14,8 +14,8 @@ public: virtual void goBack(); virtual void toggleEnabled(); - virtual void param1Changed(int value); - virtual void param2Changed(int value); + virtual void param1Changed(int16_t value); + virtual void param2Changed(int16_t value); protected: }; diff --git a/Appli/TouchGFX/gui/src/echo_screen/EchoView.cpp b/Appli/TouchGFX/gui/src/echo_screen/EchoView.cpp index 6f61896..5726560 100644 --- a/Appli/TouchGFX/gui/src/echo_screen/EchoView.cpp +++ b/Appli/TouchGFX/gui/src/echo_screen/EchoView.cpp @@ -32,15 +32,15 @@ void EchoView::toggleEnabled() enableToggle.invalidate(); } -void EchoView::param1Changed(int value) +void EchoView::param1Changed(int16_t value) { AudioEffects_GetParams()->echo.delay_ms = value * 10.0f; } -void EchoView::param2Changed(int value) +void EchoView::param2Changed(int16_t value) { AudioEffects_GetParams()->echo.feedback = value / 100.0f * 0.95f; } -void EchoView::param3Changed(int value) +void EchoView::param3Changed(int16_t value) { AudioEffects_GetParams()->echo.mix = value / 100.0f; } diff --git a/Appli/TouchGFX/gui/src/equalizer_screen/EqualizerView.cpp b/Appli/TouchGFX/gui/src/equalizer_screen/EqualizerView.cpp index 9aefc65..ea0dbff 100644 --- a/Appli/TouchGFX/gui/src/equalizer_screen/EqualizerView.cpp +++ b/Appli/TouchGFX/gui/src/equalizer_screen/EqualizerView.cpp @@ -32,43 +32,43 @@ void EqualizerView::toggleEnabled() enableToggle.invalidate(); } -void EqualizerView::band1Changed(int value) +void EqualizerView::band1Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[0].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band2Changed(int value) +void EqualizerView::band2Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[1].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band3Changed(int value) +void EqualizerView::band3Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[2].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band4Changed(int value) +void EqualizerView::band4Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[3].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band5Changed(int value) +void EqualizerView::band5Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[4].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band6Changed(int value) +void EqualizerView::band6Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[5].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band7Changed(int value) +void EqualizerView::band7Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[6].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band8Changed(int value) +void EqualizerView::band8Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[7].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band9Changed(int value) +void EqualizerView::band9Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[8].gain_db = (value / 100.0f) * 48.0f - 24.0f; } -void EqualizerView::band10Changed(int value) +void EqualizerView::band10Changed(int16_t value) { AudioEffects_GetParams()->equalizer.bands[9].gain_db = (value / 100.0f) * 48.0f - 24.0f; } diff --git a/Appli/TouchGFX/gui/src/overdrive_screen/OverdriveView.cpp b/Appli/TouchGFX/gui/src/overdrive_screen/OverdriveView.cpp index 30675f5..9c3f6de 100644 --- a/Appli/TouchGFX/gui/src/overdrive_screen/OverdriveView.cpp +++ b/Appli/TouchGFX/gui/src/overdrive_screen/OverdriveView.cpp @@ -32,15 +32,15 @@ void OverdriveView::toggleEnabled() enableToggle.invalidate(); } -void OverdriveView::param1Changed(int value) +void OverdriveView::param1Changed(int16_t value) { AudioEffects_GetParams()->overdrive.drive = value / 100.0f; } -void OverdriveView::param2Changed(int value) +void OverdriveView::param2Changed(int16_t value) { AudioEffects_GetParams()->overdrive.tone = value / 100.0f; } -void OverdriveView::param3Changed(int value) +void OverdriveView::param3Changed(int16_t value) { AudioEffects_GetParams()->overdrive.level = value / 100.0f; } diff --git a/Appli/TouchGFX/gui/src/reverb_screen/ReverbView.cpp b/Appli/TouchGFX/gui/src/reverb_screen/ReverbView.cpp index a94b72c..b3ace4a 100644 --- a/Appli/TouchGFX/gui/src/reverb_screen/ReverbView.cpp +++ b/Appli/TouchGFX/gui/src/reverb_screen/ReverbView.cpp @@ -32,15 +32,15 @@ void ReverbView::toggleEnabled() enableToggle.invalidate(); } -void ReverbView::param1Changed(int value) +void ReverbView::param1Changed(int16_t value) { AudioEffects_GetParams()->reverb.room_size = value / 100.0f; } -void ReverbView::param2Changed(int value) +void ReverbView::param2Changed(int16_t value) { AudioEffects_GetParams()->reverb.damping = value / 100.0f; } -void ReverbView::param3Changed(int value) +void ReverbView::param3Changed(int16_t value) { AudioEffects_GetParams()->reverb.mix = value / 100.0f; } diff --git a/Appli/TouchGFX/gui/src/saturation_screen/SaturationView.cpp b/Appli/TouchGFX/gui/src/saturation_screen/SaturationView.cpp index 653839d..796d981 100644 --- a/Appli/TouchGFX/gui/src/saturation_screen/SaturationView.cpp +++ b/Appli/TouchGFX/gui/src/saturation_screen/SaturationView.cpp @@ -32,11 +32,11 @@ void SaturationView::toggleEnabled() enableToggle.invalidate(); } -void SaturationView::param1Changed(int value) +void SaturationView::param1Changed(int16_t value) { AudioEffects_GetParams()->saturation.drive = value / 100.0f; } -void SaturationView::param2Changed(int value) +void SaturationView::param2Changed(int16_t value) { AudioEffects_GetParams()->saturation.level = value / 100.0f; }