compose_lofi_track
Generates a lofi track .tracktionedit file with configurable instrument presets and saves it to the given path.
Instructions
Generate a complete lofi track .tracktionedit file: 4 tracks (drums, bass, keys, pad), Fmaj7-Am7-Dm7-Cmaj7 progression, real 808 drum samples, master FX bus. Bass / keys / pad presets are configurable so you can A/B sounds without editing the composer. Saves to the given path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | Total bars (4 phrases × 4 bars) | |
| seed | No | Reproducible randomization seed for variation. | |
| tempo | No | BPM (76 = beach-lazy lofi) | |
| out_path | Yes | Where to write the .tracktionedit | |
| pad_preset | No | 4OSC Vox Pad WMF.trkpreset | |
| bass_preset | No | Filename inside Factory Presets/4OSC/ | 4OSC Smack Bass WMF.trkpreset |
| keys_preset | No | 4OSC E-Piano R WMF.trkpreset | |
| bass_octave_offset | No | Semitone offset for bass roots, in octaves. Most factory bass presets have tune1=-12 (octave-down detune), so playing at +1 octave (= MIDI roots in F3/A3/D3/C3) lands the actual sounding pitch in the proper bass register (F2-A2). Default 1 fixes the common sub-bass-mud issue. Use 0 for a deeper sub-bass. |