project_read
Read an FL Studio .flp file into JSON without running FL or altering it, so you can inspect project contents, extract parts, or verify writes.
Instructions
Read one FL Studio .flp file into JSON; FL need not run and the file is not changed. Use it to see what a project holds, to take parts from it, or to check what project_write wrote. For the style across many projects use profile; for the project open in FL right now, fl_exec. Views: 'summary' (start here: instruments, per-pattern stats, a per-track arrangement timeline, mixer effects); 'compact' (default: every note and clip as rows, the same shape project_write accepts; notes [bar, beat, tick, len_ticks, key, vel, instrument#], clips [track, bar, beat, tick, len_ticks, src, trim?] where src is a pattern id, s a sample, a an automation clip); 'full' (exact, round-trips byte for byte; large). Fails with the parser's error on a file that is not an .flp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | the .flp file, absolute or relative to the repo | |
| view | No | 'compact', 'summary' or 'full' | compact |
| unused | No | also list patterns not placed in the playlist and parked clips | |
| patterns | No | only these pattern ids (compact and full) | |
| arrangements | No | only these arrangements, by name |