mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the Audio Units, LADSPA, and VST effects. All effects now share a common UI. This gives all effects (though not implemented for all): User and factory preset capability Preset import/export capability Shared or private configuration options Builtin effects can now be migrated to RTP, depending on algorithm. LV2 effects now support graphical interfaces if the plugin supplies one. Nyquist prompt enhanced to provide some features of the Nyquist Workbench. It may not look like it, but this was a LOT of work, so trust me, there WILL be problems and everything effect related should be suspect. Keep a sharp eye (or two) open.
This commit is contained in:
@@ -25,12 +25,13 @@ the audio, rather than actually finding the clicks.
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <wx/msgdlg.h>
|
||||
#include <wx/intl.h>
|
||||
#include <wx/msgdlg.h>
|
||||
|
||||
#include "../InterpolateAudio.h"
|
||||
#include "../WaveTrack.h"
|
||||
|
||||
#include "Repair.h"
|
||||
#include "../WaveTrack.h"
|
||||
#include "../InterpolateAudio.h"
|
||||
|
||||
EffectRepair::EffectRepair()
|
||||
{
|
||||
@@ -40,18 +41,32 @@ EffectRepair::~EffectRepair()
|
||||
{
|
||||
}
|
||||
|
||||
bool EffectRepair::PromptUser()
|
||||
// IdentInterface implementation
|
||||
|
||||
wxString EffectRepair::GetSymbol()
|
||||
{
|
||||
return true;
|
||||
return REPAIR_PLUGIN_SYMBOL;
|
||||
}
|
||||
|
||||
bool EffectRepair::TransferParameters( Shuttle & WXUNUSED(shuttle) )
|
||||
wxString EffectRepair::GetDescription()
|
||||
{
|
||||
//TODO: pop-click values.
|
||||
// shuttle.TransferInt("",,0);
|
||||
return true;
|
||||
return wxTRANSLATE("Sets the peak amplitude of a one or more tracks");
|
||||
}
|
||||
|
||||
// EffectIdentInterface implementation
|
||||
|
||||
EffectType EffectRepair::GetType()
|
||||
{
|
||||
return EffectTypeProcess;
|
||||
}
|
||||
|
||||
bool EffectRepair::IsInteractive()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Effect implementation
|
||||
|
||||
bool EffectRepair::Process()
|
||||
{
|
||||
//v This may be too much copying for EffectRepair. To support Cancel, may be able to copy much less.
|
||||
|
||||
Reference in New Issue
Block a user