lc_create_song
Create a new empty song file in a specified folder, with options for tempo, scale, loop, and title. Returns the usable tick range and approximate BPM.
Instructions
Create a new empty song file at //.jsonl. Fails if the song already exists unless force=true. Returns the usable tick range and an approximate BPM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| song | Yes | Song number 00..99. | |
| force | No | Overwrite an existing (and possibly write-protected) song. | |
| pages | No | Number of pages (default 16). | |
| scale | No | Scale name or index; see lc_list_instruments. | |
| speed | No | Tempo value (LC default 30). | |
| title | No | Song title. | |
| editor | No | Author name. | |
| folder | Yes | Folder name under the music root, or an absolute path. | |
| scaleKey | No | Scale root as a semitone offset (0=C). | |
| enableLoop | No | Loop the song (default true). | |
| loopEndBar | No | Loop end page, or null. | |
| barsPerPage | No | Musical bars a page spans (default 4). | |
| loopStartBar | No | Loop start page, or null. | |
| ticksPerPage | No | Ticks actually played per page (default 32). |