Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Create Drum & Bass Flip

song_to_dnb_flip
Destructive

Analyze a source audio track and build a multi-layer Drum & Bass remix sketch in FL Studio with drums, root sub-bass, and key-snapped melody on separate channels.

Instructions

Analyze a source audio track and build a multi-layer Drum & Bass remix sketch (drums, root sub-bass, and key-snapped melody) in FL Studio.

All-in-one remix workflow combining audio_analyze, gen_emit_dnb_groove, root sub-bass, and audio_melody_to_piano_roll, routing each layer to its own channel when drum_channel/bass_channel/melody_channel are supplied. Does not change FL Studio's live project tempo automatically—follow up with transport_set_tempo to audition at target_bpm. Requires the [audio] extra ([polyphonic] if polyphonic=True).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audio_path": "<audio_path>"
    },
    "name": "song_to_dnb_flip"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoDefault 0-based global Channel Rack index used for any layer without a dedicated override (`drum_channel`, `bass_channel`, `melody_channel`).
patternNoOptional 1-based pattern index to select before writing all layers; omit/None to use the current pattern.
dnb_barsNoTotal sketch length in bars (even values such as 4 or 8 fit 2-bar DnB loops cleanly; default 4).
dnb_styleNo2-bar DnB breakbeat style for the drum layer: 'amen' (default), 'think', 'modern', or 'halftime'.amen
audio_pathYesPath to the source audio file (MP3, WAV, FLAC, OGG) to remix into a DnB sketch.
polyphonicNoWhen `include_melody=True`, set True to capture chords via Spotify Basic Pitch (requires `[polyphonic]` extra) instead of monophonic pyin.
target_bpmNoTarget DnB tempo in BPM used to map transcribed seconds into bars (default 174.0; set FL's project tempo separately via `transport_set_tempo`).
clear_firstNoIf True (default), clear each targeted destination Piano Roll once before writing its layer.
bass_channelNoOptional 0-based Channel Rack index specifically for the detected-root sub-bass layer (overrides `channel`).
drum_channelNoOptional 0-based Channel Rack index specifically for the DnB drum breakbeat layer (overrides `channel`).
include_bassNoIf True (default), generate an octave-1 sub-bass pattern locked to the detected key root.
include_melodyNoIf True (default), transcribe and scale-snap the source track's melody into the first `dnb_bars` bars.
melody_channelNoOptional 0-based Channel Rack index specifically for the transcribed melody/chord layer (overrides `channel`).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.6.1
    • addedInput schema / properties / audio_path / description
      Added value: +"Path to the source audio file (MP3, WAV, FLAC, OGG) to remix into a DnB sketch."
    • addedInput schema / properties / bass_channel / description
      Added value: +"Optional 0-based Channel Rack index specifically for the detected-root sub-bass layer (overrides `channel`)."
    • addedInput schema / properties / channel / description
      Added value: +"Default 0-based global Channel Rack index used for any layer without a dedicated override (`drum_channel`, `bass_channel`, `melody_channel`)."
    • addedInput schema / properties / clear_first / description
      Added value: +"If True (default), clear each targeted destination Piano Roll once before writing its layer."
    • addedInput schema / properties / dnb_bars / description
      Added value: +"Total sketch length in bars (even values such as 4 or 8 fit 2-bar DnB loops cleanly; default 4)."
    • addedInput schema / properties / dnb_style / description
      Added value: +"2-bar DnB breakbeat style for the drum layer: 'amen' (default), 'think', 'modern', or 'halftime'."
    • addedInput schema / properties / drum_channel / description
      Added value: +"Optional 0-based Channel Rack index specifically for the DnB drum breakbeat layer (overrides `channel`)."
    • addedInput schema / properties / include_bass / description
      Added value: +"If True (default), generate an octave-1 sub-bass pattern locked to the detected key root."
    • addedInput schema / properties / include_melody / description
      Added value: +"If True (default), transcribe and scale-snap the source track's melody into the first `dnb_bars` bars."
    • addedInput schema / properties / melody_channel / description
      Added value: +"Optional 0-based Channel Rack index specifically for the transcribed melody/chord layer (overrides `channel`)."
    • addedInput schema / properties / pattern / description
      Added value: +"Optional 1-based pattern index to select before writing all layers; omit/None to use the current pattern."
    • addedInput schema / properties / polyphonic / description
      Added value: +"When `include_melody=True`, set True to capture chords via Spotify Basic Pitch (requires `[polyphonic]` extra) instead of monophonic pyin."
    • addedInput schema / properties / target_bpm / description
      Added value: +"Target DnB tempo in BPM used to map transcribed seconds into bars (default 174.0; set FL's project tempo separately via `transport_set_tempo`)."
  2. First observedv0.6.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds real context: the tool will not change the live project tempo, and it needs the `[audio]`/`[polyphonic]` optional extras. It documents the per-layer channel routing behavior when the override parameters are supplied, which is more than the annotations convey. It stops short of stating precisely what existing Piano Roll data is lost on each targeted channel.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose leads, then workflow/dependency detail, then caveats — a sensible front-loaded ordering with no filler sentences. It is somewhat dense with backticked tool and parameter names, but each clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter, destructive, multi-layer composition tool, the description covers the key gaps: layer composition, channel routing, the tempo caveat, and optional-extra requirements, while the output schema handles return values. The main omission is failure/partial-success behavior when only some layers can be written.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every one of the 13 parameters is already documented. The description reinforces a few of them (channel routing precedence, target_bpm not applying tempo), but adds little syntax or default detail beyond what the schema already states, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Analyze a source audio track and build a multi-layer Drum & Bass remix sketch (drums, root sub-bass, and key-snapped melody) in FL Studio.' It also enumerates the composite sub-tools (audio_analyze, gen_emit_dnb_groove, audio_melody_to_piano_roll), which tells an agent this is an orchestration tool rather than the single-purpose siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the follow-up action required after a call ('follow up with transport_set_tempo to audition at target_bpm') and the dependency condition ('Requires the `[audio]` extra (`[polyphonic]` if `polyphonic=True`)'). What it doesn't say explicitly is when an agent should prefer this composite over calling `audio_analyze` + `gen_emit_dnb_groove` + `audio_melody_to_piano_roll` individually — that choice is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools