GZharun [Sun, 1 Mar 2015 12:36:06 +0000 (14:36 +0200)]
[Summary] Fixed crash on MAC when MIDI device name is 0 ref
Greg Zharun [Sat, 28 Feb 2015 17:55:21 +0000 (19:55 +0200)]
[Summary] Removed useless output
Greg Zharun [Sat, 28 Feb 2015 16:38:45 +0000 (18:38 +0200)]
[Summary] Added actions to handle abnormal behavior during stream stop for MIDI and Audio devices.
Made correct error handling for cases we didn't see before.
Removed redundant and experimental code I forgot to remove months ago.
Added debug output which will help in future testing
Conflicts:
libs/ardour/ardour/audioengine.h
libs/ardour/engine_state_controller.cc
libs/backends/wavesaudio/waves_midi_device.cc
Greg Zharun [Tue, 24 Feb 2015 21:01:16 +0000 (23:01 +0200)]
[Summary] Made device control panel open request synchronized with other critical device operations. Made device reset correctly when control panel is closed.
Conflicts:
gtk2_ardour/tracks_control_panel.logic.cc
libs/ardour/ardour/audioengine.h
libs/backends/wavesaudio/wavesapi/devicemanager/WCMRPortAudioDeviceManager.cpp
Valeriy Kamyshniy [Fri, 20 Feb 2015 18:19:33 +0000 (20:19 +0200)]
Paul Davis [Tue, 31 Mar 2015 16:31:06 +0000 (12:31 -0400)]
remove duplicated calls to update solo/mute state from RouteUI descendants.
RouteUI::set_route() already does the right thing. Also remove RouteUI::mute_changed() since its
only role was to handle the mute change signal from a route, which boost::bind() makes unnecessary
since we can connect update_mute_display() directly.
Paul Davis [Tue, 31 Mar 2015 15:27:30 +0000 (11:27 -0400)]
move "been here before" path concept into libardour, and use it appropriately at startup
Paul Davis [Tue, 31 Mar 2015 14:52:16 +0000 (10:52 -0400)]
pre-release versions were and are a bad idea
Edgar Aichinger [Tue, 31 Mar 2015 15:10:36 +0000 (17:10 +0200)]
update german translation #6213
Robin Gareus [Tue, 31 Mar 2015 14:05:15 +0000 (16:05 +0200)]
fix OSX/PPC 10.4 long maths
Robin Gareus [Tue, 31 Mar 2015 02:26:28 +0000 (04:26 +0200)]
another “unexpected” translation update.
Robin Gareus [Tue, 31 Mar 2015 02:16:00 +0000 (04:16 +0200)]
remove linux specific menu reference (sorry translators)
Robin Gareus [Tue, 31 Mar 2015 02:15:21 +0000 (04:15 +0200)]
fancy plural form.
Robin Gareus [Mon, 30 Mar 2015 19:51:35 +0000 (21:51 +0200)]
add a startup wrapper script for cfgtool
Robin Gareus [Mon, 30 Mar 2015 19:51:16 +0000 (21:51 +0200)]
make configtool compile for wine/vst
Paul Davis [Mon, 30 Mar 2015 19:27:18 +0000 (15:27 -0400)]
remove GUI object state when tracks/busses are removed.
Not doing this results in accumulation of useless GUI object state which is never cleaned up.
Taken from work by Grygorii Zharun.
Robin Gareus [Mon, 30 Mar 2015 19:18:18 +0000 (21:18 +0200)]
Skeleton backend for brave volunteers.
callback based backend based on CoreAudio/Midi
backend (sans the actual system/HW _pcmio,
_midiio)
Robin Gareus [Mon, 30 Mar 2015 17:52:21 +0000 (19:52 +0200)]
note to midi devs.
Robin Gareus [Mon, 30 Mar 2015 17:51:34 +0000 (19:51 +0200)]
fix typo in skip/state-tracker
Paul Davis [Mon, 30 Mar 2015 14:20:45 +0000 (09:20 -0500)]
Merge branch 'EMATech-french'
Alexandre Prokoudine [Mon, 30 Mar 2015 02:40:34 +0000 (05:40 +0300)]
Update Russian translation
Robin Gareus [Mon, 30 Mar 2015 11:18:51 +0000 (13:18 +0200)]
coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
Robin Gareus [Mon, 30 Mar 2015 09:29:31 +0000 (11:29 +0200)]
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.
Robin Gareus [Mon, 30 Mar 2015 08:48:31 +0000 (10:48 +0200)]
fix crash #6161 - another throw w/o catch
The real problem is: libardourvampplugins:* cannot
be instantiated this remains to be fixed.
Robin Gareus [Sun, 29 Mar 2015 16:48:57 +0000 (18:48 +0200)]
increase contrast of control buttons, fixes #6146
Robin Gareus [Sun, 29 Mar 2015 16:30:48 +0000 (18:30 +0200)]
don’t apply selection to new sessions
<Selection> should not be saved in
global preferences, but there is no single point
for catching that.
Robin Gareus [Sun, 29 Mar 2015 15:11:08 +0000 (17:11 +0200)]
processor control: update control-element tooltip
Robin Gareus [Sun, 29 Mar 2015 13:23:27 +0000 (15:23 +0200)]
remove a dead variable initialization.
John Emmas [Sun, 29 Mar 2015 08:53:02 +0000 (09:53 +0100)]
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.
John Emmas [Sun, 29 Mar 2015 08:46:24 +0000 (09:46 +0100)]
Add some newly introduced sources to our MSVC project (libardour)
John Emmas [Sun, 29 Mar 2015 08:43:57 +0000 (09:43 +0100)]
Replace a closing bracket which managed to get lost somehow
nick_m [Sun, 29 Mar 2015 06:43:07 +0000 (17:43 +1100)]
Mixer visibility prefs changes teke effect "live".
David Robillard [Sun, 29 Mar 2015 03:24:41 +0000 (23:24 -0400)]
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.
Colin Fletcher [Thu, 12 Feb 2015 12:52:36 +0000 (12:52 +0000)]
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.
Colin Fletcher [Tue, 10 Feb 2015 11:07:44 +0000 (11:07 +0000)]
Export EAN barcode number to 'CATALOG' field in .cue & .toc files
Colin Fletcher [Wed, 11 Feb 2015 00:24:11 +0000 (00:24 +0000)]
Display length & check digit of entered EAN-13 in metadata dialogue
Colin Fletcher [Tue, 10 Feb 2015 11:06:55 +0000 (11:06 +0000)]
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.
Colin Fletcher [Tue, 10 Feb 2015 11:06:22 +0000 (11:06 +0000)]
Add EAN barcode field to session metadata
Colin Fletcher [Wed, 11 Feb 2015 18:40:18 +0000 (18:40 +0000)]
More informative debug output from SessionMetadata::{get|set}_value()
Robin Gareus [Sat, 28 Mar 2015 17:00:31 +0000 (18:00 +0100)]
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.
nick_m [Sat, 28 Mar 2015 15:13:40 +0000 (02:13 +1100)]
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.
Robin Gareus [Fri, 27 Mar 2015 19:58:41 +0000 (20:58 +0100)]
it would have been too much of a good thing.
Edgar Aichinger [Fri, 27 Mar 2015 18:52:07 +0000 (19:52 +0100)]
update German Translation #6213
Robin Gareus [Fri, 27 Mar 2015 18:01:19 +0000 (19:01 +0100)]
dropzone: honor AutoConnectMaster.
nick_m [Fri, 27 Mar 2015 16:35:45 +0000 (03:35 +1100)]
Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
Robin Gareus [Fri, 27 Mar 2015 15:22:45 +0000 (16:22 +0100)]
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.
Ben Loftis [Fri, 27 Mar 2015 03:34:30 +0000 (22:34 -0500)]
fix thinko on bounce actions
Ben Loftis [Fri, 27 Mar 2015 02:43:33 +0000 (21:43 -0500)]
add colon to match other labels
Ben Loftis [Thu, 26 Mar 2015 20:29:16 +0000 (15:29 -0500)]
pack the xrun options back together
Robin Gareus [Thu, 26 Mar 2015 23:50:27 +0000 (00:50 +0100)]
fix a few -Wsign-compare
Robin Gareus [Thu, 26 Mar 2015 23:37:47 +0000 (00:37 +0100)]
Another DnD fix. fix move onto (but not over) busses.
Robin Gareus [Thu, 26 Mar 2015 20:55:04 +0000 (21:55 +0100)]
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
Robin Gareus [Thu, 26 Mar 2015 02:04:19 +0000 (03:04 +0100)]
DnD: query mouse y-pos only once.
Alexandre Prokoudine [Mon, 30 Mar 2015 02:40:34 +0000 (05:40 +0300)]
Update Russian translation
Robin Gareus [Mon, 30 Mar 2015 11:18:51 +0000 (13:18 +0200)]
coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
Robin Gareus [Mon, 30 Mar 2015 09:29:31 +0000 (11:29 +0200)]
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.
Robin Gareus [Mon, 30 Mar 2015 08:48:31 +0000 (10:48 +0200)]
fix crash #6161 - another throw w/o catch
The real problem is: libardourvampplugins:* cannot
be instantiated this remains to be fixed.
Robin Gareus [Sun, 29 Mar 2015 16:48:57 +0000 (18:48 +0200)]
increase contrast of control buttons, fixes #6146
Robin Gareus [Sun, 29 Mar 2015 16:30:48 +0000 (18:30 +0200)]
don’t apply selection to new sessions
<Selection> should not be saved in
global preferences, but there is no single point
for catching that.
Robin Gareus [Sun, 29 Mar 2015 15:11:08 +0000 (17:11 +0200)]
processor control: update control-element tooltip
Robin Gareus [Sun, 29 Mar 2015 13:23:27 +0000 (15:23 +0200)]
remove a dead variable initialization.
John Emmas [Sun, 29 Mar 2015 08:53:02 +0000 (09:53 +0100)]
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.
John Emmas [Sun, 29 Mar 2015 08:46:24 +0000 (09:46 +0100)]
Add some newly introduced sources to our MSVC project (libardour)
John Emmas [Sun, 29 Mar 2015 08:43:57 +0000 (09:43 +0100)]
Replace a closing bracket which managed to get lost somehow
nick_m [Sun, 29 Mar 2015 06:43:07 +0000 (17:43 +1100)]
Mixer visibility prefs changes teke effect "live".
David Robillard [Sun, 29 Mar 2015 03:24:41 +0000 (23:24 -0400)]
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.
Raphaël Doursenaud [Sat, 28 Mar 2015 22:35:11 +0000 (23:35 +0100)]
Merge French translations
Frédéric Rech [Thu, 26 Mar 2015 21:51:53 +0000 (22:51 +0100)]
French translation update
Raphaël Doursenaud [Sun, 25 Jan 2015 21:01:13 +0000 (22:01 +0100)]
First pass updating french translation
Colin Fletcher [Thu, 12 Feb 2015 12:52:36 +0000 (12:52 +0000)]
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.
Colin Fletcher [Tue, 10 Feb 2015 11:07:44 +0000 (11:07 +0000)]
Export EAN barcode number to 'CATALOG' field in .cue & .toc files
Colin Fletcher [Wed, 11 Feb 2015 00:24:11 +0000 (00:24 +0000)]
Display length & check digit of entered EAN-13 in metadata dialogue
Colin Fletcher [Tue, 10 Feb 2015 11:06:55 +0000 (11:06 +0000)]
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.
Colin Fletcher [Tue, 10 Feb 2015 11:06:22 +0000 (11:06 +0000)]
Add EAN barcode field to session metadata
Colin Fletcher [Wed, 11 Feb 2015 18:40:18 +0000 (18:40 +0000)]
More informative debug output from SessionMetadata::{get|set}_value()
Robin Gareus [Sat, 28 Mar 2015 17:00:31 +0000 (18:00 +0100)]
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.
nick_m [Sat, 28 Mar 2015 15:13:40 +0000 (02:13 +1100)]
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.
Robin Gareus [Fri, 27 Mar 2015 19:58:41 +0000 (20:58 +0100)]
it would have been too much of a good thing.
Edgar Aichinger [Fri, 27 Mar 2015 18:52:07 +0000 (19:52 +0100)]
update German Translation #6213
Robin Gareus [Fri, 27 Mar 2015 18:01:19 +0000 (19:01 +0100)]
dropzone: honor AutoConnectMaster.
nick_m [Fri, 27 Mar 2015 16:35:45 +0000 (03:35 +1100)]
Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
Robin Gareus [Fri, 27 Mar 2015 15:22:45 +0000 (16:22 +0100)]
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.
Ben Loftis [Fri, 27 Mar 2015 03:34:30 +0000 (22:34 -0500)]
fix thinko on bounce actions
Ben Loftis [Fri, 27 Mar 2015 02:43:33 +0000 (21:43 -0500)]
add colon to match other labels
Ben Loftis [Thu, 26 Mar 2015 20:29:16 +0000 (15:29 -0500)]
pack the xrun options back together
Robin Gareus [Thu, 26 Mar 2015 23:50:27 +0000 (00:50 +0100)]
fix a few -Wsign-compare
Robin Gareus [Thu, 26 Mar 2015 23:37:47 +0000 (00:37 +0100)]
Another DnD fix. fix move onto (but not over) busses.
Robin Gareus [Thu, 26 Mar 2015 20:55:04 +0000 (21:55 +0100)]
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
Robin Gareus [Thu, 26 Mar 2015 02:04:19 +0000 (03:04 +0100)]
DnD: query mouse y-pos only once.
David Robillard [Thu, 26 Mar 2015 17:22:57 +0000 (13:22 -0400)]
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.
David Robillard [Thu, 26 Mar 2015 15:48:13 +0000 (11:48 -0400)]
Keep automation lines within their parent (#6215).
David Robillard [Thu, 26 Mar 2015 04:47:34 +0000 (00:47 -0400)]
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.
Ben Loftis [Wed, 25 Mar 2015 22:20:56 +0000 (17:20 -0500)]
remove crufty variable
Robin Gareus [Wed, 25 Mar 2015 21:05:23 +0000 (22:05 +0100)]
fix dropzone region ordering
Ben Loftis [Wed, 25 Mar 2015 19:47:18 +0000 (14:47 -0500)]
likely fix for debug build
Ben Loftis [Wed, 25 Mar 2015 19:28:25 +0000 (14:28 -0500)]
fix touch-recording of automation in a loop
Robin Gareus [Wed, 25 Mar 2015 16:14:48 +0000 (17:14 +0100)]
DnD, only use track relationship
Ignore any routes or automation lanes during
region y-axis distance calculation.
Robin Gareus [Wed, 25 Mar 2015 14:56:51 +0000 (15:56 +0100)]
jot down some thoughts about drop-zone dragging.
Robin Gareus [Wed, 25 Mar 2015 13:42:44 +0000 (14:42 +0100)]
fix drags crossing automation lanes.
nick_m [Wed, 25 Mar 2015 12:31:23 +0000 (23:31 +1100)]
Fix some strings incorrectly marked for translation.
My apologies to translators.