How to use FL Studio How to switch FLEX presets from a MIDI controller

2020 05 13 23x37 18 FL Studio
Sponsoring

How to use FL Studio How to switch FLEX presets from a MIDI controller

Music Software Bundles from Pluginboutique.com

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.

2020 05 13 10x58 02

After downloading, unzip it and put it in the Hardware folder.

I think that the first half is the following path.

C: \ Program Files \ Image-Line \ Date \ FL Studio \ Settings \ Hardware \ FLEX

This completes the preparations.

Start FL Studio.

Set a script on your MIDI controller

Click "OPTIONS"-> "MIDI Settings" in the menu. (OrF10 )

2020 05 13 11x18 29

Select "Input" of the MIDI controller to be used, and change "Controller type" to "FLEX Program Change (user)".

2020 05 13 11x31 37

Click Debug.

2020 05 13 12x01 57

Then click "Script output" from "View".

2020 05 13 12x40 43

"Debug" and "Script output" are displayed.

2020 05 13 12x42 31

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.

2020 05 13 13x10 12

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.

2020 05 13 13h15 22 1

Click Edit script.

2020 05 13 13x02 06

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.

2020 05 13 20x24 07

 

There are two points below.

-Whether the "Note on" event or the "Control change" event is flying
・ 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.

2020 05 13 13h15 22 1

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)

2020 05 13 20x39 20

If you don't see the Hint Bar (shown on the left), click VIEW-> Toolbars-> Hint bar in the menu.

2020 05 13 20x40 08

Change the following XNUMX places.

2020 05 13 22x36 52

When the change is completed, save it by overwriting.

2020 05 13 23x31 16

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.

2020 05 13 22x47 48

Change to this "01" and "00".

You can leave the default control change part.

2020 05 13 23x28 34

When the change is completed, save it by overwriting.

2020 05 13 23x31 16

Operation check with FLEX

Go back to Script output and click Reload script.

2020 05 13 23x32 05

Start "FLEX".

With the FLEX in focus, try operating it from a MIDI controller.

If the preset changes, it is successful.

2020 05 13 22x50 30

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

I copied the title and URL