John Emmas [Sun, 5 Feb 2017 15:05:32 +0000 (15:05 +0000)]
Some minor changes in preparation for building the newer Vamp plugins
Paul Davis [Sun, 5 Feb 2017 14:51:00 +0000 (15:51 +0100)]
unused code, showing basics of how to define a custom gtkmm-2.4 treemodel for stripables.
Not used because it turns out that the model in the GUI
needs to be based on axisviews, some of which correspond
directly to Stripables and some do not
Paul Davis [Sun, 5 Feb 2017 09:58:10 +0000 (10:58 +0100)]
fix type warning
nick_m [Sat, 4 Feb 2017 18:26:18 +0000 (05:26 +1100)]
remove overzealous bounds check when dropping notes.
nick_m [Sat, 4 Feb 2017 18:02:01 +0000 (05:02 +1100)]
midi note drags are music-based.
- wysiwyg (during drag) when dragging more than one note across
a tempo change.
- introduces a muscal equivalent of snap_delta (only used for
note drags atm)
- split earliest note in selection into a separate function
- MRV::copy_selection() returns the equivalent _primary note
to avoid offset hell.
- RV::snap_frame_to_frame returns a MusicFrame
- prevent note drag moving before region start.
John Emmas [Sat, 4 Feb 2017 16:14:12 +0000 (16:14 +0000)]
If 'MidiRegionView::find_canvas_sys_ex()' fails, make it return a boost::shared_ptr<> (rather than returning an int)
John Emmas [Sat, 4 Feb 2017 16:11:14 +0000 (16:11 +0000)]
'CheckMenuItem' conflicts with an item already existing in MSVC
Paul Davis [Sat, 4 Feb 2017 14:08:04 +0000 (15:08 +0100)]
make more of an effort to ensure that the last element in Selection::tracks is the most-recently selected
nick_m [Sat, 4 Feb 2017 13:30:13 +0000 (00:30 +1100)]
fix potential absorption of music-locked tempo into meter-locked one.
John Emmas [Sat, 4 Feb 2017 12:58:33 +0000 (12:58 +0000)]
Fix a crash in rhythm ferret if the relevant plugin couldn't be found for some reason
The crash was caused by not catching 'failed_constructor()' (which gets thrown in the c'tor for AudioAnalyser).
John Emmas [Sat, 4 Feb 2017 12:54:19 +0000 (12:54 +0000)]
Some paths weren't getting set up correctly for the MSVC build
Fortunately, only the VAMP_PATH was causing a problem. The others were only relevant for a Debug build
nick_m [Wed, 1 Feb 2017 17:39:32 +0000 (04:39 +1100)]
clean up patch change/sysex headers.
nick_m [Wed, 1 Feb 2017 16:58:01 +0000 (03:58 +1100)]
set sysex height & position on redisplay.
nick_m [Wed, 1 Feb 2017 16:34:21 +0000 (03:34 +1100)]
improve sysex data display.
- don't add a new SysEx canvas item every time we zoom or drag.
- speed up redisplay generally using PatchChange-like method
for finding items (find_canvas_sys_ex() in boost::unordered_map).
nick_m [Wed, 1 Feb 2017 12:50:42 +0000 (23:50 +1100)]
more inconsistent menu item fiddling.
nick_m [Wed, 1 Feb 2017 11:58:48 +0000 (22:58 +1100)]
more messing about with inconsistent menu state.
nick_m [Tue, 31 Jan 2017 15:08:04 +0000 (02:08 +1100)]
allow "Glue to Bars & Beats" in region menu to be in an inconsistent state.
- toggling an inconsistent lock style sets all selected regions
to AudioTime
nick_m [Mon, 30 Jan 2017 18:02:02 +0000 (05:02 +1100)]
remove unused empoMap::round_to_beat_subdivision()
nick_m [Mon, 30 Jan 2017 17:15:21 +0000 (04:15 +1100)]
non-primary music-locked regions follow tempo changes while dragging.
- the contents still don't update but position is much
more wysiwyg.
nick_m [Mon, 30 Jan 2017 16:06:13 +0000 (03:06 +1100)]
rework RegionMotionDrag so that we can actually drag a region to zero.
- did this ever work?
nick_m [Mon, 30 Jan 2017 16:03:45 +0000 (03:03 +1100)]
make dragging a region from the list not crash.
- its still a fake event, but we can at least get the snap correct.
- playlist->add_region() parameters were whacky
(for Playlist::add_region_internal()?)
nick_m [Mon, 30 Jan 2017 15:57:40 +0000 (02:57 +1100)]
ensure region _quarter_note is set (factory).
nick_m [Mon, 30 Jan 2017 15:56:41 +0000 (02:56 +1100)]
ensure region _quarter_note is set in offset ctor..
nick_m [Mon, 30 Jan 2017 15:44:10 +0000 (02:44 +1100)]
fix thinko wrt Drag::adjusted_frame()
nick_m [Thu, 26 Jan 2017 17:37:32 +0000 (04:37 +1100)]
setup_snap_delta() need only take a framepos_t.
nick_m [Thu, 26 Jan 2017 13:41:17 +0000 (00:41 +1100)]
rework snap
snap now fills in a struct (MusicFrame) which contins a snapped frame
along with a music divisor.
this gives useful information wrt magnetic snap which may or may not
have rounded to an exact musical position.
region position may now be set musically (using quarter notes for now).
this patch fixes several problems in the current code:
- dragging a list of music-locked regions now maintains correct
musical offsets within the list.
- splitting regions using magnetic snap works correctly (#7192)
- cut drag should now work correctly with magnetic snap.
- musical length of split midi regions is no longer frame based.
Paul Davis [Fri, 3 Feb 2017 22:02:37 +0000 (23:02 +0100)]
another tweak to maybe-fix crash in Playlist::fade_range()
Ben Loftis [Fri, 3 Feb 2017 03:44:31 +0000 (21:44 -0600)]
Tweak MIDI channel dialog layout.
Ben Loftis [Fri, 3 Feb 2017 03:21:11 +0000 (21:21 -0600)]
Remove redundant MIDI submenu. The items are now in the main menu.
Robin Gareus [Thu, 2 Feb 2017 22:02:48 +0000 (23:02 +0100)]
potential fix for crashes when creating fade-ranges
Robin Gareus [Thu, 2 Feb 2017 20:42:23 +0000 (21:42 +0100)]
fix crash when closing session w/action hooks
drop_callback() deletes the Callback itself (lua state is invalid)
Ben Loftis [Thu, 2 Feb 2017 17:02:10 +0000 (11:02 -0600)]
Right-click on a VCA to assign it to the selected channels.
Paul Davis [Thu, 2 Feb 2017 13:33:41 +0000 (14:33 +0100)]
toolbar building from file given by command line
Robin Gareus [Thu, 2 Feb 2017 12:49:15 +0000 (13:49 +0100)]
Lua script to save a snapshot after export
Paul Davis [Thu, 2 Feb 2017 13:16:27 +0000 (14:16 +0100)]
canvas tester tweak
Paul Davis [Thu, 2 Feb 2017 13:16:17 +0000 (14:16 +0100)]
toolbar creation from text files
Paul Davis [Thu, 2 Feb 2017 13:09:42 +0000 (14:09 +0100)]
shorten enum/string for icons by avoiding Gtkmm2ext namespace
Paul Davis [Thu, 2 Feb 2017 13:05:11 +0000 (14:05 +0100)]
include ArdourIcon in declared enums
Paul Davis [Thu, 2 Feb 2017 12:29:17 +0000 (13:29 +0100)]
use different source file for canvas tester
Paul Davis [Thu, 2 Feb 2017 12:04:06 +0000 (13:04 +0100)]
additional commit for removal of TransportControllables
Paul Davis [Thu, 2 Feb 2017 12:03:32 +0000 (13:03 +0100)]
ARDOUR_UI transport buttons should use ArdourButton::set_related_action().
I have no idea what I or anyone was thinking with the silly
TransportControllable nonsense, but it's all gone now.
Robin Gareus [Thu, 2 Feb 2017 11:44:08 +0000 (12:44 +0100)]
GUI to select export session/snapshot name
Robin Gareus [Thu, 2 Feb 2017 11:40:26 +0000 (12:40 +0100)]
Export option to use snapshot name instead of session name
Robin Gareus [Wed, 1 Feb 2017 22:33:44 +0000 (23:33 +0100)]
update link to MB manual
Robin Gareus [Wed, 1 Feb 2017 22:20:27 +0000 (23:20 +0100)]
Reduce continuous stream of warning messages (latent plugin, PH @ zero)
Robin Gareus [Wed, 1 Feb 2017 22:05:49 +0000 (23:05 +0100)]
Properly remember window position.
Querying the position of unmapped windows may or may not return a valid
position. -- the configure handler is also called after hiding a window.
Paul Davis [Wed, 1 Feb 2017 20:30:46 +0000 (21:30 +0100)]
playing games with canvas (grid) test
Paul Davis [Wed, 1 Feb 2017 20:30:29 +0000 (21:30 +0100)]
canvas::grid - more tweaks and improvements
Paul Davis [Wed, 1 Feb 2017 19:35:52 +0000 (20:35 +0100)]
canvas::grid : compute all row/col extents
Paul Davis [Wed, 1 Feb 2017 19:22:19 +0000 (20:22 +0100)]
basics of row/col span for Canvas::Grid
Paul Davis [Mon, 30 Jan 2017 17:41:20 +0000 (18:41 +0100)]
use new Grid API
Paul Davis [Mon, 30 Jan 2017 17:41:11 +0000 (18:41 +0100)]
change Grid API to avoid unnecessary Duple and open door for row/col span
Paul Davis [Mon, 30 Jan 2017 16:11:22 +0000 (17:11 +0100)]
clear up some CSS padding/margin confusion, and add row/col spacing
Paul Davis [Mon, 30 Jan 2017 15:32:10 +0000 (16:32 +0100)]
valgrind option (commented) for canvas tester
Paul Davis [Mon, 30 Jan 2017 15:31:52 +0000 (16:31 +0100)]
more sophisticated canvas tester
Paul Davis [Mon, 30 Jan 2017 15:31:35 +0000 (16:31 +0100)]
canvas::grid starts being able to do its job a little
Paul Davis [Fri, 20 Jan 2017 11:08:58 +0000 (12:08 +0100)]
add basic data members and methods for adding an explicit size allocation for Canvas::Item
Paul Davis [Mon, 30 Jan 2017 13:46:14 +0000 (14:46 +0100)]
some initial bits of work on canvas allocation
Paul Davis [Wed, 1 Feb 2017 10:57:37 +0000 (11:57 +0100)]
make the leftmost mixer stripable API at least work as advertised
Paul Davis [Wed, 1 Feb 2017 10:46:42 +0000 (11:46 +0100)]
add new API to ControlProtocol to allow GUI to specify left-most mixer strip
Subject To Change. Mileage May Vary. Offer Not Good In All Territories.
Paul Davis [Wed, 1 Feb 2017 09:27:13 +0000 (10:27 +0100)]
mackie: catch data on what presentation info aspects changed; don't change banks on a PI change
Robin Gareus [Tue, 31 Jan 2017 19:42:22 +0000 (20:42 +0100)]
Skip no-change re-ordering of tracks/busses
e.g. move top-most track up, bottom-most track down.
Robin Gareus [Tue, 31 Jan 2017 19:40:31 +0000 (20:40 +0100)]
Don't allow to select VCAs in the route-list
Paul Davis [Tue, 31 Jan 2017 19:12:04 +0000 (20:12 +0100)]
debugging with markk: stacktrace on bank switch in mackie code
Paul Davis [Tue, 31 Jan 2017 18:16:50 +0000 (19:16 +0100)]
remove recently added MackieControl DEBUG_TRACE msgs
Paul Davis [Tue, 31 Jan 2017 18:16:35 +0000 (19:16 +0100)]
stop DEBUG_TRACE for MackieControl crashing in some conditions
Paul Davis [Tue, 31 Jan 2017 17:24:39 +0000 (18:24 +0100)]
mackie: use "markN" for new markers, like the GUI (not "markerN")
Paul Davis [Tue, 31 Jan 2017 17:08:44 +0000 (18:08 +0100)]
mackie: check modifier bits for button AFTER identifying possibly remapped button ID
Paul Davis [Tue, 31 Jan 2017 16:52:59 +0000 (17:52 +0100)]
mackie: more debug tracing
Paul Davis [Tue, 31 Jan 2017 16:48:49 +0000 (17:48 +0100)]
mackie: more debug tracing
Paul Davis [Tue, 31 Jan 2017 16:43:33 +0000 (17:43 +0100)]
mackie: more debug tracing for remapped buttons
Paul Davis [Tue, 31 Jan 2017 16:37:45 +0000 (17:37 +0100)]
Revert "mackie: make profile-mapped keys maybe actually do something"
This reverts commit
0d7f88afbdb4477990706faa49a75e4dfb419b75.
Paul Davis [Tue, 31 Jan 2017 16:37:23 +0000 (17:37 +0100)]
Revert "mackie: improve previous commit - use button_id not button.bid() to make remapping work"
This reverts commit
16804e20c8d13b0b217410a208b9416845f48213.
Paul Davis [Tue, 31 Jan 2017 16:30:50 +0000 (17:30 +0100)]
mackie: improve previous commit - use button_id not button.bid() to make remapping work
Ben Loftis [Tue, 31 Jan 2017 16:35:37 +0000 (10:35 -0600)]
Expose a new lua hook for resetting a plugin processor ( convenience func only: this avoids the necessity of an extra cast to PlugInsert )
Paul Davis [Tue, 31 Jan 2017 16:23:45 +0000 (17:23 +0100)]
mackie: make profile-mapped keys maybe actually do something
Paul Davis [Tue, 31 Jan 2017 16:05:30 +0000 (17:05 +0100)]
more mackie debug tracing
Paul Davis [Tue, 31 Jan 2017 15:29:22 +0000 (16:29 +0100)]
improvement to last loop button commit for MCP
Paul Davis [Tue, 31 Jan 2017 15:10:23 +0000 (16:10 +0100)]
mackie support should use BasicUI::loop_toggle()
Paul Davis [Tue, 31 Jan 2017 14:32:55 +0000 (15:32 +0100)]
Generic MIDI controls should affect group members too, if they exist
Robin Gareus [Tue, 31 Jan 2017 10:39:24 +0000 (11:39 +0100)]
Potential clock info-text color-glitch fix <span color>
Don't switch between set_text() and set_markup(); always use markup because
set_markup() modifies the attribute list of the pango-layout.
This might fix: "Switch Int. clock to MTC and back to Int. and the
indicator redraws with improper colors"
Robin Gareus [Tue, 31 Jan 2017 09:44:07 +0000 (10:44 +0100)]
fix a-fluidsynth bank select (use MMA style, 14 bit MSB/LSB)
Robin Gareus [Mon, 30 Jan 2017 23:43:43 +0000 (00:43 +0100)]
fix a-fluidsynth midnam bank select
Robin Gareus [Mon, 30 Jan 2017 15:42:50 +0000 (16:42 +0100)]
unconditionally include gmsynth.lv2 in bundles (and avldrums with MB)
Robin Gareus [Mon, 30 Jan 2017 15:42:11 +0000 (16:42 +0100)]
Prefer General MIDI Synth as default instrument
Robin Gareus [Mon, 30 Jan 2017 15:41:56 +0000 (16:41 +0100)]
Fall back to general MIDI synth for auditioning.
Paul Davis [Mon, 30 Jan 2017 11:54:48 +0000 (12:54 +0100)]
prevent crash when deselecting track from mixer.
Need to defer PresentationInfo::Change till after we're done
changing our own cached set of axis views
John Emmas [Mon, 30 Jan 2017 11:07:59 +0000 (11:07 +0000)]
When building with MSVC, use perl to generate 'ardour.keys'
Robin Gareus [Mon, 30 Jan 2017 10:46:55 +0000 (11:46 +0100)]
left/right align mixer-strips
nick_m [Sun, 29 Jan 2017 14:46:38 +0000 (01:46 +1100)]
speed up midi ghost region update
- as MRV removes invalid notes from the GR, we
can simply update all events after checking vertical visibility.
Paul Davis [Sun, 29 Jan 2017 14:02:07 +0000 (15:02 +0100)]
prevent suggestion that MIDI tracks can be set to stacked view
Robin Gareus [Sun, 29 Jan 2017 08:34:09 +0000 (09:34 +0100)]
Keep tracks visible when re-ordering them in the editor
Paul Davis [Sat, 28 Jan 2017 20:31:46 +0000 (21:31 +0100)]
fix up default key bindings to use correct binding groups after recent Editor -> Common migration
Ben Loftis [Sat, 28 Jan 2017 19:34:30 +0000 (13:34 -0600)]
2 new export formats for stems and such. They export at the current session sample rate.
Paul Davis [Sat, 28 Jan 2017 18:16:24 +0000 (19:16 +0100)]
another action name fix for Push2 support
Paul Davis [Sat, 28 Jan 2017 17:50:12 +0000 (18:50 +0100)]
fix action names in Mackie code after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:49:59 +0000 (18:49 +0100)]
fix another action name in BasicUI after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:47:38 +0000 (18:47 +0100)]
fix action names in BasicUI after Editor=>Control migration
Paul Davis [Sat, 28 Jan 2017 17:35:04 +0000 (18:35 +0100)]
fix action names in Push2 support code
Paul Davis [Sat, 28 Jan 2017 17:33:46 +0000 (18:33 +0100)]
more modified key bindings