29enum class StretcherQuality
40class AUD_API TimeStretchPitchScale :
public Effect
56 StretcherQuality m_quality;
61 bool m_preserveFormant;
64 TimeStretchPitchScale(
const TimeStretchPitchScale&) =
delete;
65 TimeStretchPitchScale& operator=(
const TimeStretchPitchScale&) =
delete;
76 TimeStretchPitchScale(std::shared_ptr<ISound> sound,
double timeRatio,
double pitchScale, StretcherQuality quality,
bool preserveFormant);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
bool getPreserveFormant() const
Returns whether formant preservation is enabled.
virtual std::shared_ptr< IReader > createReader()
Creates a reader for playback of the sound source.
double getTimeRatio() const
Returns the time ratio.
StretcherQuality getStretcherQuality() const
Returns the quality of the stretcher.
TimeStretchPitchScale(std::shared_ptr< ISound > sound, double timeRatio, double pitchScale, StretcherQuality quality, bool preserveFormant)
Creates a new time-stretch, pitch scaled sound.
double getPitchScale() const
Returns the pitch scale.