1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 23:02:42 +02:00

29 Commits

Author SHA1 Message Date
lllucius
1eeb4d979a The fabled realtime effects...
I've made it where you can enable and disable via experimentals:

EXPERIMENTAL_REALTIME_EFFECTS
EXPERIMENTAL_EFFECTS_RACK

You will notice that, as of now, the only effects currently set up for
realtime are VSTs.  Now that this is in, I will start converting the
rest.

As I start to convert the effects, the astute of you may notice that
they no longer directly access tracks or any "internal" Audacity
objects.  This isolates the effects from changes in Audacity and makes
it much easier to add new ones.

Anyway, all 3 platforms can now display VST effects in graphical mode.
Yes, that means Linux too.  There are quite a few VSTs for Linux if
you search for them.

The so-called "rack" definitely needs some discussion, work, and attention
from someone much better at graphics than me.  I'm not really sure it should
stay in as-is.  I'd originally planned for it to be simply a utility window
where you can store your (preconfigured) favorite effects.  It should probably
revert back to that idea.

You may notice that this DOES include the API work I did.  The realtime effects
were too tied to it and I didn't want to redo the whole thing.  As I mentioned
elsewhere, the API stuff may or may not be very future proof.

So, let the critter complaints commence.  I absolute KNOW there will be some.
(I know I'll be hearing from the Linux peeps pretty darn quickly.  ;-))
2014-10-26 03:24:10 +00:00
james.k.crook@gmail.com
0ff355fb49 Changed mods back to modules again.
Review did not like 'mods'.  Was felt to be too non-standard.  Note that we gained a '?' on a question to the user, an internationalisation hint about the word 'modules' and the words 'the Audacity Manual' (note caps) in making and 'reverting' this change.
2014-10-12 20:15:24 +00:00
james.k.crook@gmail.com
00d8875fd7 Modules renamed as 'mods' for user.
We previously had both 'modules' and 'plug-ins' and the files are called things like mod-script-pipe.dll.  Three different things.  From a user's point of view it is easier to think of them as modifications to the basic program, like mods in Minecraft.  Hence the name change.  The search path now has 'mods' in it rather than 'modules'.  Didn't see a need to rename the 'Modules' source code as programmers know what modules are and the mods are modules too.
2014-10-11 11:59:04 +00:00
james.k.crook@gmail.com
221474e37a Fixed bugs with MultiDialog. Fixed Bug with prompting about modules.
Previously MultiDialog attempted to centre on parent dialog, but there was a NULL parent.  Now the application top window is used. Dialog shows centred, for example when there are missing block files.  If the top window is a WX_STAY_ON_TOP, we move our dialog to the left, as otherwise it would be partially hidden.

Previously Audacity would ask about enabling a module whilst the splash screen was showing.  For some as yet undetermined reason the MultiDialog and Splash Screen are incompatible.  Possibly it's related to doing a ShowModal before a full application exists.  The not ideal workaround is to now delay showing the splash screen until after the modules have been loaded.
2014-10-10 15:36:51 +00:00
james.k.crook@gmail.com
d36a95b0a2 Module prefs in Preferences no longer experimental.
We do not now prompt about new modules at start up, unless you set a module to 'ask'.  This means we can ship experimental modules with Audacity.  Users can enable them if they want to, but aren't troubled by them otherwise.
2014-10-01 12:06:06 +00:00
james.k.crook@gmail.com
b160c728bc Module dispatch function is now optional. 2014-06-20 15:50:02 +00:00
james.k.crook@gmail.com
55e6a71fd3 With EXPERIMENTAL_MODULE_PREFS we now have a dynamic list of modules, and we have options, enable, disable, ask, failed, new (=ask once and remember the answer). Without the #define the behaviour is unchanged. We ask about each module each time Audacity runs. 2014-06-12 21:08:14 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
lllucius
1fab1cdb21 Bug 337 - New logger class allows log to be initialized immediately without crashing Mac empty project windows
This is an older one...originally from 2011.  Bug says it all, but basically it allows logging
to begin immediately upon startup for all platforms.  And it has multithreading protection, so
it should now be safe to log from the non-GUI threads.
2013-10-23 17:00:28 +00:00
RichardAsh1981@gmail.com
6758caa5e1 Make a large number of global variables static so they only have file scope when that is all they need. Part of a patch by Campbell Barton 2013-09-21 19:11:41 +00:00
RichardAsh1981@gmail.com
2952017541 Delete a quantity of unused variables, based on a patch supplied by Campbell Barton 2013-09-12 16:48:55 +00:00
v.audacity
51e0391b7d Campbell Barton's patch for mem leaks, http://www.graphicall.org/ftp/ideasman42/audacity_mem_leak_fix_r12450.diff 2013-08-03 00:24:26 +00:00
martynshaw99
91da5e2354 This to make no modules 'special', reverting what was done for Audacity 2.0.2. We ask each time about each module to see if the user want to load it.
Anything to do with modules and prefs is currently under EXPERIMENTAL_MODULE_PREFS and turned off.
We never load 'out of date' modules (but do allow modules to interrogate the current prefs and 'pretend' they are that version.  The 'Aurora' plug-ins do that).
If a module is 'out of date' we provide the name in a user-facing message and actual location in the log, just in case the user has a number of versions in different places (untested).
We currently don't remember the users preference for loading each module, but could extend this.  We would need an extra button in the ShowMultiDialog of ModuleManager::Initialize and then store the preferences in prefs.  That would need a more sophisticated entry in prefs->Modules to enable a user to change their decisions.
2013-06-16 23:31:32 +00:00
windinthew
355d43aa89 Typo in message 2013-06-05 08:12:51 +00:00
martynshaw99
37f74e27bb Adding the ability to load 'non-recognised' modules, with a warning to the user (the main point).
Removing duplicate code from LoadModules, at the expense of making  ModuleManager::Initialize more monolithic.

Make MultiDialog a bit more general.

Remove a few warnings.

Some logging has been turned back on when loading libs, we could turn it off again.

To test you could compile mod-nyq-bench and make sure it is available on the bottom of the 'View' menu, then unselect it in the Prefs -> Modules an retry.
2013-06-05 00:35:10 +00:00
james.k.crook@gmail.com
a1b02e5dbe Exploration of mod-nyq-bench load issue. Needs someone else to look at this further. 2012-07-31 09:34:31 +00:00
james.k.crook@gmail.com
29b79e2a7e Fixed missing header files. 2012-07-15 10:38:53 +00:00
james.k.crook@gmail.com
2bf327fec7 Ability to enable/disable loading of modules. Resized Prefs. Same-machine flag set when scripting (used by vista and later). 2012-07-14 22:45:12 +00:00
v.audacity
586dc82365 Remove now-redundant wxLogNull declaration for __WXMAC__. 2012-07-11 22:22:32 +00:00
v.audacity
c6edf9f444 Fix http://bugzilla.audacityteam.org/show_bug.cgi?id=544 (P2). 2012-07-11 05:27:19 +00:00
v.audacity
5697e39ec0 (bug 451, P2) Improve specificity of one of the "Gap detected..." messages, so it includes blockfile name and extension if possible. Also changed some wxLogError calls to wxLogWarning, as the plan is to handle them rather than fail the load.
Also made the "...will not be loaded" messages in LoadModules.cpp consistently use wxLogError.
2011-10-12 23:17:40 +00:00
james.k.crook@gmail.com
8838820660 _TCHAR -> wxChar for Ubuntu compatibility 2011-04-30 09:46:11 +00:00
james.k.crook@gmail.com
67387b6bc6 Use _TCHAR in place of wchar_t for VersionName 2011-04-29 07:52:46 +00:00
james.k.crook@gmail.com
0e26793243 Fixed: Order of module function invocation; removed superfluous init function; version number now a wchar_t* to avoid linker warning. 2011-04-25 16:36:25 +00:00
james.k.crook@gmail.com
21851193de Fix: LoadModule would load a module without a version string. 2011-04-24 14:31:29 +00:00
lllucius
e34ea138e0 Temporary change to prevent "Error: Couldn't find symbol 'MainPanelFunc' in a dynamic library (error 127: the specified procedure could not be found.)" dialog from popping up at Audacity startup. This only affects Mac. 2011-03-28 05:49:25 +00:00
v.audacity
9bbfeceea7 Upgrade some log message calls. 2011-02-26 01:51:44 +00:00
v.audacity
2362aca9a6 Remove wxLogNull declaration from LoadModule(wxString fname) as it obviated subsequent calls to wxLogDebug().
Add call to wxLog::FlushActive() to end of AudacityApp::OnInit() so calls to wxLog*() in Load*() calls get written to log.
2011-02-25 05:29:17 +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