1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

137 Commits

Author SHA1 Message Date
lllucius
c79bf9b1fa Bug fixes and additions to VST plugins
Bugs fixed:

1)  When scanning for VSTs on Mac, bogus lines could show up in the list if the .vst
    file had more than one Info.plist in the bungle.  GRM and TAL plugins exhibited
    this issue.
2)  When scanning for VSTs on Mac, reuse of a variable caused the plugin to be
    accepted even though it was a synth.  So it would show up in the Generate menu.
3)  I recently disabled the the plugin list dialog once the OK button was clicked
    to prevent clicking it again.  This was overkill and prevented clicking Cancel
    while the scan was running.  So, changed it to only disable the OK button.
4)  The new Settings dialog would save the settings even if you clicked Cancel.
5)  Detecing the overlay window on Mac didn't work in all cases.  Did more research
    and I believe the revised method is correct. (Window list is z-order sorted)
6)  When changing the preset from the top combo, the return value from the
    plugin was not check when getting the current preset (program).  It assumed
    that there was always an active program.  This is not at all correct.

Most of the new additions are an attempt to be more compatible with more plugins.
I have not found any plugins that crash Audacity anymore, so I'm not sure how to
really give these changes a good workout.  However, Guitar Rig 5 and Reaktor 5
are now quite usable since one of the additions was window resizing.

1)  Refreshed the aeffectx.h header from the LMSS project and merged in some
    additional changes from Ardour.
2)  Changed the method prototypes to reflect the new aeffectx.h header.
3)  Plugin scan dialog now has a "Select All" and "Clear All" buttons.  (On a
    personal note, this was a major boon while testing...way easier to include
    a single VST.)
4)  Uses a timer now instead of the wxIdleEvent to send effIdle messages to the
    plugin.  Idle could be all many times more than was necessary.
5)  Process level is now reported when requested by the plugin.  Don't know how
    useful it is, but many plugins request it.
6)  Two new events are sent to the dialog from the audioMaster callback to support
    window updating and resizing.  Figured it was safer this way since the callback
    "might" be called from a different thread (as far as I could figure out anyway).
7)  Current sample rate is now returned to the plugin when requested.
8)  The dialog now resizes when the plugin informs us of a size change to its window.
    This was one of the major drawbacks to using Guitar Rig and Reaktor as their
    window would resize and pretty much be useless since the dialog didn't adjust to
    the new size.  Kontakt was another that even includes a draggable resizer in the
    bottom right corner which the dialog supports just fine now.  (Not that Kontakt
    is actually supported though.)
9)  The preset bar is now updated when the plugin informs us of "major" changes with
    the UpdateDisplay opcode.  I noticed that when changing presets within Guitar
    Rig, the preset bar didn't change.

Discovered limitation:

Guitar Rig and, it seems, other plugins will only report a maximum of 128 presets (or
rather programs) even if they support more.  I'd figure out a way to populate the
combo with all of the presets via some major hackage, but it didn't do any good since
Guitar Rig simply refused to set any program number above 128.

Not much can be done about this...just a heads up.
2014-05-26 01:36:14 +00:00
lllucius
8a5d31588a Rework some strings for consistency as suggest by Gale. 2014-05-23 07:52:56 +00:00
lllucius
a2d7b626fd Sven Giermann's FXP support changes 2014-05-23 06:07:27 +00:00
lllucius
631f6a119d Fix another loading issue with VST XML files. 2014-05-23 04:41:19 +00:00
lllucius
8b1d71c657 Fix VST XML file loading if it contained "chunks" 2014-05-23 04:18:43 +00:00
lllucius@gmail.com
31d23fdf3f Add some compatability for some Mac effects
Mac effects that use overlay windows should now work correctly.

And I made some minor changes to the settings dialog as suggested
by Gale.
2014-05-22 23:00:24 +00:00
lllucius
680896b1b9 Fix loading of VST XML programs. 2014-05-20 07:30:23 +00:00
lllucius
001c8a80f7 Add buffer delay compensation and settings dialog
The buffer delay compensation resolves the issue where an effect
may add a delay to the output.  This would cause the output to shift
and the final samples to get chopped off.

The settings (click Settings on any VST dialog) dialog allows the user
to enable/disable the BDC and to set their desired buffer size (within
reason) to help improve performance.

In addition it fixes a bug in the plugin scan list were you could click
OK twice and have two scans going, eventually asserting.
2014-05-20 05:30:41 +00:00
windinthew
c7a82c3972 Clarify we are saving / loading a preset, not a program. 2014-04-07 21:41:30 +00:00
benjamin.drung@gmail.com
7d4bc6917b Fix build failure caused by undefined PATH_MAX.
Use PATH_MAX for PLATFORM_MAX_PATH only if it is defined and replace all
instances of PATH_MAX by PLATFORM_MAX_PATH.
2013-11-21 20:52:17 +00:00
lllucius
95215dd0e1 Bug 646 - VST List of Plugins - Residual Issues
Corrects a width problem on the Mac.
2013-10-31 13:39:12 +00:00
lllucius
a53defedf3 Bug 646 - Additional fix the Cancel button
It now interrupts the scan if the user clicks OK first.
2013-10-30 02:42:51 +00:00
v.audacity
a1fe886b43 Audacity convention is hyphen for "plug-in". Patch from Gale. 2013-10-11 19:58:35 +00:00
lllucius
d2b65de318 Fix remaining issue with #646
Good catch David!!!
2013-10-09 13:55:44 +00:00
lllucius
78bb88f169 Fix for bug # 646
http://bugzilla.audacityteam.org/show_bug.cgi?id=646
2013-10-07 23:33:59 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
james.k.crook@gmail.com
ba187bbafc Bug 368: No longer look at plugins.cfg to decide whether to rescan. Just use the rescan preference. 2013-08-31 14:24:55 +00:00
james.k.crook@gmail.com
557885770b Bug 646: PAGEUP and PAGEDOWN disabled for now. 2013-08-27 17:42:10 +00:00
james.k.crook@gmail.com
863e9aecb5 Bug 646 Handling of HOME and END keys. (Thanks David Bailes). 2013-08-27 17:26:11 +00:00
james.k.crook@gmail.com
db26dad623 Change visual and audible labels for 'Install VST Effects' too. 2013-08-27 14:56:41 +00:00
james.k.crook@gmail.com
774b8e9598 "Install VST Effects" in place of "Install VST Plugins" 2013-08-27 11:27:16 +00:00
james.k.crook@gmail.com
8678bbc88c Bug 646:
1) Following request from Gale scanning for VSTs will be prompted for every time you start, until it completes successfully OR you ask for it not to happen in preferences.  Also it will happen if the plugns.cfg is empty.
2) UP and DOWN no longer toggle the checkmark too.  SPACE does.
2013-08-27 10:26:06 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
james.k.crook@gmail.com
25f2206205 Fix for small arrow on wxMac. This is done blind, based on a guess that wxWin resizes the icons and wxMac does not. 2013-08-25 11:35:01 +00:00
james.k.crook@gmail.com
53032f04f8 Fixed missing include <listctrl.h> and fixed warning on LabelArray from DLL exporting. 2013-08-24 22:16:47 +00:00
james.k.crook@gmail.com
8ebe966a8b Bug 646: Small gap now between icon and text. 2013-08-24 16:45:32 +00:00
james.k.crook@gmail.com
1706aaca69 Bug 646: PluginRegistrationDialog now centred on screen rather than on (not-yet-existent) parent 2013-08-24 16:31:21 +00:00
james.k.crook@gmail.com
4c2544874d Bug 368: VST plugins now have a dialog that gives a list of plugine to choose from. 2013-08-24 15:38:26 +00:00
james.k.crook@gmail.com
077e18372b Fix bug where empty plugins.cfg causes a rescan. 2013-08-22 17:54:58 +00:00
v.audacity
c26b3c6b49 Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion 2013-02-23 04:33:20 +00:00
martynshaw99
cdd2ccf594 Remove spurious windows.h includes. 2012-12-31 22:12:23 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
v.audacity
59db8d4ad4 See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32. 2011-11-16 05:59:48 +00:00
lllucius
a2a87bb373 Correct bug 142
This changes the way Audacity searches for VST plugins on Windows.  Searching now follows the order specified here:

http://wiki.audacityteam.org/index.php?title=VST_Plug-ins#Where_Audacity_looks_for_VST_plug-ins
2011-03-05 06:31:02 +00:00
mchinen
d767dc8f1d Fix bug 126 followup: VST processing doesn't do last 12 seconds.
Due to a typo and sloppy testing by me I didn't get the end case correct.  This should fix it.
2010-12-02 12:23:56 +00:00
mchinen
10bec68701 Fix for bug 216 VST processing 4 to 12 times slower than in 1.3.8 2010-11-29 17:34:37 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00