diff options
author | cbdev <cb@cbcdn.com> | 2020-04-25 00:23:57 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-04-25 00:23:57 +0200 |
commit | ee086b47e5171698ed9c221e704120522f6abb73 (patch) | |
tree | 392f4220379aefb5b56179a00ac83e27bf3d01f6 /configs/print.lua | |
parent | 4a575cd3c466abfccf4516f5e9f6eacd534f4dc1 (diff) | |
download | midimonster-ee086b47e5171698ed9c221e704120522f6abb73.tar.gz midimonster-ee086b47e5171698ed9c221e704120522f6abb73.tar.bz2 midimonster-ee086b47e5171698ed9c221e704120522f6abb73.zip |
Add rtpmidi to README, add example config
Diffstat (limited to 'configs/print.lua')
-rw-r--r-- | configs/print.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/print.lua b/configs/print.lua new file mode 100644 index 0000000..c6391d3 --- /dev/null +++ b/configs/print.lua @@ -0,0 +1,5 @@ +-- This function prints the name of the channel it handles and it's value +-- It can be used for a simple debug output with the `default-handler` configuration option +function printchannel(value) + print(input_channel() .. " @ " .. value) +end |