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
May I suggest using OfflineAudioContext for the loading and decoding since it can decode (potentially) faster than realtime. Otherwise, if I have a sound with the length of 1.5 minutes i have to wait 1.5 minutes for it to be decoded.
e.g. what I use is
varAudioContext=window.AudioContext||window.webkitAudioContext;varOfflineAudioContext=window.OfflineAudioContext||window.webkitOfflineAudioContext;this._context=newAudioContext();this._loaderContext=newOfflineAudioContext(2,1024,44100);//22050 to 96000, CD = 44100
While I just use the offlineContext instead of the normal context for decoding.
I wouldn't hardcode the constructor values though since especially the first (and maybe the last parameter) might want to be set by some people.
Thanks for all, cu
Doidel
The text was updated successfully, but these errors were encountered:
Hai
May I suggest using OfflineAudioContext for the loading and decoding since it can decode (potentially) faster than realtime. Otherwise, if I have a sound with the length of 1.5 minutes i have to wait 1.5 minutes for it to be decoded.
e.g. what I use is
While I just use the offlineContext instead of the normal context for decoding.
I wouldn't hardcode the constructor values though since especially the first (and maybe the last parameter) might want to be set by some people.
Thanks for all, cu
Doidel
The text was updated successfully, but these errors were encountered: