FL Studio MIDI Scripting API
Built-in Python API to script MIDI controllers and drive FL Studio transport, mixer and channels.
| Language | Python |
|---|---|
| Category | DAW & host scripting |
| License | Proprietary |
| Platforms | macOS Windows |
| Install | Built into FL Studio (v20.7+); place a device_*.py script in the scripts folder |
| First released | ~2020 |
| Maintained | Yes |
| Links | Website |
Strengths
- Built-in Python 3 interpreter, no external install
- Rich device/transport/mixer/channel modules with official API stubs
Limitations
- Proprietary and closed source
- Scope limited to controller/Edison/Piano-roll scripting
Best for
Developers building MIDI hardware-controller integrations for FL Studio.
Minimal example
import transport
def OnMidiIn(event):
if event.status == 191 and event.data1 == 115:
if event.data2 > 0:
transport.start()
event.handled = True
Alternatives to FL Studio MIDI Scripting API
See all FL Studio MIDI Scripting API alternatives & how they compare →