Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 31 commits
  • 14 files changed
  • 0 comments
  • 1 contributor
Feb 07, 2012
Werner Almesberger stimuli: make MIDI channel numbers one-based 2ac7dc9
Werner Almesberger 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
road.
d543c6f
Feb 08, 2012
Werner Almesberger test/stim: update for one-based channel numbers 08dbe02
Werner Almesberger test/stim: added test for wildcard channel 7dafcae
Werner Almesberger gui/midi.c: clean up structure of midi_event() 7133915
Werner Almesberger gui/midi.c: show channel number in MIDI monitor and change display fo…
…rmat

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.
39e2529
Werner Almesberger 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.
e01883c
Feb 09, 2012
Werner Almesberger stimuli: base for MIDI device database (WIP) 439a665
Werner Almesberger compiler: added parsing of MIDI device database (WIP)
Also updated the example code in T.fnp
cbf2fb1
Werner Almesberger 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
2902efb
Werner Almesberger compiler: added binding of inputs (WIP)
Also updated the example code in T.fnp
d1e597c
Werner Almesberger compiler: make MIDI channel also wildcardable in device database entry eaf6ea0
Werner Almesberger test/stim: converted to split database style (DB side only) 3c3d02b
Werner Almesberger compiler: removed all-in-one MIDI control syntax f2413ed
Werner Almesberger stimuli: stim_add_midi_ctrl and midi_proc_* are now internal
Thus made them "static" and removed them from the header.
2de1183
Werner Almesberger stimuli: renamed midi_proc_accel_* to midi_proc_diff_*
For consistency with differential() and dt_diff.
25bd531
Werner Almesberger compiler: improved structure of sections in parser.y 08af98f
Feb 10, 2012
Werner Almesberger stimuli: separate set operation from midi_proc_linear
For future sharing.
6753ab4
Werner Almesberger stimuli: added button-to-toggle processor (untested) 180f37e
Werner Almesberger 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
toggle.
25dc757
Werner Almesberger stimuli: added differential-to-button processor (untested)
We use it also for differential-to-toggle, like in the range-to-button
case.
50542a4
Werner Almesberger stimuli: add section comments and align code with sections bfbecab
Werner Almesberger stimuli: make register update functions not MIDI specific
This just moves the ct->regs lookup across the API.
ea837ff
Werner Almesberger test/stim: renamed to stimdb and updated titles accordingly 32fae1f
Werner Almesberger stimuli: do_bind didn't check if the processor was NULL
Oops ...
a94de31
Werner Almesberger test/stimin: test cases for device to input binding 44bdea0
Werner Almesberger stimuli: stim_db_free to deallocate the device database bdcad90
Werner Almesberger 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.
59ac669
Werner Almesberger patch editor: replace hard-coded patch buffer size with #define 8318d6f
Werner Almesberger patch editor: wrap long lines 650c1de
Werner Almesberger patch editor: escape all double quotes before calling ed.set d68317a
Something went wrong with that request. Please try again.