fl_render
Render an FL Studio .flp project to WAV and MP3, then generate a spectrogram and short report for checking a piece after project_write.
Instructions
Render an .flp to audio: a .wav and .mp3 beside it (replacing earlier ones), then a spectrogram and a short report. Call it after project_write to check a piece. FL renders from the command line, so an FL the harness started is saved first and closed; an FL the user started is left alone and the render refused until they close it. Runs detached and returns at once; a 2-minute piece takes under a minute. Returns {ok, rendering, log, saved_open_project}. Then call render_report(path) until it stops saying the render is running, and make no live call (fl_exec, fl_call, fl_transport) before that: FL is closed while it renders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | the key the piece is written in, e.g. 'F minor' or 'G#m'; the log then says how much pitch energy falls outside its scale | |
| path | Yes | the .flp to render | |
| reopen | No | open the project in FL again when done |