0b8f57f762
retire no-longer used color names for MIDI notes
2018-07-05 16:26:40 -04:00
631b8f1b6b
fix interpolation math error
2018-07-05 15:01:55 -04:00
44c40bc065
use MIDI meter colors (themeable) to show MIDI note velocity.
...
Selected notes no longer show the selected color for fill, following Alex
Mitchell's proof-of-concept patch that showed it was easier to see what you're
doing when the fill color shows velocity and we just use outline for selection
status.
2018-07-05 14:56:56 -04:00
b4b2fbb6ed
remove debug output
2018-07-05 13:49:27 -04:00
9da1253288
system common and system realtime messages are not valid in SMF files
2018-07-05 13:45:17 -04:00
027d0efc2d
catch various libsmf errors rethrown as exceptions
2018-07-05 13:45:17 -04:00
1a25672239
change all use of g_critical() in libsmf() to g_warning()
...
g_critical translates to a fatal error in ardour, which is not true for any of these
errors.
2018-07-05 13:45:17 -04:00
7af016b089
Prepare CC121 ctrl surface for Mixbus
...
- fix Panner
- implement touch-start when changing ctrls
- map some well-known ctrls (not yet ideal)
2018-07-05 16:49:01 +02:00
ab6525a24f
Accommodate newly introduced source(s) in our MSVC project (cairocanvas)
2018-07-05 08:22:44 +01:00
4b47a4c4cc
OSC: Set lowest select meter to -120 for mixbus
2018-07-04 19:18:38 -07:00
6e79f473f4
ignore system reset messages entirely in the MIDI parser
2018-07-04 15:40:47 -04:00
db5377da46
move velocity display options under Appearance/Editor
2018-07-03 21:27:21 -04:00
870fe055cf
make use-note-color-for-velocity much much more efficient
...
(by not invoking the global color change signal)
2018-07-03 18:33:11 -04:00
b1ad462a7a
respond to changes in use-note-color-for-velocity
2018-07-03 17:02:20 -04:00
38b499a8f0
permit editing velocity bars option
2018-07-03 15:39:28 -04:00
bf2f4bd28a
method for setting whether or not to show velocity bars
2018-07-03 15:39:08 -04:00
0ff671b1a3
reverse velocity display related commits
2018-07-03 15:38:30 -04:00
20328f2929
set up core stuff for velocity display option
2018-07-03 14:06:25 -04:00
b6711383f3
enum convert for VelocityDisplayOption
2018-07-03 14:06:09 -04:00
e3cb6dd603
add VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly
2018-07-03 14:05:16 -04:00
c190581552
fix rectangle computation, and re-use alex' color computation
2018-07-03 12:39:56 -04:00
21582828b7
add a guess at appropriate color management for note velocity display
...
I think that HSV::opposite() is probably too strong here. HSV::darker() might be better. Experimentation needed.
2018-07-03 11:43:42 -04:00
a1df752095
call Note::set_velocity() at an appropriate time
2018-07-03 11:28:01 -04:00
644a05f60b
use new Canvas::Note object for (sustained) note display
2018-07-03 11:21:53 -04:00
ed24e01658
initial implementation of a more specialized canvas item for (sustained) notes
2018-07-03 11:21:25 -04:00
5102d8fae1
minor code optimization for Rectangle::render()
2018-07-03 09:22:32 -04:00
9d99cc8b01
OSC: Make sure group name for select gets updated
2018-07-02 08:18:42 -07:00
f30add4c0e
OSC: bugfix, select/next\previous sometimes resets to old strip
2018-06-30 18:59:37 -07:00
6e082b16b2
OSC: Add collect of groups or subgroups
2018-06-30 15:25:17 -07:00
baa00942a2
Add method to find subgroup_bus
2018-06-30 15:23:37 -07:00
88c82aeb56
Fix code style
2018-06-30 14:14:31 -07:00
cd0f5e06a9
when creating a route from a template, use correct call to setup XML state so that name/ports are unique
2018-06-28 19:14:37 -04:00
9336bddee2
call IO::prepare_for_reset() on BOTH IO nodes of a PortInsert's XML state, not just one of them.
...
Allows drag-n-drop of port inserts to work
2018-06-28 19:03:59 -04:00
ff03eeab04
fix mixing scope brace
2018-06-25 10:06:57 -04:00
d7ac5792b8
Accommodate recently removed source(s) in our MSVC project (libardour)
...
(this also needs ardour_genericmidi to link to both evoral and boost-regex)
2018-06-25 12:11:10 +01:00
87bab9c0f7
OSC: make select logic more sensible
2018-06-24 20:04:54 -07:00
8725ed5bd1
add Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to a toggled controllable.
...
No intent to change Ctl_Momentary or Ctl_Toggle behaviour, plus I tried to document what they are intended to support
2018-06-21 22:28:11 -04:00
870625973e
remove debug output
2018-06-21 15:27:58 -04:00
8a18929d57
remove Session::controllable_by_descriptor() and move code into GenericMIDI code (the only user).
...
This also removes enums introduced to describe well-known parameters for Mixbus. Lookup now involves string
parsing every time, but this is not likely to be a notable cost.
2018-06-21 13:05:58 -04:00
637e70749c
Add script to normalize all tracks
2018-06-20 23:35:55 +02:00
Johannes Mueller
18511f851e
Put duplicate code of a-comp and a-expander into one file ...
...
... for better maintainability
consolidated duplicate code:
* drawing the dB-grid of a-comp's and a-expander's full display
* drawing the gain reduction bar of a-comp's and a-expander's full display
* the entire only-bars display
2018-06-20 22:57:41 +02:00
Johannes Mueller
0c64eacef5
Consolidated a-comp/a-exp run_mono() and run_stereo() to one run()
...
Up to now we had in a-comp and a-exp one run_mono() and one run_stero()
function which where almost identical except that run_stereo() treated two
in/outs and run_mono() only one. Now we store the number of channels
acomp->n_channels according to the URI and in run() we loop over an array of
pointers to the in/out buffers.
2018-06-20 22:23:54 +02:00
Johannes Mueller
65fed2fa89
Make makeup_gain smoothening of a-expander same as in a-comp
2018-06-20 22:10:54 +02:00
4b37e248e1
OSC: fix pre gcc5 problem
2018-06-20 12:39:34 -07:00
e34f006658
OSC: Add /select/vca/toggle
2018-06-20 12:39:34 -07:00
Nikolaus Gullotta
57ce573796
check-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman
2018-06-20 14:15:18 -05:00
Johannes Mueller
1ad66cfb3c
a-comp: makeup_gain needs to be smoothened after every sample ...
...
... not only once in every run
2018-06-20 21:06:16 +02:00
Johannes Mueller
a0a4db47a7
Add a control port to a-comp select which mode to display inline
2018-06-20 21:06:16 +02:00
Johannes Mueller
f647ac7dae
Allow plugin inline displays to shrink
...
Plugin inline displays were forbidden to shrink as this might cause a deadlock
when the shrinkage causes the scrollbar to disappear.
display shrink → scrollbar unneeded → scrollbar disappears →
more horizontal space -> display grows -> scrollbar appears →
less horizontal space -> display shrink and so forth
This was formerly avoided by not allowing display shrinkage.
The solution proposed here sets the maximum height of the display to the
current height, if a scrollbar is present during resizing and has not been
present during the last resizing. So if this scrollbar disappears (after
resizing it might no longer be needed), the display would have the possibility
to grow, but it does not grow vertically as the maximum height is limited to
the current height.
2018-06-20 21:06:16 +02:00
Johannes Mueller
869d48c9a6
Make a-comp's meter show numerical values in "4.1f"
...
according to discussion in irc.
2018-06-20 21:06:16 +02:00