Commit Graph

7807 Commits

Author SHA1 Message Date
Robin Gareus
4755c703f4 move color_to_rgba to LuaAPI for consistency 2017-02-18 16:11:18 +01:00
Robin Gareus
149634c2cf Allow to use any Lua function factory, produce bytecode 2017-02-17 18:58:11 +01:00
Robin Gareus
c98116ad44 Add Lua bindings related to solo/mute and realtime control changes 2017-02-17 03:37:51 +01:00
Robin Gareus
d0e3eb42a6 Fix initial order-keys when creating tracks/busses
.. and leave some notes for the day when UI treemodel won't be canonical
to set order-keys.
2017-02-17 00:50:52 +01:00
nick_m
461c0374a1 amend 32248b755b (legacy tempo map). 2017-02-16 09:06:07 +11:00
nick_m
32248b755b fix loading of 4.x sessions with a missing initial tempo section.
- behaviour should match that of 4.x (move the first tempo
	  to frame 0).
2017-02-16 04:58:45 +11:00
Robin Gareus
1f4d16fe0f Add Lua bindings for plugin re-ordering 2017-02-15 18:12:28 +01:00
Robin Gareus
41c432ed3b Don't copy-construct MusicFrame, pass const reference. 2017-02-15 14:20:26 +01:00
nick_m
d9c7a2ad49 unconditionally set region quarter note in set_position().
- this fixes incorrect timing of new regions recorded
	  before the music origin.
2017-02-15 22:55:51 +11:00
Robin Gareus
ad87d71412 Add missing bindings (after 59daffea1) 2017-02-14 14:45:21 +01:00
Robin Gareus
659701c59b Fix lua-doc (Null pointer c'tor doc) 2017-02-14 14:44:22 +01:00
Robin Gareus
7946967270 Prepare record with count-in action 2017-02-13 23:01:11 +01:00
Paul Davis
c5487498ab latest Czech translation for libs/ardour, from Pavel Fric (December 2016) 2017-02-13 14:34:36 +01:00
nick_m
50fc9e0d0f fix 'snap to beat' havoc-causing misplaced bracket.
- should fix 7234
2017-02-14 00:16:52 +11:00
nick_m
751662241a fix missing position property in MidiRegion::clone() 2017-02-13 02:03:05 +11:00
Hiroki Inagaki
5668f6b40e Update Japanese translation 2017-02-12 11:59:40 +01:00
Paul Davis
8d83df7257 remove debug output from PresentationInfo changes 2017-02-09 16:49:11 +01:00
Paul Davis
b572f1a617 fix save_as()' inadvertent marking a session as dirty during the process of saving state to disk 2017-02-09 12:40:59 +01:00
Paul Davis
3dbea92519 NO-OP: whitespace removal 2017-02-09 12:40:59 +01:00
Paul Davis
2f0dc08844 when adding a default start/end range to a Location while saving a template, do not mark the current session dirty 2017-02-09 12:40:59 +01:00
Paul Davis
bbbb874c03 an automation control that has to do things before its value is set in an RT context should potentially tell its ControlGroup
This fixes record-enable controls in a group failing generate
a call to the required stuff for tracks (moving meter position,
preparing diskstream) #7213
2017-02-08 18:55:05 +01:00
nick_m
2d47705998 5.5 incorrectly marked the initial tempo as not locked to meter.
- the initial tempo must always be locked to meter,
	  so i think it is safe to explicitly set it anyway.
2017-02-08 09:58:15 +11:00
Paul Davis
948a041736 remove debug output 2017-02-07 17:09:28 +01:00
Paul Davis
e42c0ff1ea only reverse propagate solo-by-others-downstream if connections on a Route change, not just configuration changes.
This prevents a scenario where the route has had its solo control's state set from
XML, but then we configure the route's output, and invoke output_change_handler().
Without the new conditional, this would check which downstream routes are soloed,
find none, and then unset the soloed-by-downstream state of the solo control.
2017-02-07 16:51:32 +01:00
Paul Davis
08657843ac don't call shared_from_this() for every route when doing solo-downstream propagation 2017-02-07 16:51:32 +01:00
nick_m
2e8e5f14fd fix legacy session where initial tempo was not locked to meter, 2017-02-08 02:23:54 +11:00
Paul Davis
7a1404ff8b use new PBD::Controllable API to correctly save solo and mute controls, which may be slaved to a master 2017-02-06 16:49:08 +01:00
Paul Davis
edd1061c3d save/restore VCA master state inside slaves, so that a reloaded session ends up back in the same state 2017-02-06 16:49:08 +01:00
Paul Davis
5c1efd864c fix type warning 2017-02-05 10:58:10 +01:00
nick_m
893d4e7a07 fix potential absorption of music-locked tempo into meter-locked one. 2017-02-05 00:30:13 +11:00
nick_m
f96d6894e8 remove unused empoMap::round_to_beat_subdivision() 2017-02-04 22:57:36 +11:00
nick_m
f751a0993b ensure region _quarter_note is set (factory). 2017-02-04 22:57:36 +11:00
nick_m
2ddc21c3a9 ensure region _quarter_note is set in offset ctor.. 2017-02-04 22:57:36 +11:00
nick_m
59daffea1d 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.
2017-02-04 22:57:36 +11:00
Paul Davis
a21a414615 another tweak to maybe-fix crash in Playlist::fade_range() 2017-02-03 23:03:01 +01:00
Robin Gareus
a1c15586e0 potential fix for crashes when creating fade-ranges 2017-02-02 23:02:48 +01:00
Robin Gareus
f74412c1e5 Export option to use snapshot name instead of session name 2017-02-02 12:40:26 +01:00
Robin Gareus
2721f2fc24 Reduce continuous stream of warning messages (latent plugin, PH @ zero) 2017-02-01 23:20:27 +01:00
Ben Loftis
bfebad3dce Expose a new lua hook for resetting a plugin processor ( convenience func only: this avoids the necessity of an extra cast to PlugInsert ) 2017-01-31 10:35:37 -06:00
Robin Gareus
f58a47419e Fall back to general MIDI synth for auditioning. 2017-01-30 16:41:56 +01:00
Paul Davis
e12e8716ba add VCA::full_name() which returns "VCA %n" : VCA %n" by default and "VCA %n : user-provided-name" if the name has been set 2017-01-28 16:06:28 +01:00
Robin Gareus
487ae58301 stop looping when deleting loop-range (fixes potential crash) 2017-01-28 12:05:50 +01:00
Paul Davis
5e76d8537b improved (as in "correct") deadlock fix for PresentationInfo::Change 2017-01-28 11:10:18 +01:00
Paul Davis
e998ef5a75 fix deadlock in mutex'ed PresentationInfo code 2017-01-28 09:57:21 +01:00
Paul Davis
2a95d79014 use a lock when dealing with PresentationInfo::Change emission
This allows us to emit the signal while still marking further emissions as blocked.
This in turns prevents handlers from recursively calling themselves.
2017-01-27 22:17:53 +01:00
Paul Davis
4821def173 show what PresentationInfo::Change is being used for 2017-01-27 22:17:53 +01:00
Paul Davis
8cb3c42548 use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed 2017-01-27 22:17:53 +01:00
nick_m
1e397a83ad mark session dirty when moving range markers or altering location lock style. 2017-01-27 03:07:29 +11:00
nick_m
7b9784fff4 mark session dirty when dragging tempo markers. 2017-01-27 03:05:32 +11:00
nick_m
666ed3a0bd no-op - whitespace fix for libs/ardour/playlist.cc 2017-01-27 01:10:49 +11:00