Please create ability for shortcut command for Create Phrase

Hi

Please create ability for shortcut command for Create Phrase! :wink: -1 mouse click and little workflow improvement!

Renoise_Intel_64_Bit.jpg

I’ll just quickly repost some code here…

renoise.tool():add_keybinding {
  name = "Pattern Editor:Pattern Operations:Create Phrase",
  invoke = function()
    renoise.song().instruments[renoise.song().selected_instrument_index]:insert_phrase_at(1)
    renoise.app().window.active_middle_frame = renoise.ApplicationWindow.MIDDLE_FRAME_INSTRUMENT_PHRASE_EDITOR
    renoise.song().selected_phrase_index=1
  end
}

Tries to add ‘Create Phrase’ keybinding from the pattern editor to ‘Pattern Editor/Pattern Operations/’ in the preferences key bindings.

Not sure if it works as I haven’t tested it folks. Also it’s crude :slight_smile:

1 Like

thanks, i copied the code. it does work