Access to phrase editor

Do I understand correctly that since renoise.song().selected_phrase is read-only, there is no way to select another phrase via code? And also, we can’t make phrase play/stop via code, right?

I’m asking because I wanted to make quick preview of phrases in my tool.

You’re looking for renoise.song().selected_phrase_index to select a specific phrase. renoise.song().selected_phrase is the actual phrase object that is selected.

I’m not aware of anything in the API that can start/stop phrase playback.

1 Like

Yes, it is possible!
The triggering and stopping of a phrase is linked to a note. You can use OSC to play / stop the note. This will play / stop the linked phrase (in program or keymap mode).

2 Likes