flstudio-scripting
БесплатноБез исполняемых скриптовНе проверенFL Studio Python scripting for MIDI controller development, piano roll manipulation, Edison audio editing, workflow automation, and FLP file parsing with…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
FL Studio Python Scripting
Complete reference for FL Studio's Python API: MIDI controller scripting (14 modules, 427+ functions), piano roll note manipulation, Edison audio editing, and FLP file parsing with PyFLP.
Quick Start
Requirements
- FL Studio 20.8.4+, Python 3.6+
Check API Version
import general
print(f"API Version: {general.getVersion()}")
Script Installation
Place scripts in Shared\Python\User Scripts folder.
Three Scripting Contexts
1. MIDI Controller Scripting
Purpose: Control FL Studio through hardware MIDI controllers and send feedback to devices. Runs: Continuously while FL Studio is open. Available modules: transport, mixer, channels, arrangement, patterns, playlist, device, ui, general, plugins, screen, launchMapPages, utils, callbacks
Entry points:
def OnInit():
"""Called when script starts."""
pass
def OnDeInit():
"""Called when script stops."""
pass
def OnMidiMsg(msg):
"""Called for incoming MIDI messages."""
pass
def OnControlChange(msg):
"""Called for CC messages."""
pass
def OnNoteOn(msg):
"""Called for note-on messages."""
pass
def OnRefresh(flags):
"""Called when FL Studio state changes."""
pass
2. Piano Roll Scripting
Purpose: Manipulate notes and markers in the piano roll editor.
Runs: Once when user invokes through Scripts menu.
Available modules: flpianoroll, enveditor
import flpianoroll
score = flpianoroll.score
for note in score.notes:
note.velocity = 0.8 # Set all velocities to 80%
3. Edison Audio Scripting
Purpose: Edit and process audio samples in Edison.
Runs: Once within Edison's context.
Available modules: enveditor
API Module Reference Map
Navigate to the appropriate reference file based on what you need to control. Read these files ONLY when you need specific API signatures.
Core Workflow Modules
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| transport | 20 | Play, stop, record, position, tempo, looping | api-transport.md |
| mixer | 69 | Track volume/pan/mute/solo, EQ, routing, effects | api-mixer.md |
| channels | 48 | Channel rack, grid bits, step sequencer, notes | api-channels.md |
Arrangement Modules
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| arrangement + patterns | 9 + 25 | Markers, time, pattern control, groups | api-arrangement-patterns.md |
| playlist | 41 | Playlist tracks, live mode, performance, blocks | api-playlist.md |
Device & Communication
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| device | 34 | MIDI I/O, sysex, dispatch, hardware refresh | api-device.md |
UI & Application Control
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| ui + general | 71 + 24 | Windows, navigation, undo/redo, version, snap | api-ui-general.md |
Plugins
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| plugins | 13 | Plugin parameters, presets, names, colors | api-plugins.md |
Specialized Hardware Display
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| screen + launchMapPages | 9 + 12 | AKAI Fire screen, launchpad page management | api-screen-launchmap.md |
Utilities, Constants & MIDI Reference
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| utils + constants | 21 | Color conversion, math, note names, MIDI tables | api-utils-constants.md |
Callbacks & FlMidiMsg
| Module | Functions | What It Controls | Reference |
|---|---|---|---|
| callbacks | 26 | All callback functions, FlMidiMsg class, event flow | api-callbacks.md |
Non-MIDI Scripting APIs
Piano Roll & Edison
Note, Marker, ScriptDialog, score classes for piano roll manipulation plus Edison enveditor utilities. See piano-roll-edison.md
FLP File Parsing (PyFLP)
External library for reading/writing .flp project files without FL Studio running. Batch processing, analysis, automated generation. See pyflp.md
Common Patterns
Minimal MIDI Controller Skeleton
# name=My Controller
# url=https://example.com
impor
Установить flstudio-scripting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл flstudio-scripting?
FL Studio Python scripting for MIDI controller development, piano roll manipulation, Edison audio editing, workflow automation, and FLP file parsing with PyFLP. Use for programmatic configuration, device customization, MIDI transport, macros, and save file manipulation. Covers all 427+ API functions across 14 MIDI scripting modules plus piano roll, Edison, and PyFLP contexts.
Как установить скилл flstudio-scripting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flstudio-scripting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic