Commit graph

11889 commits

Author SHA1 Message Date
Paul Davis
2afaa51717 remove pointless version of Stripable::set_presentation_order() 2016-07-12 09:20:50 -04:00
Robin Gareus
d9f19ad1fe fix a a-eq ttl typo 2016-07-12 14:38:28 +02:00
Paul Davis
8de675d699 fix simple but fatal mistake in defining PBD::Controllable::Flags enums.
This error caused the flags to be saved as an empty string, thus losing all state when the session is reloaded
2016-07-12 08:34:35 -04:00
Robin Gareus
1f02dd2a85 fix compilation with lv2 < 1.10 (lv2 extended) 2016-07-12 13:44:55 +02:00
Robin Gareus
157564947b a-eq tweaks:
* shorten e-eq Hz display (no decimals)
* use 16:9 aspect inline display
* fix a compiler warning
2016-07-12 04:01:56 +02:00
Robin Gareus
e8cd2949bd update MIDIEvent lua bindings/example 2016-07-12 01:46:58 +02:00
Len Ovens
3ab200acaa OSC: finish feedback for well known controls. Simplify some others. 2016-07-11 16:00:14 -07:00
Robin Gareus
db72830691 remove debug output 2016-07-11 22:53:13 +02:00
Robin Gareus
57df370e2a add a convenient lua forward mapped buffers method 2016-07-11 22:36:00 +02:00
Robin Gareus
4537f5fb20 proper semantics for variable port-count
Ardour takes the closest pin/port match yet still offers a plugin with
variable i/o access to all port-buffers.

the "reported" (user visible) pin-count now defaults to the actual
selected configuration (precise) and lua_dsp_configure() can
override it.
2016-07-11 22:22:17 +02:00
Robin Gareus
1f7f7f8597 remove implicit labels from a-eq 2016-07-11 16:58:53 +02:00
Robin Gareus
b65cb37d24 add a MTC/sysex test sequence 2016-07-11 16:58:53 +02:00
Robin Gareus
a1bff57695 lua MidiBuffer bindings 2016-07-11 03:04:29 +02:00
Len Ovens
5156b8aeb5 White space fix only. (Spaces to tabs) 2016-07-10 08:20:05 -07:00
Robin Gareus
7dfd39e708 add a single-element ring-buffer write function 2016-07-10 15:56:18 +02:00
Robin Gareus
140258d8ab remove reference "const int32_t&" -> const int32_t"
this simplifies lua-bindings and also let's the compiler worry about
constant primitive types.
2016-07-10 15:30:41 +02:00
Robin Gareus
cb2c459302 complete ringbuffer bindings 2016-07-10 15:01:29 +02:00
Robin Gareus
5780e44993 add raw midi buffer binding 2016-07-10 14:45:58 +02:00
Robin Gareus
509ce07c28 fix plugin bypass -- thinko in 54d8def6 2016-07-10 04:02:02 +02:00
Robin Gareus
a4a246b41d towards export latency compensation 2016-07-10 03:21:29 +02:00
Robin Gareus
0a52b325f4 align stem-export (raw track outputs (with and w/p processing) 2016-07-10 03:21:29 +02:00
Paul Davis
7c13a16589 possible fix for off-by-one issue with MIDI binding maps etc. 2016-07-09 18:19:27 -04:00
Paul Davis
1f3e49e8ee fix initialization order 2016-07-09 17:53:17 -04:00
Paul Davis
57f74fbf13 const bool METHOD() const makes no sense 2016-07-09 17:15:17 -04:00
Robin Gareus
0c2a5dc0b2 better safe than sorry 2016-07-09 18:34:27 +02:00
nick_m
703150d365 Always set the musical position in Region::recompute_position_from_lock_style(). 2016-07-10 02:18:38 +10:00
nick_m
8a676d2bd4 Fix missing note divisor when creating regions, ensure an existing musical time is not altered. 2016-07-10 02:18:38 +10:00
nick_m
33dab757ee Tempo map updates.
- cleanup audio-locked meter removal code

	- recompute and warn if map is left unsolved due to adding a metric

	- handle corner case wrt overlapping audio-locked musical sections.
2016-07-10 02:18:38 +10:00
nick_m
49159e9585 Fix long-standing spelling bug.
- should be a no-op.
2016-07-10 02:18:37 +10:00
nick_m
7a6f8abc1d Fix missing tempi recompute, improve adding meter/tempo failure. 2016-07-10 02:18:37 +10:00
nick_m
828cb52f86 Fail properly when adding a new audio locked meter's tempo. 2016-07-10 02:18:37 +10:00
nick_m
f4ec7f12d1 Fix broken meter manipulation in exact_beat. 2016-07-10 02:18:37 +10:00
nick_m
e40604f6bd Back to using exact beats for midi region start_beats calculation when trimming.
- seems to work quite well, but not tested on live recording.
2016-07-10 02:18:37 +10:00
nick_m
e4a163e2fa Fix bad comment. 2016-07-10 02:18:37 +10:00
nick_m
6612b73033 Use frame-based (non-exact) beat calculation to set new start in midi region trim. 2016-07-10 02:18:37 +10:00
nick_m
f1802667ba Experimental patch to ensure playback buffer bounds use minimal beat->frame rounding. 2016-07-10 02:18:37 +10:00
nick_m
4acd365e42 AudioPlaylist doesn't double-notify that contents have changed if bounds have changed. 2016-07-10 02:18:37 +10:00
nick_m
5afe2993bd Remove extra ContentsChanged signal on tempo map change. 2016-07-10 02:18:37 +10:00
nick_m
447f9ee062 Exact beat for added regions. 2016-07-10 02:18:37 +10:00
nick_m
3b4a406ba1 Only update midi regions having a playlist after tempo map change, fix 0 length regions from drawing tool. 2016-07-10 02:18:37 +10:00
nick_m
4bdbe77414 Avoid the use of dynamic_cast in TempoMap for performance improvement.
- review / comment would be appreciated here.
2016-07-10 02:18:37 +10:00
nick_m
8e99b59af5 Make TempoMap::bbt_at_frame() more efficient.
- should be a no-op
2016-07-10 02:18:37 +10:00
nick_m
95ba43916f Improve performance of automation range moves. 2016-07-10 02:18:37 +10:00
nick_m
7a6efaaf3d Quick fix to get trim working again (bahaving oddly during trim right now) 2016-07-10 02:18:37 +10:00
nick_m
9f61f8a5b0 Complete the task of Playlist::flush_notifications () 2016-07-10 02:18:36 +10:00
nick_m
c6f2095fb7 Improve the performance of TempoMap::frame_at_beat ().
- should be a no-op
2016-07-10 02:18:36 +10:00
nick_m
0e63fa65b5 Remove frame conversion for MidiRegionView::note_in_region_range(), speed up tempo dilation 2016-07-10 02:18:36 +10:00
nick_m
93c24e4433 Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor. 2016-07-10 02:18:36 +10:00
nick_m
94e0a15325 Exact beat - provide audio->music mapping for region split.
- for those not in the know, this series provides a way to
	  remove the temporal distortion introduced when using an
	  audio frame-based gui for music-locked objects.

	  In short, the gui uses an audio frame representation to move
	  objects. It displays the object using frame_at_beat(), quantizing
	  the time value to audio frames. This is fine until the user selects
	  that frame but expects it to be interpreted as a beat.
	  Thus beat_at_frame() would not produce the user-expected beat
	  (temporal quantization error of up to 0.5 audio samples).
	  This is one method of mapping audio time to music time accurately.
2016-07-10 02:18:36 +10:00
nick_m
2d5238d875 Make some musical operations on music-locked regions operate in beats.
- use exact beats to determine frame position.
	- see comments in tempo.cc for more.
	- this hasn't been done for split yet, but dragging and
	  trimming are supported.
2016-07-10 02:18:36 +10:00