46 std::shared_ptr<AnimateableProperty> m_timeStretch;
51 std::shared_ptr<AnimateableProperty> m_pitchScale;
56 StretcherQuality m_quality;
61 bool m_preserveFormant;
77 AnimateableTimeStretchPitchScale(std::shared_ptr<ISound> sound,
float fps,
float timeStretch,
float pitchScale, StretcherQuality quality,
bool preserveFormant);
88 AnimateableTimeStretchPitchScale(std::shared_ptr<ISound> sound,
float fps, std::shared_ptr<AnimateableProperty> timeStretch, std::shared_ptr<AnimateableProperty> pitchScale,
89 StretcherQuality quality,
bool preserveFormant);
94 bool getPreserveFormant()
const;
99 StretcherQuality getStretcherQuality()
const;
112 float getFPS()
const;
118 void setFPS(
float fps);
#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
The TimeStretchPitchScale class.
Defines the AnimateableProperty class as well as existing property types.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual std::shared_ptr< IReader > createReader()=0
Creates a reader for playback of the sound source.
This sound allows a sound to be time-stretched and pitch scaled with animation support.
Definition: AnimateableTimeStretchPitchScale.h:35
AnimateablePropertyType
Possible animatable properties for Sequencer Factories and Entries.
Definition: AnimateableProperty.h:34
This sound is a base class for all effect factories that take one other sound as input.
Definition: Effect.h:33