Commit Graph

53 Commits (master)

Author SHA1 Message Date
nixo e00ab5e45b Fix jog back on djcontrol instinct 2020-07-25 21:30:17 +02:00
Albert Graef b39484c0ac Make the -r optional, so that just 'midizap rcfile' will work. 2018-10-15 05:56:47 +02:00
Albert Graef 56ea96686a Add a built-in patchbay facility (JACK_IN/JACK_OUT directives). 2018-10-14 10:47:01 +02:00
Albert Graef d9c72d6ff1 Cosmetic changes in debugging output. 2018-09-23 11:31:10 +02:00
Albert Graef fe3378be4f Add an option and directive for pass-through of non-system messages. 2018-09-20 01:25:18 +02:00
Albert Graef 5a87c30f66 Make it possible to specify exactly which ports MIDI pass-through should be applied to. 2018-09-18 22:31:12 +02:00
Albert Graef d33034cc58 Text and comment changes. 2018-09-18 09:24:22 +02:00
Albert Graef a81a0f87da Add synthetic macro events, change detection, and some refactoring bugfixes. 2018-09-15 23:52:56 +02:00
Albert Graef f2aedd6267 Add support for direct feedback. 2018-09-13 19:38:32 +02:00
Albert Graef 7c9147b4d4 Cosmetic changes to the help message. 2018-09-13 05:29:37 +02:00
Albert Graef fd883c1391 Allow up to four different internal shift keys. 2018-09-12 19:57:03 +02:00
Albert Graef 3e47533617 Add an automatic feedback option (enabled by default) to keep track of incoming feedback, so that incremental data translations use the right values. Also add a command line option and config file directive to disable it if needed, and a directive for system pass-through which corresponds to the -s command line option. 2018-09-12 10:51:27 +02:00
Albert Graef 6c4dbb03cf Add an option for direct pass-through of system messages. 2018-09-08 17:55:12 +02:00
Albert Graef 8f9d1a4ae8 Bugfixes in mod translations. 2018-09-05 04:58:32 +02:00
Albert Graef 7fbae6adb8 Allow empty output sequences, and add a special NOP token which doesn't produce any output. This makes it possible to have translations which don't produce any output, suppressing any default translations. 2018-09-03 17:04:37 +02:00
Albert Graef 22ff7683d2 Fix up -o option. 2018-09-02 00:12:36 +02:00
Albert Graef 18cf14b888 To be on the safe side, check the result of realpath(). 2018-08-31 12:56:33 +02:00
Albert Graef 28b140fca2 Remove some obsolete #defines. 2018-08-30 22:12:22 +02:00
Albert Graef 5decee2c3b Add -P option to run with real-time priority. 2018-08-30 21:48:58 +02:00
Albert Graef c509e46926 Improved error messages. 2018-08-30 16:23:46 +02:00
Albert Graef bad70bfaf7 Change the value list syntax to curly braces to avoid some ambiguities. 2018-08-30 05:46:30 +02:00
Albert Graef 67a34e7693 Add a transposition flags for swapping offset and value in mod translations. 2018-08-29 14:52:20 +02:00
Albert Graef e31eb2b031 Increase the maximum recursion depth. 2018-08-29 00:35:07 +02:00
Albert Graef 5241d9a0c9 Add support for recursive translations (experimental). 2018-08-29 00:35:07 +02:00
Albert Graef 0d5a542146 Typo. 2018-08-29 00:19:18 +02:00
Albert Graef 832e98266c For consistency, treat notes like the other messages having a parameter value, so that they can be used in data translations. 2018-08-28 10:14:55 +02:00
Albert Graef 898043def8 Bugfix: mod translations should also modify the data byte of PC messages. 2018-08-28 08:52:09 +02:00
Albert Graef 46d15aa3d2 Special mod translations in key mode (experimental). 2018-08-25 19:14:44 +02:00
Albert Graef 52fa84bf12 Make negative step sizes work on output in data mode, and also with pb in key mode. 2018-08-19 22:50:45 +02:00
Albert Graef 496591cd5d Add support for aftertouch (key and channel pressure) messages, update documentation. 2018-08-19 21:24:06 +02:00
Albert Graef aa881bbd1c Give better debugging output for currently unsupported message types (-dm). 2018-08-18 08:16:59 +02:00
Albert Graef e09f62841b Bugfix: Make step size work with incremental/relative control changes. 2018-08-18 01:02:32 +02:00
Albert Graef a138c37a0e Add basic Jack session support. 2018-08-16 07:21:24 +02:00
Albert Graef b4e85ef288 Use jack_on_shutdown callback to terminate gracefully when Jack is shutting down. 2018-08-15 21:36:42 +02:00
Albert Graef cb4bb68479 Comment changes. 2018-08-15 08:48:49 +02:00
Albert Graef ade9aa3db8 Optimize memory usage of the translation tables, using sorted arrays and binary search. Still runs reasonably fast, and memory usage is much lower know (in the KB range). 2018-08-15 00:06:08 +02:00
Albert Graef 9d6cc38171 Add an internal shift status and SHIFT token to make it possible to translate the same input to different outputs depending on the shift status. 2018-08-14 10:52:34 +02:00
Albert Graef 1e6d950a3a Bugfix in debugging output. 2018-08-13 13:23:50 +02:00
Albert Graef d4e81258e6 Add an option (-k) to explicitly enable tracking of the on/off status of notes etc. This makes it easier to work with some devices, and breaks others. So it is now disabled by default, but can still be enabled when needed. 2018-08-13 10:23:51 +02:00
Albert Graef ffa3ba5e05 Allow step sizes also with keypress-like events (note etc.) in the output, improved debugging output. 2018-08-12 23:52:11 +02:00
Albert Graef 3c95512b81 Add an option (-j) to set the Jack client name. Moreover, add equivalent directives for both the -j and -o options, so that they can also be set from the midizaprc file. 2018-08-12 10:30:08 +02:00
Albert Graef eccbb9ce64 Add a debugging option for MIDI input (-dm). 2018-08-12 08:38:33 +02:00
Albert Graef 1f26194218 Refactoring of regex and key debugging code. 2018-08-12 07:55:15 +02:00
Albert Graef 1b1edeea1a Add a MIDI_OCTAVE directive which enables the user to choose the preferred octave numbering scheme. 2018-08-12 01:21:11 +02:00
Albert Graef 6f0bec4b74 Refactoring and bugfixes. Also added the capability to add another pair of MIDI ports (-o2). 2018-08-11 22:34:55 +02:00
Albert Graef b7afc6bd51 Add step size option to CC messages, bugfixes. 2018-08-10 20:43:05 +02:00
Albert Graef 597847cece Rename the -t option to -o. 2018-08-10 05:26:02 +02:00
Albert Graef 465a16cee6 Check whether we need to reload the config file in regular intervals, even if the focus doesn't change and no MIDI input is being processed. 2018-08-10 04:44:26 +02:00
Albert Graef e1468bd401 Add support for incremental (endless rotary) controls, bugfixes. 2018-08-09 20:29:34 +02:00
Albert Graef e4d90cad02 More MIDI-related fixes and cosmetic changes. 2018-08-08 19:33:26 +02:00