Commit graph

14014 commits

Author SHA1 Message Date
Robin Gareus
333f59a53f Fix lv2-state templates with external files.
This forces liblilv to collect external files in the template-folder
and symlink to the original file instead of re-using the external-file
folder of the session that was used to create the template.
2018-07-10 00:58:18 +02:00
Robin Gareus
59029765e8 NO-OP: Rename disk-reader buffer for consistency
This is in preparation to replace the Ringbuffer and avoid over-using
"buf" as variable (it's already used for vectors, as parameter name and
Audiobuffers.
2018-07-09 19:49:18 +02:00
Robin Gareus
dca30c99fc Prepare API for per disk-reader de-click 2018-07-09 17:38:35 +02:00
Robin Gareus
bee09ac9e1 Remove unused CubicInterpolation from session 2018-07-09 17:30:38 +02:00
Robin Gareus
87b2c94759 Separate ChannelInfo for disk reader and writer
This allows to use different types for write and read buffers, in
preparation for a dedicated reader-buffer.
2018-07-09 17:30:38 +02:00
Robin Gareus
cf11764763 Remove unused disk-reader vari-speed 2018-07-09 17:30:38 +02:00
Robin Gareus
cdec333bfe move rt-stop to route
currently this is only used to resolve midi events for plugins
(this is conceptually not correct, note offs should be resolved by
the disk-reader only), but it calls into all processors now (incl
disk-reader if present), which is handy (e.g. flush delaylins)
2018-07-09 17:30:38 +02:00
Robin Gareus
2953b575f2 Remove unused AutoLoopDeclick, PendingLoopDeclick
The flags were set, but not used. They also won't be needed anymore.
2018-07-09 17:30:38 +02:00
Robin Gareus
249640267c Remove global declick API
De-click will be per disk-reader, latency compensated and buffer-size
independent. Cue-monitoring should not be affected by de-click.
2018-07-09 17:30:38 +02:00
Paul Davis
8664768efa make velocity bars thinner (from alex mitchell) 2018-07-08 07:12:12 -04:00
Len Ovens
8004b9bb8e OSC: custom mode should turn temp mode off 2018-07-06 08:09:03 -07:00
Len Ovens
e1ce87956a OSC: record tally should include master record 2018-07-06 08:08:29 -07:00
Len Ovens
c2af992ac7 OSC: Use spill instead of collect 2018-07-06 07:35:24 -07:00
Len Ovens
3322e6f5a5 OSC: make temp modes work with linked surfaces too 2018-07-05 23:24:30 -07:00
Paul Davis
b4b2fbb6ed remove debug output 2018-07-05 13:49:27 -04:00
Paul Davis
9da1253288 system common and system realtime messages are not valid in SMF files 2018-07-05 13:45:17 -04:00
Paul Davis
027d0efc2d catch various libsmf errors rethrown as exceptions 2018-07-05 13:45:17 -04:00
Paul Davis
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
Robin Gareus
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
John Emmas
ab6525a24f Accommodate newly introduced source(s) in our MSVC project (cairocanvas) 2018-07-05 08:22:44 +01:00
Len Ovens
4b47a4c4cc OSC: Set lowest select meter to -120 for mixbus 2018-07-04 19:18:38 -07:00
Paul Davis
6e79f473f4 ignore system reset messages entirely in the MIDI parser 2018-07-04 15:40:47 -04:00
Paul Davis
bf2f4bd28a method for setting whether or not to show velocity bars 2018-07-03 15:39:08 -04:00
Paul Davis
0ff671b1a3 reverse velocity display related commits 2018-07-03 15:38:30 -04:00
Paul Davis
b6711383f3 enum convert for VelocityDisplayOption 2018-07-03 14:06:09 -04:00
Paul Davis
e3cb6dd603 add VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly 2018-07-03 14:05:16 -04:00
Paul Davis
c190581552 fix rectangle computation, and re-use alex' color computation 2018-07-03 12:39:56 -04:00
Paul Davis
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
Paul Davis
644a05f60b use new Canvas::Note object for (sustained) note display 2018-07-03 11:21:53 -04:00
Paul Davis
ed24e01658 initial implementation of a more specialized canvas item for (sustained) notes 2018-07-03 11:21:25 -04:00
Paul Davis
5102d8fae1 minor code optimization for Rectangle::render() 2018-07-03 09:22:32 -04:00
Len Ovens
9d99cc8b01 OSC: Make sure group name for select gets updated 2018-07-02 08:18:42 -07:00
Len Ovens
f30add4c0e OSC: bugfix, select/next\previous sometimes resets to old strip 2018-06-30 18:59:37 -07:00
Len Ovens
6e082b16b2 OSC: Add collect of groups or subgroups 2018-06-30 15:25:17 -07:00
Len Ovens
baa00942a2 Add method to find subgroup_bus 2018-06-30 15:23:37 -07:00
Len Ovens
88c82aeb56 Fix code style 2018-06-30 14:14:31 -07:00
Paul Davis
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
Paul Davis
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
Paul Davis
ff03eeab04 fix mixing scope brace 2018-06-25 10:06:57 -04:00
John Emmas
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
Len Ovens
87bab9c0f7 OSC: make select logic more sensible 2018-06-24 20:04:54 -07:00
Paul Davis
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
Paul Davis
870625973e remove debug output 2018-06-21 15:27:58 -04:00
Paul Davis
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
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
Len Ovens
4b37e248e1 OSC: fix pre gcc5 problem 2018-06-20 12:39:34 -07:00
Len Ovens
e34f006658 OSC: Add /select/vca/toggle 2018-06-20 12:39:34 -07: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