ardour.git
5 years agoFix lv2-state templates with external files.
Robin Gareus [Mon, 9 Jul 2018 22:57:04 +0000 (00:57 +0200)]
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.

5 years agoNO-OP: Rename disk-reader buffer for consistency
Robin Gareus [Mon, 9 Jul 2018 15:54:42 +0000 (17:54 +0200)]
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.

5 years agoPrepare API for per disk-reader de-click
Robin Gareus [Wed, 30 May 2018 16:29:51 +0000 (18:29 +0200)]
Prepare API for per disk-reader de-click

5 years agoRemove unused CubicInterpolation from session
Robin Gareus [Tue, 22 May 2018 21:27:47 +0000 (23:27 +0200)]
Remove unused CubicInterpolation from session

5 years agoSeparate ChannelInfo for disk reader and writer
Robin Gareus [Tue, 22 May 2018 19:35:27 +0000 (21:35 +0200)]
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.

5 years agoRemove unused disk-reader vari-speed
Robin Gareus [Tue, 22 May 2018 18:52:01 +0000 (20:52 +0200)]
Remove unused disk-reader vari-speed

5 years agomove rt-stop to route
Robin Gareus [Wed, 8 Nov 2017 17:05:04 +0000 (18:05 +0100)]
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)

5 years agoRemove unused AutoLoopDeclick, PendingLoopDeclick
Robin Gareus [Tue, 22 May 2018 18:32:13 +0000 (20:32 +0200)]
Remove unused AutoLoopDeclick, PendingLoopDeclick

The flags were set, but not used. They also won't be needed anymore.

5 years agoRemove global declick API
Robin Gareus [Tue, 22 May 2018 16:09:26 +0000 (18:09 +0200)]
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.

5 years agomake velocity bars thinner (from alex mitchell)
Paul Davis [Sun, 8 Jul 2018 11:12:12 +0000 (07:12 -0400)]
make velocity bars thinner (from alex mitchell)

5 years agoOSC: custom mode should turn temp mode off
Len Ovens [Fri, 6 Jul 2018 15:09:03 +0000 (08:09 -0700)]
OSC: custom mode should turn temp mode off

5 years agoOSC: record tally should include master record
Len Ovens [Fri, 6 Jul 2018 15:08:29 +0000 (08:08 -0700)]
OSC: record tally should include master record

5 years agoOSC: Use spill instead of collect
Len Ovens [Fri, 6 Jul 2018 14:34:44 +0000 (07:34 -0700)]
OSC: Use spill instead of collect

5 years agoavoid crazy costs of looking up and constructing color modifier every time, and cache...
Paul Davis [Fri, 6 Jul 2018 11:57:01 +0000 (07:57 -0400)]
avoid crazy costs of looking up and constructing color modifier every time, and cache color values for MIDI notes

5 years agoOSC: make temp modes work with linked surfaces too
Len Ovens [Fri, 6 Jul 2018 06:24:30 +0000 (23:24 -0700)]
OSC: make temp modes work with linked surfaces too

5 years agoapply commit cbe458adddc34 to all other themes
Paul Davis [Thu, 5 Jul 2018 20:59:10 +0000 (16:59 -0400)]
apply commit cbe458adddc34 to all other themes

5 years agoremove more unused MIDI note colors
Paul Davis [Thu, 5 Jul 2018 20:52:41 +0000 (16:52 -0400)]
remove more unused MIDI note colors

5 years agoupdate dark-theme midi-velocity + midi-meter colors
Robin Gareus [Thu, 5 Jul 2018 20:43:52 +0000 (22:43 +0200)]
update dark-theme midi-velocity + midi-meter colors

This matches the previous editor velocity colors: green..yellow..orange

5 years agoretire no-longer used color names for MIDI notes
Paul Davis [Thu, 5 Jul 2018 20:26:40 +0000 (16:26 -0400)]
retire no-longer used color names for MIDI notes

5 years agofix interpolation math error
Paul Davis [Thu, 5 Jul 2018 19:01:55 +0000 (15:01 -0400)]
fix interpolation math error

5 years agouse MIDI meter colors (themeable) to show MIDI note velocity.
Paul Davis [Thu, 5 Jul 2018 18:56:56 +0000 (14:56 -0400)]
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.

5 years agoremove debug output
Paul Davis [Thu, 5 Jul 2018 17:49:27 +0000 (13:49 -0400)]
remove debug output

5 years agosystem common and system realtime messages are not valid in SMF files
Paul Davis [Thu, 5 Jul 2018 17:45:06 +0000 (13:45 -0400)]
system common and system realtime messages are not valid in SMF files

5 years agocatch various libsmf errors rethrown as exceptions
Paul Davis [Thu, 5 Jul 2018 17:34:47 +0000 (13:34 -0400)]
catch various libsmf errors rethrown as exceptions

5 years agochange all use of g_critical() in libsmf() to g_warning()
Paul Davis [Thu, 5 Jul 2018 17:33:46 +0000 (13:33 -0400)]
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.

5 years agoPrepare CC121 ctrl surface for Mixbus
Robin Gareus [Thu, 5 Jul 2018 14:48:47 +0000 (16:48 +0200)]
Prepare CC121 ctrl surface for Mixbus

- fix Panner
- implement touch-start when changing ctrls
- map some well-known ctrls (not yet ideal)

5 years agoAccommodate newly introduced source(s) in our MSVC project (cairocanvas)
John Emmas [Thu, 5 Jul 2018 07:22:44 +0000 (08:22 +0100)]
Accommodate newly introduced source(s) in our MSVC project (cairocanvas)

5 years agoOSC: Set lowest select meter to -120 for mixbus
Len Ovens [Thu, 5 Jul 2018 02:17:46 +0000 (19:17 -0700)]
OSC: Set lowest select meter to -120 for mixbus

5 years agoignore system reset messages entirely in the MIDI parser
Paul Davis [Wed, 4 Jul 2018 19:40:47 +0000 (15:40 -0400)]
ignore system reset messages entirely in the MIDI parser

5 years agomove velocity display options under Appearance/Editor
Paul Davis [Wed, 4 Jul 2018 01:27:21 +0000 (21:27 -0400)]
move velocity display options under Appearance/Editor

5 years agomake use-note-color-for-velocity much much more efficient
Paul Davis [Tue, 3 Jul 2018 22:33:11 +0000 (18:33 -0400)]
make use-note-color-for-velocity much much more efficient

(by not invoking the global color change signal)

5 years agorespond to changes in use-note-color-for-velocity
Paul Davis [Tue, 3 Jul 2018 21:02:20 +0000 (17:02 -0400)]
respond to changes in use-note-color-for-velocity

5 years agopermit editing velocity bars option
Paul Davis [Tue, 3 Jul 2018 19:39:28 +0000 (15:39 -0400)]
permit editing velocity bars option

5 years agomethod for setting whether or not to show velocity bars
Paul Davis [Tue, 3 Jul 2018 19:39:08 +0000 (15:39 -0400)]
method for setting whether or not to show velocity bars

5 years agoreverse velocity display related commits
Paul Davis [Tue, 3 Jul 2018 19:38:30 +0000 (15:38 -0400)]
reverse velocity display related commits

5 years agoset up core stuff for velocity display option
Paul Davis [Tue, 3 Jul 2018 18:06:25 +0000 (14:06 -0400)]
set up core stuff for velocity display option

5 years agoenum convert for VelocityDisplayOption
Paul Davis [Tue, 3 Jul 2018 18:06:09 +0000 (14:06 -0400)]
enum convert for VelocityDisplayOption

5 years agoadd VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly
Paul Davis [Tue, 3 Jul 2018 18:05:16 +0000 (14:05 -0400)]
add VelocityDisplayOption enum; indent TrackAutoNamingRule decl. correctly

5 years agofix rectangle computation, and re-use alex' color computation
Paul Davis [Tue, 3 Jul 2018 16:39:56 +0000 (12:39 -0400)]
fix rectangle computation, and re-use alex' color computation

5 years agoadd a guess at appropriate color management for note velocity display
Paul Davis [Tue, 3 Jul 2018 15:43:42 +0000 (11:43 -0400)]
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.

5 years agocall Note::set_velocity() at an appropriate time
Paul Davis [Tue, 3 Jul 2018 15:28:01 +0000 (11:28 -0400)]
call Note::set_velocity() at an appropriate time

5 years agouse new Canvas::Note object for (sustained) note display
Paul Davis [Tue, 3 Jul 2018 15:21:53 +0000 (11:21 -0400)]
use new Canvas::Note object for (sustained) note display

5 years agoinitial implementation of a more specialized canvas item for (sustained) notes
Paul Davis [Tue, 3 Jul 2018 15:21:25 +0000 (11:21 -0400)]
initial implementation of a more specialized canvas item for (sustained) notes

5 years agominor code optimization for Rectangle::render()
Paul Davis [Tue, 3 Jul 2018 13:22:18 +0000 (09:22 -0400)]
minor code optimization for Rectangle::render()

5 years agoOSC: Make sure group name for select gets updated
Len Ovens [Mon, 2 Jul 2018 15:18:42 +0000 (08:18 -0700)]
OSC: Make sure group name for select gets updated

5 years agoOSC: bugfix, select/next\previous sometimes resets to old strip
Len Ovens [Sun, 1 Jul 2018 01:59:37 +0000 (18:59 -0700)]
OSC: bugfix, select/next\previous sometimes resets to old strip

5 years agoOSC: Add collect of groups or subgroups
Len Ovens [Fri, 29 Jun 2018 21:47:34 +0000 (14:47 -0700)]
OSC: Add collect of groups or subgroups

5 years agoAdd method to find subgroup_bus
Len Ovens [Sat, 30 Jun 2018 22:23:37 +0000 (15:23 -0700)]
Add method to find subgroup_bus

5 years agoFix code style
Len Ovens [Sat, 30 Jun 2018 21:14:31 +0000 (14:14 -0700)]
Fix code style

5 years agowhen creating a route from a template, use correct call to setup XML state so that...
Paul Davis [Thu, 28 Jun 2018 23:14:37 +0000 (19:14 -0400)]
when creating a route from a template, use correct call to setup XML state so that name/ports are unique

5 years agocall IO::prepare_for_reset() on BOTH IO nodes of a PortInsert's XML state, not just...
Paul Davis [Thu, 28 Jun 2018 23:03:59 +0000 (19:03 -0400)]
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

5 years agofix mixing scope brace
Paul Davis [Mon, 25 Jun 2018 14:06:44 +0000 (10:06 -0400)]
fix mixing scope brace

5 years agoAccommodate recently removed source(s) in our MSVC project (libardour)
John Emmas [Mon, 25 Jun 2018 11:11:10 +0000 (12:11 +0100)]
Accommodate recently removed source(s) in our MSVC project (libardour)

(this also needs ardour_genericmidi to link to both evoral and boost-regex)

5 years agoOSC: make select logic more sensible
Len Ovens [Mon, 25 Jun 2018 03:04:22 +0000 (20:04 -0700)]
OSC: make select logic more sensible

5 years agoadd Ctl_Dial to get better behaviour when binding a MIDI controller KNOB/DIAL to...
Paul Davis [Fri, 22 Jun 2018 02:28:11 +0000 (22:28 -0400)]
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

5 years agoremove debug output
Paul Davis [Thu, 21 Jun 2018 19:27:58 +0000 (15:27 -0400)]
remove debug output

5 years agoremove Session::controllable_by_descriptor() and move code into GenericMIDI code...
Paul Davis [Thu, 21 Jun 2018 17:05:37 +0000 (13:05 -0400)]
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.

5 years agoAdd script to normalize all tracks
Robin Gareus [Wed, 20 Jun 2018 21:35:28 +0000 (23:35 +0200)]
Add script to normalize all tracks

5 years agoPut duplicate code of a-comp and a-expander into one file ...
Johannes Mueller [Sun, 17 Jun 2018 09:42:49 +0000 (11:42 +0200)]
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

5 years agoConsolidated a-comp/a-exp run_mono() and run_stereo() to one run()
Johannes Mueller [Thu, 14 Jun 2018 20:29:13 +0000 (22:29 +0200)]
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.

5 years agoMake makeup_gain smoothening of a-expander same as in a-comp
Johannes Mueller [Sat, 9 Jun 2018 16:50:43 +0000 (18:50 +0200)]
Make makeup_gain smoothening of a-expander same as in a-comp

5 years agoOSC: fix pre gcc5 problem
Len Ovens [Wed, 20 Jun 2018 19:34:15 +0000 (12:34 -0700)]
OSC: fix pre gcc5 problem

5 years agoOSC: Add /select/vca/toggle
Len Ovens [Wed, 20 Jun 2018 19:30:08 +0000 (12:30 -0700)]
OSC: Add /select/vca/toggle

5 years agocheck-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman
Nikolaus Gullotta [Wed, 20 Jun 2018 19:15:11 +0000 (14:15 -0500)]
check-in of cleaned up plugin tags by Harrison Consoles intern Chris Hickman

5 years agoa-comp: makeup_gain needs to be smoothened after every sample ...
Johannes Mueller [Sat, 9 Jun 2018 16:02:05 +0000 (18:02 +0200)]
a-comp: makeup_gain needs to be smoothened after every sample ...

... not only once in every run

5 years agoAdd a control port to a-comp select which mode to display inline
Johannes Mueller [Tue, 15 Aug 2017 19:23:44 +0000 (21:23 +0200)]
Add a control port to a-comp select which mode to display inline

5 years agoAllow plugin inline displays to shrink
Johannes Mueller [Tue, 15 Aug 2017 19:05:13 +0000 (21:05 +0200)]
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.

5 years agoMake a-comp's meter show numerical values in "4.1f"
Johannes Mueller [Mon, 14 Aug 2017 18:41:37 +0000 (20:41 +0200)]
Make a-comp's meter show numerical values in "4.1f"

according to discussion in irc.

5 years agoPut input level meter before output level meter in the generic gui
Johannes Mueller [Mon, 14 Aug 2017 18:22:05 +0000 (20:22 +0200)]
Put input level meter before output level meter in the generic gui

This is done by relying on the fact that the generic gui orders the meters
according to their port indices.

5 years agoVisualize the peak of the compressor state in a-comp
Johannes Mueller [Mon, 7 Aug 2017 11:26:47 +0000 (13:26 +0200)]
Visualize the peak of the compressor state in a-comp

5 years agoDrop LPF of input level visualization in a-comp
Johannes Mueller [Mon, 7 Aug 2017 11:23:31 +0000 (13:23 +0200)]
Drop LPF of input level visualization in a-comp

5 years agoShow the input level in acomp's inline display rather than output level
Johannes Mueller [Fri, 4 Aug 2017 13:03:50 +0000 (15:03 +0200)]
Show the input level in acomp's inline display rather than output level

5 years agoInlevel output port to visualize the input level in the generic GUI
Johannes Mueller [Fri, 4 Aug 2017 12:07:01 +0000 (14:07 +0200)]
Inlevel output port to visualize the input level in the generic GUI

5 years agoImprove level vizualisation in a-comp
Johannes Mueller [Fri, 4 Aug 2017 12:05:16 +0000 (14:05 +0200)]
Improve level vizualisation in a-comp

* LPF in the signal visialization

* Lower minimum values

5 years agoGR-based visualization in a-comp
Johannes Mueller [Fri, 4 Aug 2017 09:07:33 +0000 (11:07 +0200)]
GR-based visualization in a-comp

5 years agoNew attack and release behavior for a-comp
Johannes Mueller [Thu, 3 Aug 2017 10:05:46 +0000 (12:05 +0200)]
New attack and release behavior for a-comp

Details in http://tracker.ardour.org/view.php?id=7439

5 years agoDon't use acomp->v_gainr outside LV2_EXTENDED ifdefs
Johannes Mueller [Mon, 7 Aug 2017 09:10:54 +0000 (11:10 +0200)]
Don't use acomp->v_gainr outside LV2_EXTENDED ifdefs

5 years agosr = 0, not rate
Nikolaus Gullotta [Tue, 19 Jun 2018 18:56:42 +0000 (13:56 -0500)]
sr = 0, not rate

5 years agocap redrawing at 15 times /s
Nikolaus Gullotta [Tue, 19 Jun 2018 18:53:55 +0000 (13:53 -0500)]
cap redrawing at 15 times /s

5 years agoRevert frame -> sample changes where it's a frame as in Gtk::Frame
Johannes Mueller [Sat, 9 Jun 2018 17:08:15 +0000 (19:08 +0200)]
Revert frame -> sample changes where it's a frame as in Gtk::Frame

5 years agoOSC: reworking of previous/next select
Len Ovens [Tue, 19 Jun 2018 16:45:20 +0000 (09:45 -0700)]
OSC: reworking of previous/next select

5 years agoOSC: Feedback was not making it to surface
Len Ovens [Tue, 17 Apr 2018 20:10:59 +0000 (13:10 -0700)]
OSC: Feedback was not making it to surface

5 years agoOSC group sharing should be cleared for VCAs
Len Ovens [Mon, 16 Apr 2018 17:48:48 +0000 (10:48 -0700)]
OSC group sharing should be cleared for VCAs

5 years agoOSC: added context based previous/next select
Len Ovens [Mon, 16 Apr 2018 16:51:59 +0000 (09:51 -0700)]
OSC: added context based previous/next select

5 years agoOSC: select should not show expand if invalid
Len Ovens [Wed, 11 Apr 2018 17:48:24 +0000 (10:48 -0700)]
OSC: select should not show expand if invalid

5 years agoOSC expand off should check current sellect
Len Ovens [Wed, 11 Apr 2018 16:35:51 +0000 (09:35 -0700)]
OSC expand off should check current sellect

5 years agoOSC: Allow expand to be global
Len Ovens [Wed, 11 Apr 2018 16:24:21 +0000 (09:24 -0700)]
OSC: Allow expand to be global

5 years agoOSC do not recalc select if still valid
Len Ovens [Sat, 7 Apr 2018 17:42:11 +0000 (10:42 -0700)]
OSC do not recalc select if still valid

5 years agocontext menus should have accelerators
Paul Davis [Thu, 14 Jun 2018 21:29:58 +0000 (17:29 -0400)]
context menus should have accelerators

5 years agoHide designated LV2 freewheeling port.
Robin Gareus [Sat, 9 Jun 2018 12:40:46 +0000 (14:40 +0200)]
Hide designated LV2 freewheeling port.

5 years agoAllow snapping to the start of the video timeline. (should work, but needs testing...
Ben Loftis [Fri, 8 Jun 2018 21:12:35 +0000 (16:12 -0500)]
Allow snapping to the start of the video timeline.  (should work, but needs testing on a machine with harvid).

5 years agoRemove duplicate class-keys (amend d95df9164)
Robin Gareus [Wed, 6 Jun 2018 13:07:08 +0000 (15:07 +0200)]
Remove duplicate class-keys (amend d95df9164)

5 years agoremove aeffectx.h; use vestige.h
Paul Davis [Mon, 4 Jun 2018 21:38:32 +0000 (17:38 -0400)]
remove aeffectx.h; use vestige.h

5 years agoNO-OP: Modify a #include (purely for consistency)
John Emmas [Mon, 4 Jun 2018 09:43:19 +0000 (10:43 +0100)]
NO-OP: Modify a #include (purely for consistency)

5 years agono error logging for CURL HTTP requests; future callers can request it if necessary
Paul Davis [Sat, 2 Jun 2018 17:24:17 +0000 (13:24 -0400)]
no error logging for CURL HTTP requests; future callers can request it if necessary

5 years agoforgot else in selected-tracks check.
Nikolaus Gullotta [Fri, 1 Jun 2018 16:25:46 +0000 (11:25 -0500)]
forgot else in selected-tracks check.

5 years agomoving singen and noisegen from mixbus repo to ardour + change singen display and...
Nikolaus Gullotta [Fri, 6 Apr 2018 17:54:41 +0000 (12:54 -0500)]
moving singen and noisegen from mixbus repo to ardour + change singen display and add noisegen display

5 years agoadd Gtk::ColorButton widget to LuaDialog and add ability to change multiple route...
Nikolaus Gullotta [Tue, 3 Apr 2018 20:38:54 +0000 (15:38 -0500)]
add Gtk::ColorButton widget to LuaDialog and add ability to change multiple route colors at a time

5 years agoCheck-in of set_meter_point() utility/example
Nikolaus Gullotta [Fri, 1 Jun 2018 14:51:52 +0000 (09:51 -0500)]
Check-in of set_meter_point() utility/example

5 years agoExample snippet to list plugins (and their presets)
Robin Gareus [Thu, 31 May 2018 14:01:52 +0000 (16:01 +0200)]
Example snippet to list plugins (and their presets)