This is my collection of LUA scripts for DAW Ardour (https://ardour.org/) Free to use or do whatever you want with it.
This script lets a user to glue few layered MIDI regions to one in "G-mode" (Grab Mode) in Ardour. All you need to do is to select one or more of the layered regions in "G-mode" and run the script. This script works only with Ardour 7, not with Ardour 6.9
(1) Download the script via "Raw" button from here: https://github.com/cooltehno/ardour-cooltehno-lua/blob/main/MIDI_Glue.lua (right mouse button -> Save Link As) and put the downloaded file in to the directory .config/adrour7/scripts (if the directory doesn't exist - just create it):
(2)
For comfortable usage - you can assign this script to assignable button in Ardour GUI:
(3) You can use the assigned button as it is, but you can make even more comfortable assigment using Shortcut through the Keyboard Shortcuts. In the GIF example the used combination is "Alt+G" (this is handy considering the use of "G" key for "G-mode"):
Just select desired regions in the bundle of layers you're going to "glue" then press Alt+G & Enter (this keyboard binding works, if you make the assigments (2),(3) described above in the installation). The Enter key closes the emerging dialogue with the default settings:
The script uses stendard Ardour's commands one by one:
- Set Range to Selected Regions
- Consolidate
- & returns the Mouse mode from "R" back to "G"
-
For default transparent new region drawing - Session Properties>MIDI Options>Draw tool creates opaque MIDI regions - must be unchecked:
- For default transparent new region recording - the “Rec:” drop-down (just right of the transport controls) - must be Snd on Snd:
https://discourse.ardour.org/t/midi-glue-lua-script-midi-join/107829
This script lets a user to toggle the Input Monitor of the Editor's Mixer Strip. The goal is to make this action assignable through the Keyboard Shortcuts Ardour's window. This script works both with Ardour 6.9 & 7.x.
(There's allready the assignable action in Ardour for Input Monitor - but this works only for Mixer window (Default Shortcut - "I")).
(1) Download the script via "Raw" button from here: https://github.com/cooltehno/ardour-cooltehno-lua/blob/main/Input_Monitor_Editor_Strip.lua (right mouse button -> Save Link As) and put the downloaded file in to the directory .config/adrour7/scripts (if the directory doesn't exist - just create it):
(2) Assign this script to assignable button in Ardour GUI:
(3)
Assign the desired Keyboard combination to the LUA Action button of this script through the Keyboard Shortcuts. In the GIF example the used combination is "Num." (the dot of a NumPad):
Just select desired tracks in the Editor window and press your assigned Keyboard combination (Num. for example) and you'll get a comfortable switch on/off function to monitor you input signals in the Editor window!!: