13
0
Commit Graph

16062 Commits

Author SHA1 Message Date
205ade377a coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
2015-03-30 09:19:00 -05:00
6888436416 hack AudioAnalyzer for VAMP Onsetdetect
This works around a bug in OnsetDetector.
It requests a buffer of 1114 samples but later FFT
bails out if the buffer size is not a power-of-two.
Also large buffersizes fail.

Work-around: use ADAPT_ALL_SAFE (no buffersize
adapter), use a reasonably small buffersize.
The current settings work, even though it produces
the following warnings (vamp-plugins/OnsetDetect.cpp)

WARNING: OnsetDetector::initialise: Possibly sub-optimal step size for this sample rate: 512 (wanted 557)
WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114)

This commit should be reverted once VAMP/QM/aubio
is updated/fixed.
2015-03-30 09:19:00 -05:00
d1d266696b fix crash #6161 - another throw w/o catch
The real problem is: libardourvampplugins:* cannot
be instantiated this remains to be fixed.
2015-03-30 09:19:00 -05:00
365a47f95a increase contrast of control buttons, fixes #6146 2015-03-30 09:19:00 -05:00
3be99984b3 don’t apply selection to new sessions
<Selection> should not be saved in
global preferences, but there is no single point
for catching that.
2015-03-30 09:19:00 -05:00
d480cd0e88 processor control: update control-element tooltip 2015-03-30 09:19:00 -05:00
cf8f450f56 remove a dead variable initialization. 2015-03-30 09:19:00 -05:00
9313930bb3 For the canvas library, #include 'gtkmm2ext/gui_thread.h' rather than 'gtk2_ardour/gui_thread.h'
Technically it doesn't make much difference but from what I can tell, the only files which #include 'gtk2_ardour/gui_thread.h' are the source files from gtk2_ardour itself. The support libraries always #include 'gtkmm2ext/gui_thread.h' directly (which seems sensible). So for consistency's sake, let's keep it the same for libcanvas.
2015-03-30 09:19:00 -05:00
9128cdefe9 Add some newly introduced sources to our MSVC project (libardour) 2015-03-30 09:19:00 -05:00
3c97f6684c Replace a closing bracket which managed to get lost somehow 2015-03-30 09:19:00 -05:00
nick_m
d49fecac9f Mixer visibility prefs changes teke effect "live". 2015-03-30 09:19:00 -05:00
546cd974ec Fix mute of MIDI tracks with channel forcing.
This moves MIDI channel filtering into a reusable class and moves filtering to
the source, rather than modifying the buffer afterwards.  This is necessary so
that the playlist trackers reflect the emitted notes (and thus are able to stop
them in situations like mute).

As a perk, this is also faster because events are just dropped on read, rather
than pushed into a buffer then later removed (which is very slow).

Really hammering on mute or solo still seems to produce stuck notes
occasionally (perhaps related to multiple-on warnings).  I am not yet sure why,
but occasional beats always.
2015-03-30 09:19:00 -05:00
88146f0e3a Add CD Metadata "PERFORMER" & "TITLE" fields to .toc & .cue export
Add "PERFORMER" to the exported .toc & .cue files based on the value of the
"album_artist" metadata field, and also use the value of the "album" field
for the TITLE if is set, falling back to the session or range name if it is
blank.
2015-03-30 09:19:00 -05:00
aca81bd894 Export EAN barcode number to 'CATALOG' field in .cue & .toc files 2015-03-30 09:19:00 -05:00
6f2ca4194c Display length & check digit of entered EAN-13 in metadata dialogue 2015-03-30 09:19:00 -05:00
561f62ba63 Add EAN barcode field to session metadata dialogue
Add an EAN13MetadataField type to the session metadata dialogue, and use it for
entry of the EAN barcode in the 'album' tab.
2015-03-30 09:19:00 -05:00
fe3fecde93 Add EAN barcode field to session metadata 2015-03-30 09:19:00 -05:00
cc4eb495d9 More informative debug output from SessionMetadata::{get|set}_value() 2015-03-30 09:19:00 -05:00
2a7cf7455a Drag/Drop work-around midi note bleeding
During DnD, the region uses the 'old/current'                                                                                                                                                                                                
midi_stream_view()'s range and its position/height calculation.

Ideally DnD would decouple the midi_stream_view() for the
region(s) being dragged and set it to the target's range
(or in case of the drop-zone, FullRange).
but I don't see how this can be done without major rework.

For now, just prevent visual bleeding of events in case
the target-track is smaller.
2015-03-30 09:19:00 -05:00
nick_m
7f187d4169 Better fix for 6183.
Invalidate all source entries from the image cache when we get our
region's DropReferences signal, while ignoring any subsequent regions with
no source.
2015-03-30 09:18:59 -05:00
cdc3e4970a it would have been too much of a good thing. 2015-03-30 09:18:59 -05:00
Edgar Aichinger
2d0adea86e update German Translation #6213 2015-03-30 09:18:59 -05:00
8db5aa5a50 dropzone: honor AutoConnectMaster. 2015-03-30 09:18:59 -05:00
nick_m
97ae714f8f Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
2015-03-30 09:18:59 -05:00
d2aadfe142 fix some DnD thinko & edgecases.
* Handle large (delta > 1) movements into the DZ
which are not due to invalid-drop positions, but
caused by laggy GUI or rapid user movements.

* ignore busses when moving out of the DZ.
2015-03-30 09:18:59 -05:00
6d077b2605 fix thinko on bounce actions 2015-03-30 09:18:59 -05:00
c33b56855e add colon to match other labels 2015-03-30 09:18:59 -05:00
857a7dd328 pack the xrun options back together 2015-03-30 09:18:59 -05:00
d66bd88db5 fix a few -Wsign-compare 2015-03-30 09:18:59 -05:00
0fc51921e4 Another DnD fix. fix move onto (but not over) busses. 2015-03-30 09:18:59 -05:00
adb372d4a6 Heuraka! Nightmarish rework of DnD code.
Allow to drag multiple regions from different tracks
to/from the dropzone.

Busses & Automation-lanes are ignored, as are
hidden tracks.

Any region may serve as mouse drag anchor.

fixes #6172 and #6176
2015-03-30 09:18:59 -05:00
eb8587ddb6 DnD: query mouse y-pos only once. 2015-03-30 09:18:59 -05:00
Raphaël Doursenaud
6bfeb54168 Merge French translations 2015-03-28 23:35:11 +01:00
Frédéric Rech
71a32919a0 French translation update 2015-03-28 21:05:43 +01:00
Raphaël Doursenaud
e5422f3617 First pass updating french translation 2015-03-28 21:04:16 +01:00
5c11e43f08 Clam points to valid values on drag end.
Fixes bug #6214.

It would be better to do this while dragging, but this would require rewriting
much of the drag code to keep track of a cumulative y delta since the current
position of points would be "sticky" and prevent any movement at all, so this
will have to do for now.
2015-03-26 13:22:57 -04:00
3b38d7d8a6 Keep automation lines within their parent (#6215). 2015-03-26 11:48:13 -04:00
7e2c8ace4b Follow MIDI control values with automation faders.
Fixes bug #6166 (except record).

This attempts to follow the "current" control value somewhat aggressively:

* On locate, slider is set to the value from the top region at the new
  transport position.

* Playback or MIDI input is followed "live".

* Whenever the slider is moved (including automatically), that value is emitted
  as an immediate event to keep external gear in sync.

General idea is that the Ardour slider should act as a mirror of an external
hardware knob, and both should be synced to whatever the control is at the
current transport position.  Since we lack real playback/touch/etc modes for
these for now, we must choose one behaviour, and this seems like the most
reasonable one.

Follow is handled in the audio thread, which is probably not ideal, but since
these controls have no lists and do not record, should be fine.  Probably.
2015-03-26 00:47:34 -04:00
a53bd72697 remove crufty variable 2015-03-25 17:21:13 -05:00
7b1d21128b fix dropzone region ordering 2015-03-25 22:06:05 +01:00
07997a6d38 likely fix for debug build 2015-03-25 14:47:18 -05:00
4a7236b773 fix touch-recording of automation in a loop 2015-03-25 14:28:36 -05:00
3c55eb1e39 DnD, only use track relationship
Ignore any routes or automation lanes during
region y-axis distance calculation.
2015-03-25 17:15:32 +01:00
a9b2f97395 jot down some thoughts about drop-zone dragging. 2015-03-25 15:57:16 +01:00
b90c38639a fix drags crossing automation lanes. 2015-03-25 14:43:11 +01:00
nick_m
1580c6d635 Fix some strings incorrectly marked for translation.
My apologies to translators.
2015-03-25 23:31:23 +11:00
f851a0bf3a two more drop zone checks
see also 6cfb6ef
2015-03-25 13:05:24 +01:00
d05c09c1f6 consistent message session start->end. 2015-03-25 12:33:51 +01:00
6cfb6ef665 fix drop-zone drops
There is no special ‘-1’ indicator any more.
i->time_axis_view is unbound to allow relative
positioning when dragging multiple regions.
2015-03-25 12:11:49 +01:00
b34f26a7d0 retain Send control visibility state, fixes #6210 2015-03-25 11:10:58 +01:00