Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on Feb 07, 2012
@wpwrak wpwrak stimuli: make MIDI channel numbers one-based 2ac7dc9
Commits on Feb 08, 2012
@wpwrak wpwrak stimuli: added MIDI channel wildcard (WIP)
The syntax is ugly: midi([chan], controller [, style])

Note that the comma after the channel is required, even if the
channel number is omitted. This would be difficult to do better
with the present syntax, but will get easier further down the
@wpwrak wpwrak test/stim: update for one-based channel numbers 08dbe02
@wpwrak wpwrak test/stim: added test for wildcard channel 7dafcae
@wpwrak wpwrak gui/midi.c: clean up structure of midi_event() 7133915
@wpwrak wpwrak gui/midi.c: show channel number in MIDI monitor and change display fo…

This commit changes the format from  CTRL (VALUE)  to either
CHAN.CTRL = VALUE  if the channel is the one currently selected, or
(CHAN.CTRL = VALUE)  if this is on a different channel.

The parentheses indicate that the traditional midiX variables are
not affected by this controller.
@wpwrak wpwrak gui/midi.c: make channel numbers presented to user one-based
For compatibility, the number in the configuration is still zero-based.
We'll get rid of it eventually.
Commits on Feb 09, 2012
@wpwrak wpwrak stimuli: base for MIDI device database (WIP) 439a665
@wpwrak wpwrak compiler: added parsing of MIDI device database (WIP)
Also updated the example code in T.fnp
@wpwrak wpwrak compiler: added labeling of MIDI devices
There are three interconnected changes in this commit:
- added quoted strings (TOK_STRING) to scanner,
- use them in the grammar, for midi_device,
- update T.fnp example
@wpwrak wpwrak compiler: added binding of inputs (WIP)
Also updated the example code in T.fnp
Commits on Feb 10, 2012
@wpwrak wpwrak compiler: make MIDI channel also wildcardable in device database entry eaf6ea0
@wpwrak wpwrak test/stim: converted to split database style (DB side only) 3c3d02b
@wpwrak wpwrak compiler: removed all-in-one MIDI control syntax f2413ed
@wpwrak wpwrak stimuli: stim_add_midi_ctrl and midi_proc_* are now internal
Thus made them "static" and removed them from the header.
@wpwrak wpwrak stimuli: renamed midi_proc_accel_* to midi_proc_diff_*
For consistency with differential() and dt_diff.
@wpwrak wpwrak compiler: improved structure of sections in parser.y 08af98f
@wpwrak wpwrak stimuli: separate set operation from midi_proc_linear
For future sharing.
@wpwrak wpwrak stimuli: added button-to-toggle processor (untested) 180f37e
@wpwrak wpwrak stimuli: added range-to-button processor (untested)
We use it also for range-to-toggle since this seems to be a better
approximation than requiring a zero-non-zero transition for each
@wpwrak wpwrak stimuli: added differential-to-button processor (untested)
We use it also for differential-to-toggle, like in the range-to-button
@wpwrak wpwrak stimuli: add section comments and align code with sections bfbecab
@wpwrak wpwrak stimuli: make register update functions not MIDI specific
This just moves the ct->regs lookup across the API.
@wpwrak wpwrak test/stim: renamed to stimdb and updated titles accordingly 32fae1f
@wpwrak wpwrak stimuli: do_bind didn't check if the processor was NULL
Oops ...
@wpwrak wpwrak test/stimin: test cases for device to input binding 44bdea0
@wpwrak wpwrak stimuli: stim_db_free to deallocate the device database bdcad90
@wpwrak wpwrak compiler: free the input device database after compilation
Since the database is currently per patch, we need to free it once the
patch has been compiled. In the longer run, this is of course now what
we want - the database should be global and long-lived.
@wpwrak wpwrak patch editor: replace hard-coded patch buffer size with #define 8318d6f
@wpwrak wpwrak patch editor: wrap long lines 650c1de
@wpwrak wpwrak patch editor: escape all double quotes before calling ed.set d68317a
Something went wrong with that request. Please try again.