You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to adjust the playbackRate of each Sound. This probably should be restricted to Sound and unavailable on Stack or Earwurm.
Changing playbackRate also affects "pitch" - the faster the audio is played, the higher pitch is sounds. At the moment, there is no native way to "preserve pitch", but it is in discussion here: WebAudio/web-audio-api#2487
We should try to implement a custom solution (if possible) to preservePitch.
Expectation
constsound1=awaitstack.prepare();// Should be `1` by default.constcurrentSpeed=sound1.speed;// sound1.speed = 2;sound1.setSpeed(2,1000);constsound2=awaitstack.prepare({speed: 2});constsound3=newSound(...props,{speed: 0.5,preservePitch: true});
We should be able to adjust the
playbackRate
of eachSound
. This probably should be restricted toSound
and unavailable onStack
orEarwurm
.Changing
playbackRate
also affects "pitch" - the faster the audio is played, the higher pitch is sounds. At the moment, there is no native way to "preserve pitch", but it is in discussion here: WebAudio/web-audio-api#2487We should try to implement a custom solution (if possible) to
preservePitch
.Expectation
Key points
1
.constructor
?The text was updated successfully, but these errors were encountered: