Commit Graph

36 Commits (12767f07c2c2009b655909be3a7c60339b725fca)

Author SHA1 Message Date
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
Albert Graef d0f27891ee Fixes to CC and PB handling. 2018-08-08 06:30:44 +02:00
Albert Graef 333eecdf0d Fix up debugging output, PB handling. 2018-08-07 23:37:37 +02:00
Albert Graef abfcb645cb Initial import 2018-08-07 22:38:41 +02:00