set_song
Configure all song-wide Ableton Live settings in one undo step; omit arguments to read tempo, key, loop, and quantization values.
Instructions
Set song-wide settings in one undo step; returns every setting as Live now reports it.
tempo 20..999 BPM; time_signature "3/4"; key a root ("F#") or root plus scale ("A minor"); scale one of Live's scales ("Minor", "Dorian", ...); swing 0..1; groove_amount 0..1.31; loop_start/loop_end times and loop_length a length ("8 bars"), giving the arrangement loop (also the export range); launch_quantization "none".."1/32" ("1 bar", "1/16"); record_quantization "none", "1/16", "1/8T"...; follow = arrangement follows the playhead. record_mode arms arrangement recording. Example: set_song(tempo=124, key="A minor", time_signature="4/4"). No arguments: read the settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| link | No | ||
| loop | No | ||
| scale | No | ||
| swing | No | ||
| tempo | No | ||
| follow | No | ||
| loop_end | No | ||
| punch_in | No | ||
| metronome | No | ||
| punch_out | No | ||
| loop_start | No | ||
| scale_mode | No | ||
| loop_length | No | ||
| record_mode | No | ||
| groove_amount | No | ||
| session_record | No | ||
| tempo_follower | No | ||
| time_signature | No | ||
| arrangement_overdub | No | ||
| launch_quantization | No | ||
| record_quantization | No | ||
| session_automation_record | No |