summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_eq_gui.cc
AgeCommit message (Collapse)Author
2019-08-24Mitigate issues of expensive plugin analysis -- #7795Robin Gareus
Plugin analysis uses a GUI thread instance of a given plugin to perform a IR analysis. Some plugins can be rather CPU expensive to analyze. e.g. a-hi/lo-filter when interpolating is recalculating biquad coefficients every 64samples during the 8k IR analysis. This can take a significant amount of time on older CPUs. Furthermore live-signal collection happens in the rt-thread, using cross-thread signals. Signal collection is periodically initiated from the same timeout signal as analysis. Analysis is was done using default thread priority, which is higher than the GUI redraw priority (PRIORITY_HIGH_IDLE). So it was possible to contiguously initiate analysis, loading the CPU and preventing redraws.
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2019-07-17FFT analysis: use actual latencyRobin Gareus
Ardour allows to override a plugin's reported latency. So far this was not taken into account when plotting the phase/freq response.
2019-04-21Allow analysis window to plot live pre/post signal analysisRobin Gareus
2019-02-28Add phase labels -180..180 deg for analysis displayRobin Gareus
2019-02-28NO-OP: whitespaceRobin Gareus
2019-02-28NO-OP: whitespaceRobin Gareus
2019-02-28Re-work plugin-analysis (fix crashes)Robin Gareus
Plugin-analysis uses a fixed number of samples, which may be larger than the session's block-size. This caused problems for some VST plugins that use audioMasterCallback to query the session's block-size. Plugin FFT analysis now processes in chunks of the session's block-size to avoid this issue. This also allows to increase accuracy for all plugin standards (FFT size was increased to 8192).
2018-10-25Plugin analysis numericsRobin Gareus
Show vertical marker-line (freq) and precise numeric data of the transfer function (dB, deg).
2018-04-30Add option to disable plotting collected signal in analysis.Robin Gareus
2018-04-13Fix plugin analysis for some VST and AU Plugins.Robin Gareus
set_block_size() implies plugin deactivate(), activate() calls to re-initialize AU and VST plugins. So plugins will reset the internal state and not immediately respond correctly. Some plugins zero the output or ramp up internally, leading the analyzer to show invalid or random/uncorrelated information. This avoid periodic calls to de/activate()
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2016-07-25plugin spectrum analysis: plot A/BRobin Gareus
2016-07-25Fix frequence display for plugin analysis mouse overJulien "_FrnchFrgg_" RIVAUD
When freq was changed to be an integer, the conversion to kHz became a truncation. Divide by the float 1000.0 to pass the correct value to the stringstream formatting routine.
2016-07-25Plugin Analysis: show numeric values on mouse overJulien "_FrnchFrgg_" RIVAUD
For people who need more precise frequency or response amplitude, show the values corresponding to the point under the mouse.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-14NO-OP whitespaceRobin Gareus
2016-07-14fix plugin-analysis for VST (no in-place processing)Robin Gareus
2016-07-13initialize more uninitialized variables..Robin Gareus
2016-06-25major internal plugin & processor API change:Robin Gareus
Pass current (latency compensated) cycle times to plugin. This fixes time-reporting to plugins and also fixes automation and when bouncing (the session->transport* is not valid) etc.
2015-10-12no need for ugly cast constructors, just add a second argumentPaul Davis
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-07-20plugin analysis set block-sizeRobin Gareus
fixes live spectrum analysis (for AU)
2014-03-04mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)Robin Gareus
2014-01-11fix issues with isnan/isinf on OS X where <cmath> hides isnan/isinf and ↵Paul Davis
forces std::isnan/std::isinf
2014-01-10finished merge of cairocanvas with windows and windows+cc branchesPaul Davis
2013-10-03'gtk2_ardour' - 'std::isinf' + 'std::isnan' are not available in MSVC (at ↵John Emmas
least, not VC8)
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01Allocate some thread-local buffers for the GUI thread so that the ↵Carl Hetherington
PluginEqGui impulse analysis can use them (fixes #4418). git-svn-id: svn://localhost/ardour2/branches/3.0@10387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23Re-fix compile failure with --no-nls (#3111).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19remove some debugging outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19fixes to avoid dreadfull thread races and deletion crashes related to the ↵Paul Davis
pluin EQ GUI git-svn-id: svn://localhost/ardour2/branches/3.0@9378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-06Hopefully allow compilation against gtkmm 2.24.0 (#3946 and #3934).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03put sampo's FFT into the (new) GTKArdour namespace, to avoid collision with ↵Paul Davis
the FFT in the QM DSP library. they should both be namespaced but its easier to avoid changing the QM code at all git-svn-id: svn://localhost/ardour2/branches/3.0@9056 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-21Fix untranslateable strings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-09Fix crash when running an analysis of a plugin with MIDI IO.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-28Shrink the minimum size of the plugin analyser a bit, and make it take up ↵Carl Hetherington
spare space in the dialogue. Fixes #2835. git-svn-id: svn://localhost/ardour2/branches/3.0@7703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-30Trim session.h include dependency tree.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@5979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04Preliminary MIDI plugin support.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23remove offset from process callback tree. some breakage may have occured. ↵Paul Davis
yes, really. git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf