nick_m
6e49ca61a4
Remove the temporary note group in MidiRegionView, update start trim during drag.
2016-07-22 23:21:27 +10:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
774ad0752a
GUI side of : once the user has explicitly set the session range end, playlist/range changes do not move it.
...
The user may drag the marker, edit in the Location UI, or use nudge, to set the end
2016-07-12 11:19:49 -04:00
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
nick_m
0bdbe56cf1
Stop passing references to things that may disappear when a metric section is replaced.
2016-07-10 02:18:37 +10:00
nick_m
39b70ceced
Check meter/tempo section exists in copy drag.
2016-07-10 02:18:37 +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
da7d7f9502
many changes associated with rationalizing selection flow
2016-07-06 13:39:10 -04: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
954b17325d
another PresentationInfo sort order fix.
2016-06-10 13:57:19 -04:00
nick_m
6c986231d3
More tempo marker cross-dragging fixes.
2016-06-08 13:48:22 +10:00
nick_m
d18bbc646a
Fix tempo markers jittering when cross-dragging over large tempo deltas.
2016-06-08 12:45:12 +10:00
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
eee83c25a9
make all TimeAxisView derived types return PresentationInfo for sorting
2016-06-02 14:46:35 -04:00
6baac7d46f
various safety checks for the result of dynamic_cast-ing a TimeAxisView to RouteTimeAxisView
...
Now that we have VCATimeAxisView, this needed to be done, but it also potentially applied with automation
2016-06-02 08:42:58 -04:00
e3c4f5fa98
make double-click on patch change launch patch change editor
2016-05-31 15:30:44 -04:00
2c9c210213
manually fix rebase/merge issues caused by addition of plugin presets to methods which add a new track/bus
2016-05-31 15:30:42 -04:00
e0ff70cf86
first vaguely working version using PresentationInfo
...
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
nick_m
a924e938aa
Allow non-musical snap when dragging bbt ruler.
...
- probably not what the user wants,
unless snapping beats to timecode frames.
2016-05-28 06:50:22 +10:00
nick_m
0d17c21410
Revert 2d7f755
2016-05-28 05:17:43 +10:00
nick_m
2d7f755df6
Enable snap for tempo dilation.
2016-05-28 03:21:16 +10:00
nick_m
062e17a542
Don't change snap settings when dragging audio-locked meters.
2016-05-28 03:16:06 +10:00
nick_m
1c51cbcc82
Force snap when dragging meters.
2016-05-28 02:57:53 +10:00
nick_m
9506fd884d
Restore snap setting in eterMarkerDrag::aborted()/
2016-05-28 02:47:12 +10:00
nick_m
b9f70334b6
Dragging a meter sets editor snap type to bars during drag.
2016-05-28 00:48:18 +10:00
nick_m
aad7b129b6
Tempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame()
2016-05-27 23:38:18 +10:00
nick_m
34c9ac9dd7
Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()
2016-05-27 23:38:17 +10:00
nick_m
8f3bc6f809
Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display.
2016-05-27 23:38:17 +10:00
nick_m
6e97f40d08
Tempo ramps - remove thinko
2016-05-27 23:38:17 +10:00
nick_m
390dea1684
Tempo ramps - fix comment
2016-05-27 23:38:17 +10:00
nick_m
389e35f7be
Tempo ramps - ensure fake meter mark is under pointer during drags.
2016-05-27 23:38:17 +10:00
nick_m
de5f8dd3d3
Temper pants - fix newly added lockup while dragging tempos sometimes.
2016-05-27 23:38:17 +10:00
nick_m
43922a1fe1
Tempo ramps - clean up tempo dragging.
2016-05-27 23:38:17 +10:00
nick_m
6309807bc7
Tempo ramps - rename for consistency, remove some testing code, add meter based bbt->pulse conversions.
2016-05-27 23:38:17 +10:00
nick_m
f54b75c869
Tempo ramps - consolidate meter dragging code.
2016-05-27 23:38:17 +10:00
nick_m
8b2f73d5ac
Tempo ramps - rework tempo drags, improve comments.
2016-05-27 23:38:17 +10:00
nick_m
f182235410
Tempo ramps - consolidate TempoMap::predict_tempo()
2016-05-27 23:38:17 +10:00
nick_m
d1a075110a
Tempo ramps - more code cleanup, fix cross-marker jumping using tempo dialog bbt
2016-05-27 23:38:17 +10:00
nick_m
6894f468d4
Tempo ramps - no more tempo dilation on meter drag.
...
- its now a bbt ruler / marker lane thing with the constraint modifier.
2016-05-27 23:38:17 +10:00
nick_m
074db3b861
Tempo ramps - more code consolidation wrt add meter/tempo.
2016-05-27 23:38:16 +10:00
nick_m
2d3d7a5355
Tempo ramps - fix ambiguous api, fix flickering tempo curves.
2016-05-27 23:38:16 +10:00
nick_m
5ccfeea5bc
Tempo ramps - more bbt dragging work.
...
- display prev tempo and tempo at mouse while dragging
- simplify ramp dilation somewhat.
2016-05-27 23:38:16 +10:00
nick_m
abac4ce854
Tempo ramps - more bbt ruler dragging work.
2016-05-27 23:38:16 +10:00
nick_m
8724a9f68f
Tempo ramps - improve constraint mod + bbt dragging begavior.
2016-05-27 23:38:16 +10:00
nick_m
86b0268e8b
Tempo ramps - add visualtempo curve, dragging bbt or music rulers with constraint modifier dilates previous tempo.
2016-05-27 23:38:16 +10:00
nick_m
8b4f5dcd5f
Tempo ramps - reinstate cross-dragging of music-locked meters, various bug fixes.
...
- revert failed frameoffset_t experiment
- caclulate meters using bbt
- fix tempo dilation when first tempo is ramped.
2016-05-27 23:38:16 +10:00
nick_m
992fc6b510
Tempo ramps - music-locked meter drags are now bbt based.
2016-05-27 23:38:16 +10:00