passthrough v2

passthrough v2

mod_menu

passthrough offers midi routing between connected ports on norns. it is similar to midi thru on hardware devices although it comes with some extra functionality.

new changes

v2 introduces a number of new changes

midi routing for all connected ports, simultaneously

where the previous version of passthrough allowed for midi data to be passed between just two selected devices, this limitation is no longer. all connected ports can have a unique passthrough configuration

target - all or specific device

the previous version of passthrough required an interface as output port. this nomenclature has been abandoned in favour of targets. incoming midi messages from a port can be routed to one or all other connected ports

mod

passthrough has been updated to work with the new mods system introduced in norns: update 210927. as a mod, passthrough runs irrespective of current script. after installing, there will be a passthrough entry in the SYSTEM → MODS menu. the mod can be accessed within scripts, allowing for midi event callbacks to be defined.

midi panic

changing note quantization parameters such as scale / root note before a midi note_off has been received can cause hung notes. passthrough now offers a midi panic trigger to stop all active notes

requirements

norns running version 210927 + midi compatible hardware or virtual devices

installation

passthrough is available from the maiden catalogue or by running the following command in the maiden repl ;install https://github.com/nattog/passthrough

breaking changes from v1

the new version of passthrough includes some api changes.

  • interface is no longer and is replaced by target
  • interface_channel is therefore no longer available
  • cc msg direction is no longer available, as v2 offers routing for all devices
  • user_interface_event method is no longer available
  • user_device_event method has been renamed user_event

documentation

  • the latest documentation will always be available on github
  • example scripts for running passthrough as a library or as a mod are included and ready to use after installation

reporting bugs and issues

i have been working on this new version of passthrough for a while, and have tested it with equipment i have access to. i do not, however, have the ability to test it comprehensively in the same way as releasing it publicly will manage. so, all bug reports and issues found are hugely appreciated. code and documentation contributions are always welcome.

44 Likes

Nice work, this is exactly what mods are going to be awesome for. Thanks <3

4 Likes