13
0
Commit Graph

16127 Commits

Author SHA1 Message Date
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
35795885de Update Russian translation 2015-03-30 15:12:24 +02:00
cde15cb3ad coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
2015-03-30 13:18:51 +02:00
b03e2f00e3 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 11:29:31 +02:00
da42014c4d fix crash #6161 - another throw w/o catch
The real problem is: libardourvampplugins:* cannot
be instantiated this remains to be fixed.
2015-03-30 10:48:31 +02:00
d1b70b2e24 increase contrast of control buttons, fixes #6146 2015-03-29 18:48:57 +02:00
4188fed0ee 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-29 18:30:48 +02:00
9f25af7eec processor control: update control-element tooltip 2015-03-29 17:11:08 +02:00
0acdb8b74a remove a dead variable initialization. 2015-03-29 15:23:27 +02:00
2e27b55179 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-29 09:53:02 +01:00
52960465b7 Add some newly introduced sources to our MSVC project (libardour) 2015-03-29 09:46:24 +01:00
36b57a1c17 Replace a closing bracket which managed to get lost somehow 2015-03-29 09:43:57 +01:00
nick_m
ca1856a09b Mixer visibility prefs changes teke effect "live". 2015-03-29 17:43:07 +11:00
c9023ae73d 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-29 00:51:56 -04: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
050c9c3f7d 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-28 18:34:03 +01:00
8806e6ec9d Export EAN barcode number to 'CATALOG' field in .cue & .toc files 2015-03-28 18:34:02 +01:00
b55b7ce1ad Display length & check digit of entered EAN-13 in metadata dialogue 2015-03-28 18:34:02 +01:00
9d35a105bd 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-28 18:34:02 +01:00
c625d7a637 Add EAN barcode field to session metadata 2015-03-28 18:34:02 +01:00
5707c85c64 More informative debug output from SessionMetadata::{get|set}_value() 2015-03-28 18:34:02 +01:00
74b3d0b602 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-28 18:22:37 +01:00
nick_m
8962bfba61 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-29 02:13:40 +11:00
57e227fd52 it would have been too much of a good thing. 2015-03-27 20:58:41 +01:00
Edgar Aichinger
2677eec752 update German Translation #6213 2015-03-27 19:52:07 +01:00
9242ca7a64 dropzone: honor AutoConnectMaster. 2015-03-27 19:22:21 +01:00
nick_m
bdf9b2f47c Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
2015-03-28 03:35:45 +11:00
1fffbb554f 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-27 16:23:01 +01:00
119bece64f fix thinko on bounce actions 2015-03-26 22:34:30 -05:00
87e95e4bf1 add colon to match other labels 2015-03-26 21:43:33 -05:00
f34464be94 pack the xrun options back together 2015-03-26 21:41:53 -05:00
a1258750ce fix a few -Wsign-compare 2015-03-27 00:50:27 +01:00
70e739b29a Another DnD fix. fix move onto (but not over) busses. 2015-03-27 00:37:47 +01:00
1dfee48139 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-26 23:33:13 +01:00
502361c001 DnD: query mouse y-pos only once. 2015-03-26 23:30:18 +01:00