101 bool ProcessInitialize(
107 float*
const* outBlock,
size_t blockLen)
override;
111 bool RealtimeAddProcessor(
113 unsigned numChannels,
float sampleRate)
override;
117 size_t RealtimeProcess(
119 float*
const* outbuf,
size_t numSamples)
override;
125 size_t InstanceProcess(
127 const float*
const* inBlock,
float*
const* outBlock,
size_t blockLen);
161 void CopyHalfTable();
166 inline float LogCurve(
double threshold,
float value,
double ratio);
175 unsigned GetAudioInCount()
const override;
176 unsigned GetAudioOutCount()
const override;
184 std::shared_ptr<EffectInstance> MakeInstance()
const override;
const bool defaultDCBlock
std::optional< std::unique_ptr< EffectSettingsAccess::Message > > OptionalMessage
std::vector< RegistryPath > RegistryPaths
static Settings & settings()
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A WaveShaper distortion effect.
static const ComponentInterfaceSymbol Symbol
RealtimeSince
In which versions of Audacity was an effect realtime capable?
std::queue< float > queuesamples
Inherit to add a state variable to an EffectInstance subclass.
Hold values to send to effect output meters.
Interface for manipulations of an Effect's settings.
Base class for many of the effects in Audacity.
Holds a msgid for the translation catalog; may also bind format arguments.
Positions or offsets within audio files need a wide type.
constexpr auto sampleRate
Instance(const PerTrackEffect &effect)
std::vector< EffectDistortionState > mSlaves
EffectDistortionState mMaster
static constexpr bool mDefaultDCBlock
static constexpr int mDefaultRepeats
static constexpr double mDefaultParam2
static constexpr double mDefaultParam1
static constexpr double mDefaultNoiseFloor
static constexpr double mDefaultThreshold_dB
static constexpr int mDefaultTableChoiceIndx
Externalized state of a plug-in.