Skip to content

Commit c01e552

Browse files
committed
Clean up README: Remove f-string from example, generic AI description
- Fixed example code: f-string → string concatenation (Python 2.7 compatible) - Updated AI Music Production use case: More generic language (LLMs and AI agents) - Ensures example code is compatible with both Live 11 and Live 12
1 parent 37e270d commit c01e552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def send_command(action, **params):
151151

152152
# Set tempo
153153
result = send_command('set_tempo', bpm=128)
154-
print(f"Tempo: {result['bpm']} BPM")
154+
print("Tempo: " + str(result['bpm']) + " BPM")
155155

156156
# Create a MIDI track
157157
result = send_command('create_midi_track', name='Bass')
@@ -225,7 +225,7 @@ This design ensures all LiveAPI calls happen on Ableton's main thread, preventin
225225
## Use Cases
226226

227227
- **Algorithmic Composition** - Generate music with code
228-
- **AI Music Production** - Control Ableton with Claude, GPT, or other LLMs
228+
- **AI Music Production** - Control Ableton with LLMs and AI agents
229229
- **Live Coding** - Real-time music performance
230230
- **Automation** - Batch processing and workflow automation
231231
- **Integration** - Connect Ableton to other software/hardware

0 commit comments

Comments
 (0)