Commit graph

10130 commits

Author SHA1 Message Date
Robin Gareus
c1910351a5 Revert "proper debug prints for Analyser"
This reverts commit 9a281963e1.

audiographer cannot use symbols from libardour (cyclic dependency)
(only headers only are ok)
"DebugBits ExportAnalysis" symbol break windows and unit-test builds.
2016-02-16 15:13:12 +01:00
Robin Gareus
240daf95f5 re-bin analysis results to take silence striping into account. 2016-02-16 15:09:31 +01:00
Robin Gareus
a664fb703e chunk data before analysis, prefer 8K
* consistent spectrum display for all reports (same binsize)
* improved performance (power of two)
2016-02-16 14:25:49 +01:00
Robin Gareus
c52854fd3d Analysis: 1 sample slack (for resampling rounding) 2016-02-16 14:24:08 +01:00
Robin Gareus
a929b8b872 fix Export SRC buffer report:
the resampler is always fed with N channels, it won't output half channels
2016-02-16 14:00:31 +01:00
Robin Gareus
e18e765c75 Fix Analysis duration for added silence 2016-02-16 13:22:12 +01:00
Robin Gareus
9ab061c6cb don't re-use variable names 2016-02-16 13:21:45 +01:00
Robin Gareus
9a281963e1 proper debug prints for Analyser 2016-02-16 13:21:28 +01:00
Ben Loftis
de94f3ce83 fix typo in previous commit 2016-02-15 17:29:54 -06:00
Ben Loftis
136f705af9 Defer session_loaded until AFTER lo_server_new.
This seems like the right thing to do, and -might- fix OSC on Windows.
2016-02-15 16:55:21 -06:00
Robin Gareus
1355d186cb extend analysis spectral range to -120dB 2016-02-15 18:55:04 +01:00
Robin Gareus
e6ea35c3de Add normalization gain factor to Export Analysis 2016-02-15 15:46:49 +01:00
Robin Gareus
f23bb163a8 Ensure export starts with a clean state 2016-02-14 13:23:45 +01:00
Robin Gareus
455f07d087 fix rare livelock in std::map thread_buffer_requests
During initial session load it's possible that two threads call
PBD::notify_event_loops_about_thread_creation() simultaneously
(in particular the process threads). This can lead to an
endless loop in stl_tree.h when assigning thread_buffer_requests[key]

Now we only have WriteLocks.. unless some better solution comes up a
Mutex will do.
2016-02-14 02:13:04 +01:00
Robin Gareus
820bd0fe51 and another typo in d442190b 2016-02-14 00:10:41 +01:00
Robin Gareus
09167d3e59 fix typos in d442190b 2016-02-14 00:02:00 +01:00
Robin Gareus
48532baaa7 remove C++11'isms from libptformat. back to C++98 compat. 2016-02-13 23:15:47 +01:00
Robin Gareus
d442190b8a slightly improved windows post-export hook support. 2016-02-13 23:12:50 +01:00
Robin Gareus
73245c6217 some half-baked support for windows command-arg substitutions 2016-02-13 17:04:11 +01:00
Damien Zammit
fbbde01f25 Add preliminary PTX support for Protools 10 and 11
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-02-13 09:50:52 +01:00
Damien Zammit
81a9f7a956 Unjumble the PT5 wav ordering in regions/tracks
by sorting alphanumerically and case insensitively

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-02-13 09:50:52 +01:00
Julien ROGER
a3dd27c41b Fix 6677: Post-export script reinterprets timestamp format placeholder giving incorrect filename
Due to localtime and its statically allocated buffer, time_struct variable is
set at construct time but its value changes over time due to subsequent calls to localtime
in ardour process. Replacing localtime by localtime_r fix the problem.

This also fix 6713: Name of Audio (timestamp) does not match with written Filename in CD-Cue file
2016-02-13 12:45:40 +10:00
Robin Gareus
108528b63d amend d814acb - SystemExec/Export debugging 2016-02-13 01:39:41 +01:00
Ben Loftis
d814acbb8f add some debugging capability for users of SystemExec. Needs review. 2016-02-12 18:22:12 -06:00
Robin Gareus
4fdd03892d add NULL check for VST audioMasterSizeWindow 2016-02-13 00:51:17 +01:00
Robin Gareus
4a9ffee486 Allow partial CairoWidget exposure 2016-02-12 22:57:46 +01:00
Robin Gareus
2bdb078b63 include timespan-option with export preset 2016-02-12 14:01:40 +01:00
Robin Gareus
258c816554 fix copy constructor. 2016-02-12 14:01:40 +01:00
John Emmas
52ebf94c1e Class 'AudioGrapher::Analyser' needs to be exportable for building with MSVC 2016-02-12 12:31:24 +00:00
John Emmas
48fd05c391 Accommodate newly introduced source(s) in our MSVC project (audiographer) 2016-02-12 12:31:23 +00:00
John Emmas
fcf757139f Accommodate newly introduced source(s) in our MSVC project (portaudio_backend) 2016-02-12 12:31:23 +00:00
John Emmas
3f43e5cd04 Remove no longer needed 'prolooks' source(s) from our MSVC projects (gtkmm2ext & gtk2_ardour) 2016-02-12 12:31:22 +00:00
Robin Gareus
50145a93e6 export analysis: include true-peak positions. 2016-02-12 12:42:51 +01:00
Robin Gareus
a60312cfea vamp-true-peak: collect peak locations >= -1dBTP 2016-02-12 12:38:54 +01:00
Robin Gareus
4fd47182f2 Help clang static analyzer. 2016-02-11 23:12:20 +01:00
Robin Gareus
2c2002ee9c Prepare for optional timespan name during export. 2016-02-11 20:58:05 +01:00
Paul Davis
e6b06597b7 remove all traces of "prolooks" and related classes 2016-02-11 13:03:24 -05:00
Robin Gareus
2429308bac Open URis with spaces. 2016-02-11 16:43:35 +01:00
Robin Gareus
f9e526dab8 tweak spectrum logscale 2016-02-11 16:09:34 +01:00
Robin Gareus
4b17bcb8b8 update export analyser for dBTP 2016-02-11 14:14:01 +01:00
Robin Gareus
d2fa4b3388 add dBTP Vamp plugin 2016-02-11 14:14:01 +01:00
Tim Mayberry
148f2ab8e5 Add debugging output for WinMME midi device names 2016-02-11 12:15:07 +10:00
Tim Mayberry
1499cd8670 Only build one version of the Portaudio backend that supports both blocking and callback API 2016-02-11 12:15:07 +10:00
Tim Mayberry
85b4acc916 Change CairoWidget::get_active() to be const 2016-02-11 12:15:07 +10:00
Tim Mayberry
830db39585 Implement new AudioBackend API in PA backend to choose between callback and blocking API 2016-02-11 12:15:07 +10:00
Tim Mayberry
16835032ab Add API to AudioBackend for choosing between portaudio blocking or callback API 2016-02-11 12:15:07 +10:00
Tim Mayberry
d50a821374 Add a missing include from portaudio WINMME source file
Apparently this is now required by my version of gcc/mingw
2016-02-11 12:15:07 +10:00
Tim Mayberry
b2cf028fcb Implement MIDI device enumeration and latency offset/calibration in portaudio backend 2016-02-11 12:15:07 +10:00
Robin Gareus
6c10b31af1 only instantiate Analysis Processor if needed 2016-02-11 02:22:54 +01:00
Robin Gareus
df0f1b5ced stereo waveform, prepare spectrum faceplate 2016-02-11 02:22:54 +01:00