Commit graph

8041 commits

Author SHA1 Message Date
Robin Gareus
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
Robin Gareus
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
John Emmas
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
John Emmas
52960465b7 Add some newly introduced sources to our MSVC project (libardour) 2015-03-29 09:46:24 +01:00
David Robillard
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
Colin Fletcher
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
Colin Fletcher
8806e6ec9d Export EAN barcode number to 'CATALOG' field in .cue & .toc files 2015-03-28 18:34:02 +01:00
Colin Fletcher
c625d7a637 Add EAN barcode field to session metadata 2015-03-28 18:34:02 +01:00
Colin Fletcher
5707c85c64 More informative debug output from SessionMetadata::{get|set}_value() 2015-03-28 18:34:02 +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
Edgar Aichinger
2677eec752 update German Translation #6213 2015-03-27 19:52:07 +01:00
nick_m
bdf9b2f47c Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
2015-03-28 03:35:45 +11:00
David Robillard
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
Ben Loftis
07997a6d38 likely fix for debug build 2015-03-25 14:47:18 -05:00
Ben Loftis
4a7236b773 fix touch-recording of automation in a loop 2015-03-25 14:28:36 -05:00
David Robillard
089c334d0c Resolve only active notes when muted/non-soloed.
Fixes bug #6206.
2015-03-24 13:48:43 -04:00
nick_m
eff25b06f5 Fix 0006183 (waveview crash).
Should fix crash when audiosource disappears.
Reworked from submitted patch from tlat.
2015-03-24 23:35:43 +11:00
pablus
5c634f1d65 update spanish translation, #6204 2015-03-23 20:24:30 +01:00
Robin Gareus
53ac99a26a rework check for old configuration files
check early on (before announcement-check, bundle-
env and ARDOUR_UI ctor have a chance to create the
new config dir)
2015-03-23 18:31:55 +01:00
Robin Gareus
8e7c065f83 limit plugin-preset ‘seen_set_state’ message. 2015-03-23 01:53:07 +01:00
Robin Gareus
e4428ece34 update system_config 2015-03-22 23:20:55 +01:00
Robin Gareus
4f6f7f45f6 add GPL boilerplate. 2015-03-22 16:12:41 +01:00
Robin Gareus
fbe673d9c7 fix #6208, negative broadcast timestamps 2015-03-22 16:12:40 +01:00
John Emmas
39e5f7b94b Add a new MSVC project for building the Portaudio backend 2015-03-22 11:54:58 +00:00
Robin Gareus
bb71a8956b disable pre-fader mute by default
<oofus> rgareus: pre fader sends are not really used
for FX sends, they would either be sending to other
busses or to something like headphone/cue feeds.
You don't want those mixes having stuff muted in
them as you are muting you main mix.
2015-03-21 19:44:58 +01:00
nick_m
bc20da35f7 Revert mistaken change in e7b0e67bc8 2015-03-22 05:35:13 +11:00
Robin Gareus
a10e17411f fix --disable-plugins (bypass ‘em all) 2015-03-21 17:52:27 +01:00
nick_m
69a6c4d747 Provide an image if there are no peaks. 2015-03-22 00:31:32 +11:00
Robin Gareus
0f2ead3d6b fix redraw of automation ControlPoints 2015-03-20 23:31:21 +01:00
Robin Gareus
2a9d7286f9 fix AWOL semicolon in 9f842f3 2015-03-20 22:08:17 +01:00
Robin Gareus
9f842f3247 NOOP, whitespace 2015-03-20 21:38:26 +01:00
Robin Gareus
410cf8e79d OSC log errors 2015-03-20 21:32:56 +01:00
Robin Gareus
7619edd1f6 OSC: fix crash when trying to set output params 2015-03-20 21:19:25 +01:00
Robin Gareus
17e1e2641b OSC fix plugin numbering:
ignore non-plugin processors for OSC
/ardour/routes/plugin/parameter

fixes issue with hidden internal processors. (rec-en
track adds a hidden [meter] processor at the top,
internal returns on busses have returns etc.)
2015-03-20 20:27:15 +01:00
Robin Gareus
a563007fcc add missing return value 2015-03-20 16:17:07 +01:00
nick_m
53f452dde1 Don't open peakfiles O_NONBLOCK or O_NOATIME.
O_NOATIME removed due to what appears to be a bug in fuse where open fails.
O_NONBLOCK was basically unjustifiable.
2015-03-21 01:02:51 +11:00
Robin Gareus
26ce7b5f1b add a non-interleaved mode to the Portaudio backend 2015-03-20 11:45:56 +01:00
Robin Gareus
abfdcb5439 fix windows + VST debug versions
pthread.h needs to be included before pbd/debug.h
otherwise PTW32_VERSION is not defined, bug in 831f298
2015-03-17 16:30:16 +01:00
Paul Davis
5188f02cfe hide issues with g_close() not being available in somewhat older versions of glib 2015-03-16 13:34:35 -05:00
Paul Davis
72b19e60fe fix compiler warning 2015-03-16 13:02:20 -05:00
Paul Davis
8ff477ab1a add PBD::toggle_file_existence() 2015-03-16 13:00:28 -05:00
Robin Gareus
4c2ea510e3 add API to query Gtk::ComboBoxText entries
..the overly complex C++ style variant.
iterate twice..  hell yeah.
2015-03-16 14:38:21 +01:00
nick_m
135e865302 Add route dialog order hint changes.
Add an option to insert new routes at the top of the list ("First").
Reorder/rename the entries in the dialog.
Session's _order_hint is now the signed int it always wanted to be.
2015-03-16 04:01:30 +11:00
Robin Gareus
d8d9f9b486 proper port unregistration (just some refactoring, noop) 2015-03-14 22:59:07 +01:00
Robin Gareus
83babb8a52 automatic error log window popup be gone. 2015-03-14 18:28:36 +01:00
David Robillard
0028630ece Fix stretch for MIDI regions (#6164). 2015-03-14 00:39:52 -04:00
David Robillard
86c6541323 Move PC flags to avoid obscuring region name.
Fixes bug #6179.  Top vs. bottom seems pretty arbitrary to me, and this solves
the obscuring issue (which is quite common since there are often PC events at
the start of MIDI files), so bottom it is.
2015-03-14 00:21:29 -04:00
Robin Gareus
524f322250 ignore master & monitor when “solo all [in group]”
should fix #6193
2015-03-14 01:49:32 +01:00
John Emmas
94e36450d2 Fix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION
When building with MSVC, some libraries had PROGRAM_NAME set to "Mixbus" and PROGRAM_VERSION set to "3". Whereas other libraries had PROGRAM_NAME set to "Mixbus3" while PROGRAM_VERSION was an empty string.

I've a horrible feeling there must have been a reason for this but I can't quite think what it was. Hopefully though, this change will standardize everything.
2015-03-13 17:40:53 +00:00
Robin Gareus
5090934a2c clean out cruft from CoreAudio Backend 2015-03-13 14:05:12 +01:00