ardour.git
7 years agoadd Lua script example for vamp onset analysis
Robin Gareus [Mon, 3 Oct 2016 16:25:38 +0000 (18:25 +0200)]
add Lua script example for vamp onset analysis

7 years agocont'd work on Lua Vamp-plugin API
Robin Gareus [Mon, 3 Oct 2016 16:10:39 +0000 (18:10 +0200)]
cont'd work on Lua Vamp-plugin API

7 years agoRemove old unused and unmaintained Windows build scripts
Tim Mayberry [Mon, 3 Oct 2016 10:22:34 +0000 (20:22 +1000)]
Remove old unused and unmaintained Windows build scripts

These scripts are no longer used and caused confusion to someone on IRC
recently who thought they were used for the official builds.

7 years agoenable LuaAPI::Vamp::analyze() callback
Robin Gareus [Mon, 3 Oct 2016 03:13:41 +0000 (05:13 +0200)]
enable LuaAPI::Vamp::analyze() callback

7 years agoconsistent VAMP includes
Robin Gareus [Mon, 3 Oct 2016 03:13:12 +0000 (05:13 +0200)]
consistent VAMP includes

This resolves an ambiguity VampHost::Vamp::Plugin and Vamp::Plugin

7 years agoadd vamp-plugin example lua script
Robin Gareus [Mon, 3 Oct 2016 01:52:35 +0000 (03:52 +0200)]
add vamp-plugin example lua script

7 years agoAdd Vamp-plugin Lua bindings (work in progress)
Robin Gareus [Mon, 3 Oct 2016 01:51:53 +0000 (03:51 +0200)]
Add Vamp-plugin Lua bindings (work in progress)

7 years agoRemove unused methods, add tests to ensure meter divisors don't mess with Beats.
nick_m [Sat, 1 Oct 2016 16:55:18 +0000 (03:55 +1100)]
Remove unused methods, add tests to ensure meter divisors don't mess with Beats.

- TempoMap::framepos_minus_beats() was only used by its test,
  so don't build the test.

7 years agofix_bbtppq: add missing space - no-op 5.4
nick_m [Sat, 1 Oct 2016 01:30:40 +0000 (11:30 +1000)]
fix_bbtppq: add missing space - no-op

7 years agoAdd MidiRegion _start to the list of things we leave alone on session load.
nick_m [Sat, 1 Oct 2016 01:28:09 +0000 (11:28 +1000)]
Add MidiRegion _start to the list of things we leave alone on session load.

7 years agoRegion pulse is no longer a property.
nick_m [Sat, 1 Oct 2016 01:13:41 +0000 (11:13 +1000)]
Region pulse is no longer a property.

7 years agoallow sending OSC from inline display UIs
Robin Gareus [Sat, 1 Oct 2016 00:17:24 +0000 (02:17 +0200)]
allow sending OSC from inline display UIs

7 years agoFix locking bug in tempo map.
nick_m [Sat, 1 Oct 2016 00:19:38 +0000 (10:19 +1000)]
Fix locking bug in tempo map.

7 years agofix_bbtppqn: setting start and length accounts for for multiple tempi,
nick_m [Fri, 30 Sep 2016 23:08:54 +0000 (09:08 +1000)]
fix_bbtppqn: setting start and length accounts for for multiple tempi,

7 years agofix some compiler warnings (from mingw)
Paul Davis [Fri, 30 Sep 2016 17:07:53 +0000 (13:07 -0400)]
fix some compiler warnings (from mingw)

7 years agoattempt to fix windows failed build by including pthread.h to get DEBUG_THREAD_SELF...
Paul Davis [Fri, 30 Sep 2016 16:52:07 +0000 (12:52 -0400)]
attempt to fix windows failed build by including pthread.h to get DEBUG_THREAD_SELF correctly defined

7 years agopush2:small logic fix for destructor, mostly to ensure that the track_mix layout...
Paul Davis [Fri, 30 Sep 2016 16:07:05 +0000 (11:07 -0500)]
push2:small logic fix for destructor, mostly to ensure that the track_mix layout is destroyed

Otherwise it is still connected to the ControlProtocol::StripableSelectionChanged signal, even though the
event loop specified in the connection has been destroyed.

7 years agorevert previous unintended commit
Ben Loftis [Fri, 30 Sep 2016 15:59:14 +0000 (10:59 -0500)]
revert previous unintended commit

7 years agofix: using arrow-keys on selected mixer strips would recursively affect grouped faders
Ben Loftis [Fri, 30 Sep 2016 15:52:46 +0000 (10:52 -0500)]
fix: using arrow-keys on selected mixer strips would recursively affect grouped faders

7 years agoreorganize push 2 code and logic to better handle device arrival after program startup
Paul Davis [Fri, 30 Sep 2016 15:22:30 +0000 (11:22 -0400)]
reorganize push 2 code and logic to better handle device arrival after program startup

Note: we do not handle device departure correctly yet, mostly because the shadow (pad) port has a retained
reference somewhere

7 years agoremove unused member variable
Paul Davis [Fri, 30 Sep 2016 15:21:42 +0000 (11:21 -0400)]
remove unused member variable

7 years agopush2 gui catches port registrations
Paul Davis [Fri, 30 Sep 2016 15:21:21 +0000 (11:21 -0400)]
push2 gui catches port registrations

7 years agoremove useless code from push2 gui dialog
Paul Davis [Fri, 30 Sep 2016 15:21:04 +0000 (11:21 -0400)]
remove useless code from push2 gui dialog

7 years agoinsufficient attempt to drop references to a shadow MIDI port
Paul Davis [Fri, 30 Sep 2016 15:16:49 +0000 (11:16 -0400)]
insufficient attempt to drop references to a shadow MIDI port

7 years agoConstrain Samplerate selection when session is loaded
Robin Gareus [Fri, 30 Sep 2016 14:47:57 +0000 (16:47 +0200)]
Constrain Samplerate selection when session is loaded

Ardour does not allow to change the rate of a session itself.

7 years agofix sample-rate display: show active (not desired) rate
Robin Gareus [Fri, 30 Sep 2016 14:24:39 +0000 (16:24 +0200)]
fix sample-rate display: show active (not desired) rate

7 years agoFix finding of splash file and display in About dialog
Tim Mayberry [Fri, 30 Sep 2016 12:28:50 +0000 (22:28 +1000)]
Fix finding of splash file and display in About dialog

7 years ago Accommodate newly introduced source(s) in our MSVC project (libardour)
John Emmas [Fri, 30 Sep 2016 11:21:18 +0000 (12:21 +0100)]
 Accommodate newly introduced source(s) in our MSVC project (libardour)

7 years agoWhen building with MSVC some of the header file stuff is only relevant in early versi...
John Emmas [Fri, 30 Sep 2016 07:24:51 +0000 (08:24 +0100)]
When building with MSVC some of the header file stuff is only relevant in early versions (e.g. VC8)

7 years agoAccommodate a header file that's been moved from gtk2_ardour into libardour
John Emmas [Fri, 30 Sep 2016 07:21:37 +0000 (08:21 +0100)]
Accommodate a header file that's been moved from gtk2_ardour into libardour

7 years agoAccommodate newly introduced source(s) in our MSVC project (cairocanvas)
John Emmas [Fri, 30 Sep 2016 07:20:14 +0000 (08:20 +0100)]
Accommodate newly introduced source(s) in our MSVC project (cairocanvas)

7 years agodon't include session-search paths with templates
Robin Gareus [Thu, 29 Sep 2016 22:11:24 +0000 (00:11 +0200)]
don't include session-search paths with templates

7 years agosome Collaborative Albums from the early 80's
Robin Gareus [Thu, 29 Sep 2016 18:46:04 +0000 (20:46 +0200)]
some Collaborative Albums from the early 80's

7 years agofix crash on OS X el capitan when using command line arguments
Paul Davis [Thu, 29 Sep 2016 17:05:38 +0000 (13:05 -0400)]
fix crash on OS X el capitan when using command line arguments

7 years agomanually revert b9cab93fb116b and remove associated code.
Paul Davis [Thu, 29 Sep 2016 16:00:43 +0000 (12:00 -0400)]
manually revert b9cab93fb116b and remove associated code.

For the last time, because of how GDK works, Keyboard::PrimaryModifier on MacOS MUST include MOD2 ***AND** META

7 years agoenhance -D bindings output
Paul Davis [Thu, 29 Sep 2016 15:59:00 +0000 (11:59 -0400)]
enhance -D bindings output

7 years agofix_bbtppq: fix typo.
nick_m [Thu, 29 Sep 2016 13:45:15 +0000 (23:45 +1000)]
fix_bbtppq: fix typo.

7 years agofix_bbtppq update: format text, remove old sources in region method.
nick_m [Thu, 29 Sep 2016 12:34:32 +0000 (22:34 +1000)]
fix_bbtppq update: format text, remove old sources in region method.

7 years agoRectangle is ambiguous on Windows
Robin Gareus [Thu, 29 Sep 2016 11:56:10 +0000 (13:56 +0200)]
Rectangle is ambiguous on Windows

In file included from /usr/share/mingw-w64/include/windows.h:71:0,
                 from /home/ardour/win-stack-w32/include/pthread.h:198,
                 from /home/ardour/ardour-w32/libs/pbd/pbd/event_loop.h:29,
                 from /home/ardour/ardour-w32/libs/pbd/pbd/signals.h:42,
                 from /home/ardour/ardour-w32/libs/midi++2/midi++/parser.h:26,
                 from ../libs/surfaces/push2/mix.cc:30:

/usr/share/mingw-w64/include/wingdi.h:3049:67: note: candidates are: WINBOOL Rectangle(HDC, int, int, int, int)

In file included from ../libs/surfaces/push2/mix.cc:48:0:

/home/ardour/ardour-w32/libs/canvas/canvas/rectangle.h:30:48: note: class ArdourCanvas::Rectangle

7 years agoFix error: conversion from 'int' to non-scalar type
Robin Gareus [Thu, 29 Sep 2016 11:41:17 +0000 (13:41 +0200)]
Fix error: conversion from 'int' to non-scalar type

7 years agoMacOS [sic] required changes for Rect in Push 2 code
Paul Davis [Wed, 28 Sep 2016 21:24:14 +0000 (17:24 -0400)]
MacOS [sic] required changes for Rect in Push 2 code

7 years agoremove unnecessary method
Paul Davis [Wed, 28 Sep 2016 21:23:52 +0000 (17:23 -0400)]
remove unnecessary method

7 years agoclang on el capitan etc. no longer supports -fstrength-reduce
Paul Davis [Wed, 28 Sep 2016 20:52:16 +0000 (16:52 -0400)]
clang on el capitan etc. no longer supports -fstrength-reduce

7 years agofix errors reported by pixman for meter redraws (and add more comments to help the...
Paul Davis [Wed, 28 Sep 2016 18:37:19 +0000 (13:37 -0500)]
fix errors reported by pixman for meter redraws (and add more comments to help the coordinate challenged

7 years agomake Ben's cool range select hack work with Push 2
Paul Davis [Wed, 28 Sep 2016 16:28:38 +0000 (11:28 -0500)]
make Ben's cool range select hack work with Push 2

7 years agooutput more stuff to the error channel if/when a session fails to load/be created
Paul Davis [Wed, 28 Sep 2016 16:27:47 +0000 (11:27 -0500)]
output more stuff to the error channel if/when a session fails to load/be created

7 years agomake error dump on stderr slightly more obvious
Paul Davis [Wed, 28 Sep 2016 16:27:17 +0000 (11:27 -0500)]
make error dump on stderr slightly more obvious

7 years agoRename headless-chicken utility to fix_bbtppq
nick_m [Wed, 28 Sep 2016 16:26:16 +0000 (02:26 +1000)]
Rename headless-chicken utility to fix_bbtppq

7 years agofix for push2 code on Windows (no random())
Paul Davis [Wed, 28 Sep 2016 15:51:01 +0000 (10:51 -0500)]
fix for push2 code on Windows (no random())

7 years agomove mode/scale/key definitions out of push2 code and into libardour; Aeolian is...
Paul Davis [Wed, 28 Sep 2016 15:47:10 +0000 (10:47 -0500)]
move mode/scale/key definitions out of push2 code and into libardour; Aeolian is the same as Minor

7 years agoheadless-chicken: force setting of region length properties, clean up code.
nick_m [Wed, 28 Sep 2016 13:33:18 +0000 (23:33 +1000)]
headless-chicken: force setting of region length properties, clean up code.

7 years agoPrevent overwriting of MidiRegion length and length_beats during session load.
nick_m [Wed, 28 Sep 2016 13:30:47 +0000 (23:30 +1000)]
Prevent overwriting of MidiRegion length and length_beats during session load.

- .

7 years agoRemove bogus methods from MidiRegion.
nick_m [Wed, 28 Sep 2016 12:48:28 +0000 (22:48 +1000)]
Remove bogus methods from MidiRegion.

7 years agoRemove _length_pulse from MidiSource.
nick_m [Wed, 28 Sep 2016 12:46:52 +0000 (22:46 +1000)]
Remove _length_pulse from MidiSource.

7 years agoheadless-chicken: skip !writable sources, ensure midi path is writable.
nick_m [Mon, 26 Sep 2016 15:56:27 +0000 (01:56 +1000)]
headless-chicken: skip !writable sources, ensure midi path is writable.

7 years agoheadless-chicken: ensure new sources are empty, misc renaming.
nick_m [Mon, 26 Sep 2016 14:59:28 +0000 (00:59 +1000)]
headless-chicken: ensure new sources are empty, misc renaming.

7 years agoheadless-chicken: misc fixes.
nick_m [Mon, 26 Sep 2016 14:34:34 +0000 (00:34 +1000)]
headless-chicken: misc fixes.

-clean up user text, remove double null ptr check,
 we're using namespace std::

7 years agoheadless-chicken: various fixes
nick_m [Mon, 26 Sep 2016 13:31:05 +0000 (23:31 +1000)]
headless-chicken: various fixes

- one_source_per_region_fix no longer clobbers midi source
- allow user to override per-region fix and suggest they do so.
- fix multiple note divisor detection.

7 years agoAdd headless-chicken session utility.
nick_m [Sat, 24 Sep 2016 17:25:49 +0000 (03:25 +1000)]
Add headless-chicken session utility.

- provides an upgrade path for sessions affected by a nasty bug
  present in some 5.0 - 5.3 MIDI sessions.
  If testing from source, it can be run from the session_utils directory
  using ./run ardour5-headless-chicken -h

7 years agoallow to get custom/product/version independent cach dir
Robin Gareus [Wed, 28 Sep 2016 11:11:16 +0000 (13:11 +0200)]
allow to get custom/product/version independent cach dir

7 years agodon't render push2 layouts to PNG
Paul Davis [Tue, 27 Sep 2016 20:42:36 +0000 (15:42 -0500)]
don't render push2 layouts to PNG

7 years agoadd missing/moved files from push2 merge
Paul Davis [Tue, 27 Sep 2016 20:42:26 +0000 (15:42 -0500)]
add missing/moved files from push2 merge

7 years agopush2: add code to render screen to PNG files for screenshot purposes
Paul Davis [Tue, 27 Sep 2016 19:58:40 +0000 (14:58 -0500)]
push2: add code to render screen to PNG files for screenshot purposes

7 years agopush2: tweak layout APIs etc.
Paul Davis [Tue, 27 Sep 2016 19:31:17 +0000 (14:31 -0500)]
push2: tweak layout APIs etc.

7 years agopush2: tweak logic of master button
Paul Davis [Tue, 27 Sep 2016 19:30:43 +0000 (14:30 -0500)]
push2: tweak logic of master button

7 years agopush2: improve logic of ::set_current_layout() to allow reset of same layout
Paul Davis [Tue, 27 Sep 2016 18:47:29 +0000 (13:47 -0500)]
push2: improve logic of ::set_current_layout() to allow reset of same layout

7 years agopush2: don't illuminate a button we do not use
Paul Davis [Tue, 27 Sep 2016 18:46:56 +0000 (13:46 -0500)]
push2: don't illuminate a button we do not use

7 years agopush2: null handle on failed open
Paul Davis [Tue, 27 Sep 2016 18:46:36 +0000 (13:46 -0500)]
push2: null handle on failed open

7 years agoprovide ArdourCanvas::Text::{width,height}()
Paul Davis [Tue, 27 Sep 2016 18:46:02 +0000 (13:46 -0500)]
provide ArdourCanvas::Text::{width,height}()

7 years agoRevert "Editor does not need to reset track/stripable selection, since Selection...
Paul Davis [Mon, 26 Sep 2016 00:11:42 +0000 (19:11 -0500)]
Revert "Editor does not need to reset track/stripable selection, since Selection already maintains that itself"

This reverts commit 57652d7d50f706e2f0e525c6f48c1fc7830cf222.

7 years agopush2: fix issue with solo/mute display when entering mix layout
Paul Davis [Mon, 26 Sep 2016 00:10:26 +0000 (19:10 -0500)]
push2: fix issue with solo/mute display when entering mix layout

7 years agopush2: many improvements to track mix and mix layouts
Paul Davis [Sun, 25 Sep 2016 23:29:30 +0000 (18:29 -0500)]
push2: many improvements to track mix and mix layouts

Including meters and clocks

7 years agopush2: correct knob origin translation for drawing
Paul Davis [Sun, 25 Sep 2016 23:28:32 +0000 (18:28 -0500)]
push2: correct knob origin translation for drawing

7 years agooptimize canvas meter redrawing (as in the non-canvas version)
Paul Davis [Sun, 25 Sep 2016 23:28:00 +0000 (18:28 -0500)]
optimize canvas meter redrawing (as in the non-canvas version)

7 years agocorrect comment
Paul Davis [Sun, 25 Sep 2016 23:27:28 +0000 (18:27 -0500)]
correct comment

7 years agobug fixes for vertically-drawn Canvas::Meter
Paul Davis [Sun, 25 Sep 2016 21:44:20 +0000 (16:44 -0500)]
bug fixes for vertically-drawn Canvas::Meter

7 years agobug fixes for Canvas::Box
Paul Davis [Sun, 25 Sep 2016 21:44:03 +0000 (16:44 -0500)]
bug fixes for Canvas::Box

7 years agouse new canvas meter in push2 track mix layout
Paul Davis [Sun, 25 Sep 2016 20:02:47 +0000 (15:02 -0500)]
use new canvas meter in push2 track mix layout

7 years agomove "logmeter.h" from gtk2_ardour into libs/ardour
Paul Davis [Sun, 25 Sep 2016 20:02:16 +0000 (15:02 -0500)]
move "logmeter.h" from gtk2_ardour into libs/ardour

7 years agoadd canvas-based Meter object
Paul Davis [Sun, 25 Sep 2016 20:01:26 +0000 (15:01 -0500)]
add canvas-based Meter object

7 years agoadd new Box container for Canvas.
Paul Davis [Sun, 25 Sep 2016 19:46:07 +0000 (14:46 -0500)]
add new Box container for Canvas.

API subject to change and improvement

7 years agoadd variant of Rect::expand() that allows different amounts in each direction
Paul Davis [Sun, 25 Sep 2016 19:45:39 +0000 (14:45 -0500)]
add variant of Rect::expand() that allows different amounts in each direction

7 years agodon't do as much work if a Rectangle has no outline width or outline what values
Paul Davis [Sun, 25 Sep 2016 19:45:10 +0000 (14:45 -0500)]
don't do as much work if a Rectangle has no outline width or outline what values

7 years agomake inclusion/exclusion of hidden children optional in Item::add_child_bounding_boxes
Paul Davis [Sun, 25 Sep 2016 19:44:27 +0000 (14:44 -0500)]
make inclusion/exclusion of hidden children optional in Item::add_child_bounding_boxes

7 years agoadd Item::add_front()
Paul Davis [Sun, 25 Sep 2016 19:43:57 +0000 (14:43 -0500)]
add Item::add_front()

7 years agomake Item::child_changed() virtual
Paul Davis [Sun, 25 Sep 2016 19:43:32 +0000 (14:43 -0500)]
make Item::child_changed() virtual

7 years agoworking canvas meter code
Paul Davis [Sun, 25 Sep 2016 15:50:03 +0000 (10:50 -0500)]
working canvas meter code

7 years agofirst pass (incomplete) at canvas meters (in push2 context)
Paul Davis [Fri, 23 Sep 2016 23:18:27 +0000 (18:18 -0500)]
first pass (incomplete) at canvas meters (in push2 context)

7 years agostop crashes from out-of-range values
Paul Davis [Fri, 23 Sep 2016 20:24:45 +0000 (15:24 -0500)]
stop crashes from out-of-range values

7 years agomissing includes
Paul Davis [Fri, 23 Sep 2016 20:24:14 +0000 (15:24 -0500)]
missing includes

7 years agofix various aspects of knob function
Paul Davis [Fri, 23 Sep 2016 20:23:47 +0000 (15:23 -0500)]
fix various aspects of knob function

7 years agovpot above metronome button controls click gain; master gain knob now works correctly
Paul Davis [Fri, 23 Sep 2016 19:35:31 +0000 (14:35 -0500)]
vpot above metronome button controls click gain; master gain knob now works correctly

7 years agofix issue with initial menu display
Paul Davis [Fri, 23 Sep 2016 19:34:17 +0000 (14:34 -0500)]
fix issue with initial menu display

7 years agoleave a comment about port reconnection
Paul Davis [Fri, 23 Sep 2016 18:57:29 +0000 (13:57 -0500)]
leave a comment about port reconnection

7 years agoclear filtered note map when entered drum mode
Paul Davis [Fri, 23 Sep 2016 18:57:12 +0000 (13:57 -0500)]
clear filtered note map when entered drum mode

7 years agoupdate pad colors when selected track colors chane
Paul Davis [Fri, 23 Sep 2016 18:56:27 +0000 (13:56 -0500)]
update pad colors when selected track colors chane

7 years agochange handling of MIDI sysex incoming to be a little more efficient
Paul Davis [Fri, 23 Sep 2016 18:54:29 +0000 (13:54 -0500)]
change handling of MIDI sysex incoming to be a little more efficient

7 years agofix assignment of palette colors by using white-balance = 126; also use ArdourCanvas...
Paul Davis [Fri, 23 Sep 2016 18:53:45 +0000 (13:53 -0500)]
fix assignment of palette colors by using white-balance = 126; also use ArdourCanvas color macros

7 years agoupdate selection rect color when track color changes
Paul Davis [Fri, 23 Sep 2016 18:52:23 +0000 (13:52 -0500)]
update selection rect color when track color changes

7 years agoTimeAxisView::set_selected() needs to call AxisView::set_selected()
Paul Davis [Fri, 23 Sep 2016 18:37:01 +0000 (13:37 -0500)]
TimeAxisView::set_selected() needs to call AxisView::set_selected()