13
0
Commit Graph

9751 Commits

Author SHA1 Message Date
nick_m
bc42dea451 Tempo ramps - first stab at metric marks locked to frames or beats.
- pretty much untested.
2016-05-27 23:38:10 +10:00
nick_m
28127b1768 Tempo ramps - Remove the tick walk, store c_func, document the approach. 2016-05-27 23:38:10 +10:00
nick_m
a2495cdff3 Tempo ramps - fix more namespace confusion 2016-05-27 23:38:10 +10:00
nick_m
bdef9b2466 Tempo ramps - fix constant tempo assumption wrt midi ghost note. 2016-05-27 23:38:10 +10:00
nick_m
87d49cd6ec Tempo ramps - api rename, fix various meter and tempo dialog bugs. 2016-05-27 23:38:10 +10:00
nick_m
885f1fd684 Tempo ramps - update midi regions and locations when dragging tempo.
- also make locations and regions use a double beat rather than bbt for musical position.
2016-05-27 23:38:10 +10:00
nick_m
5c6e18e6a0 Tempo ramps - remove the concept of bars from tempo sections.
- this helps where tempo and meter have a somewhat circular
	  dependency.

MetricSection now has a musical position expressed in beats (a double).
MeterSection still has a bbt, but it really isn't needed as we have
enough information to discover the number of bars at a given beat without it.
TempoSection now has a hack to enable loading of legacy sessions, which will
ultimately be a lot cleaner than the current code.

Removing bars from tempo sections also allows us to place them
at arbitrary frames (implemented here).
2016-05-27 23:38:09 +10:00
nick_m
ba0cfe81a4 Tempo ramps - massively speed up dragging of tempo marks. 2016-05-27 23:38:09 +10:00
nick_m
340bd42c62 Tempo ramps - allow live updating of tempo markers.
- all a bit slow, but should be ok once we can lock
	  markers to frames.
2016-05-27 23:38:09 +10:00
nick_m
7898435d3f Tempo ramps - define_one_bar() delivers constant tempo.
- also some renaming and code review
2016-05-27 23:38:09 +10:00
nick_m
dbfe991cd8 Tempo ramps - fix changing from const to ramp in the gui.
- also fixes some midi mouse over problems
	- start using replacements for frames_per_bar() frames_per_beat() etc.
2016-05-27 23:38:09 +10:00
nick_m
7fc3b0c34c Initial stab at tempo ramps.
Replaces the list of points in TempoMap with TempoSection functions, which
compute tempo-at or tick-at time relative to tempo section start.
TempoMap consults them additively to determine things like bbt_time(),
frame_time() get_grid() etc.
This has a marked effect on scrolling speed along with the code simplification
in the places it has been attempted.

Several things are broken here.
Currently every ramp except the last one is an exponential ramp. this may
be simple to fix :).
Mouse-over midi grid doesn't match mouse click grid. should also be simple.

Many things seem to work, but their accuracy should be in question until
each area has been addressed.
2016-05-27 23:38:09 +10:00
9678be9b6a fix clang compile 2016-05-26 01:52:34 +02:00
ad7295f5e1 use updated API from prev. commit 2016-05-25 17:59:28 +02:00
925501c851 don't clear export-channel selection when switching presets 2016-05-25 13:53:21 +02:00
4cd82846b7 fix script button sensitivity 2016-05-25 03:17:53 +02:00
cec449871e fix region gain via range tool
Moving the mouse over another region's gain line changed
clicked_regionview.  clicked_regionview is used along with range-time
when initiating an AutomationRangeDrag.
2016-05-25 02:46:57 +02:00
b487954722 fix menu order: consistent for region and range bounce 2016-05-25 02:28:41 +02:00
f42fc3e45d hide Freesound tab (until it gets fixed) 2016-05-24 22:45:47 +02:00
ac7df69b49 rec-safe GUI 2016-05-24 21:30:33 +02:00
cfee8ac852 fix UI wire display to not coalesce views for non-linear i/o. 2016-05-24 18:18:26 +02:00
2074dbdbe2 freeze thread is not detached and needs to be joined 2016-05-24 03:33:11 +02:00
cd5cd2f8f2 cont'd work & fix bug introduced in 03660573e
not every code path using InterthreadProgressWindow unsets cancel
after creating the Window.
2016-05-24 03:33:02 +02:00
6605b52c17 centralize rec-en sensitivity & prepare for rec-safe 2016-05-24 03:01:27 +02:00
bc05c56fba add missing include 2016-05-23 03:50:43 +02:00
f03252cf88 possible fix or workaround[?] for pt track-name encoding 2016-05-23 00:05:02 +02:00
fd56c33f20 import audio/midi at "session start by default
Too many users report they import their first tracks and can't find them.

Previous default was "at file timestamp". If a file has no timestamp,
the import dialog shows "00:00:00:00" but in absence of a timestamp,
Editor::add_sources() first checks target tracks and adds add it after
the last region, then falls back to use preferred edit position as
insert point.

In the rare case where a file has timestamps it may show up a few hours
in the future.

conclusion: import-at-timestamp is not a good default.
2016-05-22 22:13:03 +02:00
1b3b42403b overhaul region/range spectrum analysis 2016-05-22 19:33:00 +02:00
ef365d0310 tooltips for export analysis -- russian-fraction lost challenge :) 2016-05-22 19:33:00 +02:00
03660573e2 fix import-thread SNAFU
* pressing Esc or WM close button did not cancel import thread
 * proper Abort does not wait for import thread either

It was possible to launch a 2nd (and Nth) import thread, all sharing
the Editor's ImportStatus data-structure, all having the same
registered thread-name and same thread-pool name.  Plenty of room for
crashes.
2016-05-21 23:30:11 +02:00
f2f9c2303a fix initial engine state (windows: buffered-i/o; all: channelcount) 2016-05-21 16:24:35 +02:00
61f2781983 clean up ArdourWindow
- gtk callbacks are protected, not public
- virtual d'tor (destroy window by ArdourWindow ptr)
2016-05-21 03:32:08 +02:00
725665ac46 lua inline display error reporting 2016-05-20 23:15:58 +02:00
6815dc7ead towards an Instrument Setup/Replace workflow 2016-05-19 16:29:39 +02:00
e0846c6aee ...use shared backend function instead 2016-05-19 01:46:49 +02:00
a7d03731a2 initialize snap-mode dropdown text
"SnapOff" is the default, so no change is triggered when calling
set_active() and initially the dropdown/ardour-button remains blank.
2016-05-18 20:07:11 +02:00
098e8e551a Don't save instant while loading instant.xml
opening a recent session from a session can result in: Editor::constructed
and session_loaded() being true. A partial instant_save can occur (not
to mention: invalid XMLnode iterators)
2016-05-18 20:06:20 +02:00
5ac35d47d6 some more mixbus backports (NO-OP for ardour) 2016-05-17 18:19:26 +02:00
8fc5b5c060 move ancient icon source files away from the top-level
This also resolves an ambiguity with "icons/" when running
ardour from the source dir
2016-05-17 16:32:04 +02:00
e072877fea prepare moving top-level icons/ -- move MSVC files 2016-05-17 16:32:00 +02:00
6f3d374f5f remove more ancient icons 2016-05-17 16:31:56 +02:00
2fa025770b remove unused icons 2016-05-17 13:49:17 +02:00
bdecfd968a nobody cares about xpm anymore 2016-05-17 13:34:27 +02:00
3c30d47587 remove cruft 2016-05-17 13:12:49 +02:00
fa0ee4f8f3 ARDOUR_PATH is no longer used 2016-05-17 13:12:14 +02:00
026f8dd80f group Product/App specific resources
* only install icons relevant to product
 * use program-name (as-is) as prefix
 * keep icons/* for all products
2016-05-17 13:12:05 +02:00
b7965a660d waf's "copy" feature does not install 2016-05-17 11:52:14 +02:00
004990463e break live-loop if there's no next region - fixes #6848 2016-05-17 02:55:19 +02:00
78ebead3fd splash is the day that you got in my system 2016-05-16 18:47:00 +02:00
13e0db6914 icon-name follows program-name
so that derivative products don't need to replace binary image/icon
files in the source (use ./waf configure --program-name=...)
2016-05-16 17:35:01 +02:00