208010ff18
Fix Wreorder
2021-12-11 15:51:46 +01:00
3c03e4951e
Use updated temporal API 2/2
2021-12-11 15:51:31 +01:00
eb0b3f253a
make Drag::grab_time() etc. follow the drag's _time_domain
2021-12-04 19:52:42 -07:00
796785b42f
in Drags, use Drag::pixel_to_time() rather than Editor::pixel_to_sample()
...
This preserves the TimeDomain of the drag
2021-12-04 19:48:31 -07:00
845b5d81a9
add Drag::pixel_to_time() which reflects the Drag's _time_domain setting
2021-12-04 19:38:26 -07:00
fc155e76b4
give every Drag an explicit time domain
2021-12-04 18:44:57 -07:00
5212fc9677
MIDI Program Changes: dragging patches was resulting in the wrong location or disappearing altogether
...
a Program Change's position is referenced from the midi Source which might not be the same as the region start
2021-11-23 14:14:35 -06:00
ca7e133e3d
MIDI Draw: fix thinko in length=Auto
2021-11-19 10:28:37 -06:00
93e68a5a00
MIDI Draw: provide a menu for Channel and Velocity
2021-11-18 07:35:13 -06:00
2a6da0113f
MIDI Draw: Provide a menu to explicitly select note-length
...
ToDo: 3,5,7's? keyboard shortcuts?
2021-11-18 07:35:13 -06:00
c24cabead0
GUI changes to follow TempoMap::sample_at() API changes
2021-11-17 15:57:30 -07:00
7fca55eeb5
Fix placement of drawn MIDI notes.
...
Important logic from 6.9 was either missing or incorrectly implemented. New
version is much simpler - we just use the RoundDownMaybe mode of round_to_bbt()
to ensure that the note start is always within the current grid even if the
mouse is more than halfway "through" it.
2021-11-04 18:27:02 -06:00
248d7e5980
prevent trim-dragging that doesn't change region duration from incorrectly resetting fades
2021-10-05 10:43:24 -06:00
8bdb8f51fd
remove debug output
2021-10-04 17:47:55 -06:00
7d0c67e376
Revert "A small experiment to try '#pragma GCC warning'"
...
This reverts commit 808bfe0916
.
This pragma syntax is not compatible with gcc
2021-10-03 09:10:14 -06:00
John Emmas
808bfe0916
A small experiment to try '#pragma GCC warning'
...
MSVC is happy to ignore the above pragma although it aborts the build if it encounters #warning
#pragma GCC warning seems to work fine here for Clang - so start by changing just 1 x file to see if there's any detrimental effect for the other builds.
2021-10-03 13:29:07 +01:00
754230921d
there is no Properties::position any more (GUI)
...
Position is a part of a length property (a duple specifying
"duration AT position", and there is no distinct property
for just the position itself
2021-09-25 16:49:51 -06:00
66595ae60e
a more correct fix (partial reversion) for Drag::adjusted_time()
2021-09-25 16:49:51 -06:00
3a1d8c48df
Fix implementation of Drag::adjusted_time() to behave like the pre-nutempo version
2021-09-24 15:46:11 -06:00
139a051b18
remove default args to Session::new_midi_track() (gui edition)
2021-08-13 12:51:36 -06:00
b6f290add2
timeline type changes for new ripple code and post-conflict-resolution fixups
2021-08-13 12:51:36 -06:00
bf50d27b68
fix timeline type use
2021-08-13 12:51:36 -06:00
f755174c5f
fix timeline type use
2021-08-13 12:51:36 -06:00
757acf381e
fix typo/thinko with const "division" value
2021-08-13 12:51:36 -06:00
c6370948c4
fix call to RegionMotionDrag constructor
2021-08-13 12:51:36 -06:00
40c9b1482a
region move drag now requires named argument
2021-08-13 12:51:36 -06:00
6a71f9988e
fix timeline type use in brush dragging
2021-08-13 12:51:36 -06:00
90264e1d0d
fix timeline type use
2021-08-13 12:51:36 -06:00
88bed837c0
fix deadlock during tempo marker dragging, and don't start a tempo map update if a tempo point is inactive
2021-08-13 12:51:35 -06:00
f05b2ed93b
remove another NUTEMPO #warning by allow grab starts in rubber band selection to use the default time domain
2021-08-13 12:51:35 -06:00
7244b03385
convert NoteCreateDrag::grid_aligned_beats() into a proxy for Editor::snap_to_bbt()
2021-08-13 12:51:35 -06:00
0ddfd7c873
force drag-created regions to use beat time for position
2021-08-13 12:51:34 -06:00
49424ab0e3
Region::_start should be a timepos_t not a timecnt_t (GUI edition)
2021-08-13 12:51:34 -06:00
dad56af802
remove another 3 NUTEMPO #warnings
...
These all involve converting between ControlList-relative time and absolute time
2021-08-13 12:51:34 -06:00
0162d3f9d6
GUI changes to *try* to adapt to a world without explicit beats<->samples converter objects (i.e. use AutomationLine::get_origin() instead
2021-08-13 12:51:34 -06:00
6536655a0a
add explanatory comment
2021-08-13 12:51:34 -06:00
21e6f1cf50
(mostly) fix note drag creation drawing
2021-08-13 12:51:34 -06:00
b66b98ce58
remove 2 more NUTEMPO warnings by use Editor::default_time_domain() appropriately (but perhaps without enough user control)
2021-08-13 12:51:34 -06:00
39f52cd3ce
remove unused and unnecessary Drag::snap_delta_music() code
2021-08-13 12:51:34 -06:00
cb66ae496c
don't even pretend to use non-modal dialog API for the BBT marker dialog
2021-08-13 12:51:34 -06:00
d4f52498fa
somewhat working dialog for BBT/Position marker creation
2021-08-13 12:51:34 -06:00
4911779157
manual fixups after a rebase against master
2021-08-13 12:51:34 -06:00
432fbe984a
make "add BBT marker" test case use 3|1|0 for better testing
2021-08-13 12:51:34 -06:00
2445081dcc
remove another NUTEMPO #warning - this one was just unnecessary concern
2021-08-13 12:51:34 -06:00
0f67dbf8cc
remove another NUTEMPO #warning - use time domain of region's track for content trim dragging
2021-08-13 12:51:34 -06:00
18fba5dece
whitespace adjustments
2021-08-13 12:51:33 -06:00
fe352311f6
make shift-leftclick on bbt ruler set that time to be 3|2|0 (experiment - GUI dialog to follow)
2021-08-13 12:51:33 -06:00
c22c8ed69f
get TempoMarkerDrag and BBTRulerDrag to compile
2021-08-13 12:51:33 -06:00
c5c14e2416
remove two nutempo #warnings - initialize timecnt_t() using timedomain of route with first selected region (ripple dragging)
2021-08-13 12:51:33 -06:00
0114059c9d
nutempo warning removal
2021-08-13 12:51:33 -06:00