Create Drum & Bass Flip
song_to_dnb_flipAnalyze 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
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | Default 0-based global Channel Rack index used for any layer without a dedicated override (`drum_channel`, `bass_channel`, `melody_channel`). | |
| pattern | No | Optional 1-based pattern index to select before writing all layers; omit/None to use the current pattern. | |
| dnb_bars | No | Total sketch length in bars (even values such as 4 or 8 fit 2-bar DnB loops cleanly; default 4). | |
| dnb_style | No | 2-bar DnB breakbeat style for the drum layer: 'amen' (default), 'think', 'modern', or 'halftime'. | amen |
| audio_path | Yes | Path to the source audio file (MP3, WAV, FLAC, OGG) to remix into a DnB sketch. | |
| polyphonic | No | When `include_melody=True`, set True to capture chords via Spotify Basic Pitch (requires `[polyphonic]` extra) instead of monophonic pyin. | |
| target_bpm | No | 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`). | |
| clear_first | No | If True (default), clear each targeted destination Piano Roll once before writing its layer. | |
| bass_channel | No | Optional 0-based Channel Rack index specifically for the detected-root sub-bass layer (overrides `channel`). | |
| drum_channel | No | Optional 0-based Channel Rack index specifically for the DnB drum breakbeat layer (overrides `channel`). | |
| include_bass | No | If True (default), generate an octave-1 sub-bass pattern locked to the detected key root. | |
| include_melody | No | If True (default), transcribe and scale-snap the source track's melody into the first `dnb_bars` bars. | |
| melody_channel | No | Optional 0-based Channel Rack index specifically for the transcribed melody/chord layer (overrides `channel`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||