Commit graph

131 commits

Author SHA1 Message Date
John Emmas
40aa4cfe06 Modify our MSVC projects to build liblua as a DLL rather than a static lib 2016-04-04 16:40:20 +01:00
John Emmas
f00342b2d8 Some AudioGrapher classes need to be exportable now, to support newly introduced 'AnalysisGraph' class
(not entirely sure why - but it might be because 'ProcessContext<Sample>' is now used in multiple sources within libardour).
2016-03-12 13:59:44 +00:00
Robin Gareus
8ab60f3297 fix port-export analysis for > 2 channels. 2016-03-07 23:36:05 +01:00
Robin Gareus
ba78359129 prepare for update to waf 1.8
uselib is no longer implicit (inherited by .use). This is still incomplete,
some uselibs for non-linux variants may be missing.

bld.is_defined("HAVE_XXX") also no longer works and will have to be
changed (I think to bld.env["HAVE_XXX"]) in countless places.
2016-02-28 21:16:44 +01:00
Adrian Knoth
6fa88273aa Spelling correction patch from Debian
Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>
2016-02-22 15:13:01 -05:00
Robin Gareus
67d99a3c5b help clang static analyzer 2016-02-20 20:36:58 +01:00
Robin Gareus
f30d1d6073 fix normalize + trim silence at end. 2016-02-16 22:24:01 +01:00
Robin Gareus
0ce4113dbb prepare threshold for silence trim 2016-02-16 21:25:54 +01:00
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
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
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
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
Robin Gareus
50145a93e6 export analysis: include true-peak positions. 2016-02-12 12:42:51 +01:00
Robin Gareus
4fd47182f2 Help clang static analyzer. 2016-02-11 23:12:20 +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
df0f1b5ced stereo waveform, prepare spectrum faceplate 2016-02-11 02:22:54 +01:00
Robin Gareus
8bc7ff85fb audiographer unit-test libs 2016-02-10 19:28:43 +01:00
Robin Gareus
d8b04d3124 cleanup: unhardcode spectrum size, logscale, whitespace fixes 2016-02-10 19:28:21 +01:00
Robin Gareus
4928d53f8d Add VAMP SDK to audiographer deps. 2016-02-10 17:08:06 +01:00
Robin Gareus
6c8a062be9 move export-analysis implementation into cc-file.
lib/libfftw3f.a(apiplan.o):apiplan.c:(.text+0x430): multiple definition of `fftwf_destroy_plan'

This is because static symbols in a .dll have no fixed address and
are mapped when loading the dll. Static functions in .exe do have a fixed
address.
With a header-only implementation the functions are provided
libardour.dll and ardour.exe
2016-02-10 15:11:45 +01:00
Tim Mayberry
7c3d3031dc Fix for undefined references to fftw lib when using gcc/mingw 2016-02-10 23:10:17 +10:00
John Emmas
dd431de07d Add newly introduced source(s) to our MSVC project (audiographer) 2016-02-10 10:55:42 +00:00
Robin Gareus
c1642fead8 Post-export Analysis 2016-02-10 03:01:05 +01:00
Robin Gareus
b985f87a77 Use proper UTF8 file-names during export. 2016-01-27 22:58:59 +01:00
Robin Gareus
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
7ac691ec82 use pbd's gstdio compatibility wrapper 2015-09-17 14:37:57 +02:00
Paul Davis
ec06f2c49f spelling error fixes (notably "overriden" => "overidden") from IOhannes m zmölnig 2015-09-11 09:23:43 -04:00
Robin Gareus
f5f11158aa another hint for clang static analysis. 2015-09-06 10:42:58 +02:00
Robin Gareus
bea9bf5387 initialize private variable (unit-test) 2015-09-05 19:16:50 +02:00
Robin Gareus
482bd4b51c leave a hint for clang scan-build 2015-09-05 19:16:50 +02:00
Paul Davis
7fae6bcd87 copy all XCode project files from Tracks.
Rationale: the Waves team maintains the XCode project files, the Ardour crew doesn't. Thus, the Waves'
version is more canonical
2015-06-29 14:18:10 -04:00
Paul Davis
dd9e646b40 fix static library build 2015-06-29 14:16:42 -04:00
John Emmas
801af5df9e Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side) 2015-06-09 13:18:42 +01:00
Paul Davis
729bc00f13 no need to close a file that will not be removed (and has no name) 2015-04-29 15:01:33 -04:00
Robin Gareus
fbe673d9c7 fix #6208, negative broadcast timestamps 2015-03-22 16:12:40 +01:00
Robin Gareus
5cfa389978 explicitly close tmpfiles before unlink.
fixes issue on export tmpfiles remaining on windows
2015-03-02 23:12:06 +01:00
Robin Gareus
a5eb3bae87 add an explicit close function to sndfile
NB. if someday we want to switch back to upstream
SndfileHandle, we need to subclass wrap it.
(not sure what else is different, anyway)
2015-03-02 23:11:04 +01:00
Robin Gareus
36bbd14113 towards fixing #5711
Don’t call ::output() [here: SilenceTrimmer::process()] 
with no data to process. 

If (position + N * period-size) % chunksize == 0;
frames_left == 0 before the last call to ::output().
chunker.h:60 keeps the ProcessContext<T>::EndOfInput
flag and the SilenceTrimmer will already have done ‘in_end’ processing.
2015-01-27 23:13:55 +01:00
John Emmas
973d40e3ac Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00