Commit graph

7014 commits

Author SHA1 Message Date
Robin Gareus
00caabf735 ignore midi on monitor-section and force strict-i/o 2016-06-12 20:16:27 +02:00
Robin Gareus
63ac1e7224 more meta-data placeholders for post-export command 2016-06-12 10:59:47 +02:00
nick_m
bcf683df00 Fix exact tempo pulse for snap to bars case. 2016-06-12 03:26:02 +10:00
nick_m
24f64b3ea7 Make exact beat calculation of tempi a bit less cumbersome. Move tempi on an audio basis for non-musical snap. 2016-06-12 02:46:13 +10:00
nick_m
e973e39f06 Set tempo sections to the exact pulse when snapped to a musical grid. 2016-06-12 00:42:43 +10:00
Paul Davis
ec8a4de015 make relative gain control in route groups work (again) 2016-06-10 16:59:34 -04:00
nick_m
a1be0d0fe1 Unused variable - no-op. 2016-06-11 05:54:18 +10:00
nick_m
f3b4644969 Fix many offset errors when drawing notes in midi regions that have been edited.
- hopefully this can close bugs such as 6270 & 6793
2016-06-11 05:40:50 +10:00
Paul Davis
49011ea146 noop: comment fix. 2016-06-10 13:57:19 -04:00
Paul Davis
a2fd790252 New editor API to retrieve the Stripable with via presentation info order. 2016-06-10 13:57:19 -04:00
Paul Davis
2d4358ddb5 Various changes to PresentationInfo and a small consolidation of sorters.
The semantics for sorting PresentationInfo are up to the caller, not the
PresentationInfo object, so operator<() was removed and callers specifically
invoke ::order() for sorting.
2016-06-10 13:57:18 -04:00
nick_m
ae99b93cc2 Apply some constraints to bbt dragging.
- max tempo 1000 bpm

	- apply a minimum measurement distance.

	- ensure result is positive (!)
2016-06-10 11:45:40 +10:00
Paul Davis
624715cca7 provide a heuristic to decide if the color has been set for a PresentationInfo object 2016-06-09 16:24:22 -04:00
nick_m
260a0ca12c Amend last commit. 2016-06-10 01:14:08 +10:00
nick_m
e05b0862b5 Audio locked meters with an existing tempo may be dragged past that tempo's location. 2016-06-10 01:07:25 +10:00
nick_m
8de12a4015 Possible fix for memory pool problem in session click. 2016-06-09 05:16:38 +10:00
Colin Fletcher
e27df63bc5 Fix a couple of build errors in the test suite.
The parameters to Session::new_audio_track() changed in e0ff70cf, and
Playlist::region_list() was renamed to region_list_property() in
fce6ac0e. Update calls to these functions in the test suite to match.

A couple of tests still fail after these changes.
2016-06-08 19:56:34 +01:00
Paul Davis
fcf49de774 move gui_changed() signal from Route to Stripable 2016-06-08 11:03:13 -04:00
Robin Gareus
a223b96725 fix mute automation for busses & consolidate code. 2016-06-08 15:39:04 +02:00
Robin Gareus
fce6ac0ef6 consistent API name for region-list 2016-06-08 15:39:04 +02:00
Robin Gareus
04997080a4 add meta-data placeholders for post-export command
needs testing on windows with UTF8
2016-06-07 16:57:17 +02:00
Paul Davis
78ad42fd88 fix up logic that connects ControlGroups and RouteGroups
This makes deactivating a RouteGroup also stop the ControlGroups from having any effect
2016-06-07 09:48:17 -04:00
Paul Davis
3c0fd1a115 remove incorrect allocation of a second VCAManager in a session.
Fixes warning about a SessionHandleRef at session close
2016-06-06 16:15:25 -04:00
nick_m
36f3291a9c Ensure correct lock style before setting position. 2016-06-07 06:14:47 +10:00
nick_m
86db26ff16 MidiRegion ctor inherits length_beats.
- fixes incorrect length on drag-copying and pasting
	  midi regions.
2016-06-07 06:12:41 +10:00
nick_m
9488201a2c Region ctor inherits position, start and beat. 2016-06-07 06:10:55 +10:00
nick_m
288ebbe5a7 Fix initialization of Region::_beat. 2016-06-07 03:00:28 +10:00
nick_m
6a622d86dc Fix midi region split, trim and move operations.
- there is still the problem of being unable to drag
	  a trimmed region to the left when it's source
	  (not it's position) would end up on a negative beat.
2016-06-07 02:14:31 +10:00
nick_m
92fdf7deda Region always sets position before length. 2016-06-07 02:12:04 +10:00
Paul Davis
da5119583a there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:45 -04:00
John Emmas
cde50f847f MSVC won't allow floating point types to be mapped directly to enums 2016-06-06 09:07:45 +01:00
nick_m
f0f2e3bb71 Consolidate notifications when MidiRegion changes length due to position change. 2016-06-06 14:26:43 +10:00
Paul Davis
2c0396c9aa fix Session::get_remote_nth_stripable() to use zero-based numbering 2016-06-05 20:50:57 -04:00
Paul Davis
6520548fc2 extend/modify PresentationInfo to make searching for routes via Session::get_remote_nth_stripable() work 2016-06-05 20:50:57 -04:00
Paul Davis
5bbfac2380 OS X clang build issue fix 2016-06-05 18:00:48 -04:00
Paul Davis
d58cb3daa3 extensive changes to PresentationInfo API
Now handles color, partially.
2016-06-05 16:33:01 -04:00
Paul Davis
e3e77475cd fix registration of PresentationInfo enums 2016-06-05 16:33:01 -04:00
Paul Davis
58f6b98662 extend comments to avoid unused-variable warnings from commented code 2016-06-05 16:33:01 -04:00
Paul Davis
e4a588901b change property names (not quark/strings) for RouteGroup properties to avoid collisions with new ones 2016-06-05 16:33:01 -04:00
nick_m
bd551e97ea Midi regions recalculate their length in frames when moved/copied.
- should fix 6793
2016-06-06 03:54:23 +10:00
Robin Gareus
86607097d6 plugin support for Controllable::NotAutomatable 2016-06-05 19:05:05 +02:00
Robin Gareus
6e42d7b99e prepare for LV2 non-automatable control ports 2016-06-05 14:45:24 +02:00
Robin Gareus
37b90c2a9e refine self-automating plugin interface
* thin automation at end
* allow plugins to disable its internal write state (ctrl port)
* Debug messages
2016-06-05 14:44:54 +02:00
nick_m
b4a020cdf5 Fix ignored note_type in TempoMap::frames_per_beat_at(). 2016-06-05 07:10:06 +10:00
Robin Gareus
56a5dd92af allow latent self-automating plugins 2016-06-03 23:09:18 +02:00
Paul Davis
e8379b3818 simplify PresentationInfo concept of order so that it is always global
Cases that need more complex sort orders (e.g. all routes, then all vcas then master) need
to take of this themselves
2016-06-03 15:15:39 -04:00
Robin Gareus
8e4c6f7f5a fix creating aux-busses from templates, reset return-bitslot 2016-06-02 22:25:41 +02:00
Robin Gareus
8566d898b5 fix possible deadlock replacing processor state. 2016-06-02 22:25:41 +02:00
Paul Davis
a0fad16648 change name of a Session method to makes its intended function clear 2016-06-02 14:46:35 -04:00
Paul Davis
3b58010c8c mark session dirty on creation/deletion of a VCA 2016-06-02 14:46:35 -04:00