13
0
Commit Graph

19327 Commits

Author SHA1 Message Date
31442cd63d work-around case where metric is NULL in split cycles.
This really needs to be fixed on a higher level.
e.g Pluin::connect_and_run() needs to be passed the current time identical to
PluginInsert::connect_and_run()
2016-02-16 18:17:13 +01:00
cbdae78511 try to catch https://github.com/rncbc/synthv1/issues/1#issuecomment-183041991
(n_samples = 64 but Ardour sends midi-buffer with an event at 960)

some guesses as to why:
 - split cycle for looping (nominal: 1024, cycle split:64)
 - plugin uses _session.transport_frame() directly :(
   (not latency compensated offset or looped position)
 - "offset" is not taken into account for midi buffers
 - tempo/metric change (metric iterator is wrong after loop)
2016-02-16 15:36:43 +01:00
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
240daf95f5 re-bin analysis results to take silence striping into account. 2016-02-16 15:09:31 +01:00
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
c52854fd3d Analysis: 1 sample slack (for resampling rounding) 2016-02-16 14:24:08 +01:00
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
e18e765c75 Fix Analysis duration for added silence 2016-02-16 13:22:12 +01:00
9ab061c6cb don't re-use variable names 2016-02-16 13:21:45 +01:00
9a281963e1 proper debug prints for Analyser 2016-02-16 13:21:28 +01:00
51f9483aab Export Analysis GUI: clarify signal-distribution axis labels 2016-02-16 02:58:41 +01:00
3dc6251b7d move "Normalization Gain" display to the left box & colorize it. 2016-02-16 01:43:30 +01:00
92d8e6622d OSX build - ignore order of options (and fix indent on the way)
We call the script with "--nls --public" and not "--public --nls"
--public did unset "WITH_NLS"
2016-02-16 00:52:50 +01:00
de94f3ce83 fix typo in previous commit 2016-02-15 17:29:54 -06:00
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
14bf40cfe3 more Export Report GUI tweaks:
* properly indent y-axis labels
* show N/A if EBU-R128 is not available (mono/stereo only)
2016-02-15 19:12:46 +01:00
abbaaeba02 update Export Report GUI for extended spect. range 2016-02-15 18:55:24 +01:00
1355d186cb extend analysis spectral range to -120dB 2016-02-15 18:55:04 +01:00
92875bbf07 refine ExportReport:
* combined Logscale/Rectified buttons
* use "Lg", "Rf" labels for now
* fix some layout bugs
2016-02-15 17:37:51 +01:00
7e59435ee8 update Export Report GUI
* show normalization gain
* add annotation for spectrum
* log-scale / rectified waveform
2016-02-15 16:34:16 +01:00
e6ea35c3de Add normalization gain factor to Export Analysis 2016-02-15 15:46:49 +01:00
b9efb2ae21 Move Export Audition Buttons to the bottom 2016-02-14 17:08:15 +01:00
9527fcd65f tweak spectrum color schema 2016-02-14 15:14:06 +01:00
1e2299b254 show playhead on all export report widgets 2016-02-14 14:02:46 +01:00
f23bb163a8 Ensure export starts with a clean state 2016-02-14 13:23:45 +01:00
0034ecfe49 add missing space 2016-02-14 12:55:20 +01:00
fc011e752a Fix issue related to bug #6609, text selection not visible in track name entry
patch submitted by Julien Roger
2016-02-14 11:18:42 +10:00
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
794f4cd360 Export Audition: don't rely on audition-progress 100% for "end" 2016-02-14 01:24:00 +01:00
820bd0fe51 and another typo in d442190b 2016-02-14 00:10:41 +01:00
09167d3e59 fix typos in d442190b 2016-02-14 00:02:00 +01:00
48532baaa7 remove C++11'isms from libptformat. back to C++98 compat. 2016-02-13 23:15:47 +01:00
d442190b8a slightly improved windows post-export hook support. 2016-02-13 23:12:50 +01:00
73245c6217 some half-baked support for windows command-arg substitutions 2016-02-13 17:04:11 +01:00
fc5c247aa1 add post-export audition seeking 2016-02-13 13:51:10 +01:00
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
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
255fbe7b55 Add Julien Roger to authors 2016-02-13 12:56:52 +10:00
Julien ROGER
d405a0059d Fix 6031: Fix inactive MIDI track headers when reloading session
Update the visual state of MidiTimeAxisView accordingly to its route in
MidiTimeAxisView::set_route()
2016-02-13 12:52:34 +10: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
Julien ROGER
1fbe4253aa Fix 6609: Right-click in active track name box crashes
When right-clicking in the text entry, popup menu grabs focus. Consequently, the "focus out" handler is called, destroys the text entry and replaces it by the label name of the track.
When menu pops up, it tries to access to a widget no longer available.
2016-02-13 12:30:31 +10:00
108528b63d amend d814acb - SystemExec/Export debugging 2016-02-13 01:39:41 +01:00
d814acbb8f add some debugging capability for users of SystemExec. Needs review. 2016-02-12 18:22:12 -06:00
0812f3bac1 Hide "Use Buffered I/O" button when switching to backend with no control
Which in this case means the JACK backend where the server is already running.
2016-02-13 10:00:59 +10:00
8bcefed2c7 use "Good" resampling quality (lower initial play latency) 2016-02-13 00:58:29 +01:00
4fdd03892d add NULL check for VST audioMasterSizeWindow 2016-02-13 00:51:17 +01:00
07cdae3318 Partial exposure of export-audition playhead 2016-02-12 23:01:10 +01:00
d308fceb21 update signal connetion for new CairoWidget::set_dirty() API 2016-02-12 22:58:33 +01:00
4a9ffee486 Allow partial CairoWidget exposure 2016-02-12 22:57:46 +01:00
88bb11f27e Add Playhead to Export Report Dialog 2016-02-12 22:12:40 +01:00