14#ifndef __AUDACITY_EFFECT_DTMF__
15#define __AUDACITY_EFFECT_DTMF__
68 std::shared_ptr<EffectInstance>
MakeInstance()
const override;
73 static bool MakeDtmfTone(
float *buffer,
size_t len,
float fs,
static Settings & settings()
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
An effect that generates DTMF tones.
const EffectParameterMethods & Parameters() const override
TranslatableString GetDescription() const override
static constexpr EffectParameter Amplitude
std::unique_ptr< EffectEditor > MakeEditor(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Called only from PopulateUI, to add controls to effect panel.
static const ComponentInterfaceSymbol Symbol
ManualPageID ManualPage() const override
Name of a page in the Audacity alpha manual, default is empty.
EffectType GetType() const override
Type determines how it behaves.
std::shared_ptr< EffectInstance > MakeInstance() const override
Make an object maintaining short-term state of an Effect.
static bool MakeDtmfTone(float *buffer, size_t len, float fs, wxChar tone, sampleCount last, sampleCount total, float amplitude)
ComponentInterfaceSymbol GetSymbol() const override
static constexpr EffectParameter DutyCycle
Performs effect computation.
Hold values to send to effect output meters.
Interface for manipulations of an Effect's settings.
A WaveTrack contains WaveClip(s). A WaveClip contains a Sequence. A Sequence is primarily an interfac...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.
Positions or offsets within audio files need a wide type.
static constexpr double DefaultDutyCycle
static constexpr double DefaultAmplitude
void Recalculate(EffectSettings &settings)
static constexpr wchar_t DefaultSequence[]
Temporary state of the computation.
Externalized state of a plug-in.