How to use FL Studio How to switch FLEX presets from a MIDI controller
I'm yosi, the maintainer of Chillout with Beats.
With features implemented in FL Studio 20.7MIDI ScriptingAllows you to change FLEX presets from your MIDI controller using.
It would be convenient if you could play it with a MIDI keyboard and easily switch between them with a button.
I think that various scripts will be created in the future.
You can use it by assigning MIDI controllers and parameters in the same way, so let's remember how to do it.
Preparations for switching FLEX presets from MIDI controllers
Before you start FL Studio, do the following:
First, download the script published in the official form.
(Login required)
Link transition and download FLEX.zip.
After downloading, unzip it and put it in the Hardware folder.
I think that the first half is the following path.
This completes the preparations.
Start FL Studio.
Set a script on your MIDI controller
Click "OPTIONS"-> "MIDI Settings" in the menu. (OrF10 )
Select "Input" of the MIDI controller to be used, and change "Controller type" to "FLEX Program Change (user)".
Click Debug.
Then click "Script output" from "View".
"Debug" and "Script output" are displayed.
Know the message content of the MIDI controller
Decide which button on your MIDI controller will allow you to change the FLEX preset.
I'll use Maschine here, but the procedure is the same for any MIDI controller.
I would like to use the following two buttons.
Try pressing the left and right buttons.
If you look at "Debug", "C # 1" and "D1" are recorded in "Note On".
What you see here depends on your MIDI controller.
Click Edit script.
There are many things that are displayed, but the following two points are important in this script.
All you have to do is assign a MIDI message to the FLEX presets "Load Next" and "Load Previous" when you press the button. (0x means hexadecimal, and since it is 16F, it is 6 in decimal)
MIDI messages have a "Note on" event and a "Control change" event, so I set them in the red frame below.
There are two points below.
・ Several values for "Note on" and "Control change"
I will explain both when the output MIDI message of the MIDI controller is "Note on" and "Control change".
Modify the script (for Note on)
In this case, since it is "C # 1" and "D1" in the "Note on" event, first convert "C # 1" and "D1" to MIDI note numbers.
Converting is easy and simply open the piano roll and move the mouse to the keyboard in question.
If you look at the Hit Bar in this state, you can see the MIDI note number. (13 and 14 in this case)
If you don't see the Hint Bar (shown on the left), click VIEW-> Toolbars-> Hint bar in the menu.
Change the following XNUMX places.
When the change is completed, save it by overwriting.
Change the script (for Control change)
I also tried a control change separately.
Besides the buttons, I could also go to the knobs.
The red frame below is the focus of the control change.
In this example, I moved two knobs.
Change to this "01" and "00".
You can leave the default control change part.
When the change is completed, save it by overwriting.
Operation check with FLEX
Go back to Script output and click Reload script.
Start "FLEX".
With the FLEX in focus, try operating it from a MIDI controller.
If the preset changes, it is successful.
How to use FL Studio Summary of how to switch FLEX presets from a MIDI controller
It's a little troublesome, but it seems that there will be a lot of things that can be done in the future.
I will keep track of scripting.
Comment