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
@@ -26,35 +29,34 @@ in the meantime check out what's in the examples directory (especially the [simp
26
29
27
30
## TODOs
28
31
29
-
* abort the loading of the sound if the user clicks play and then pause (or stop / next / previous) before the end of the buffering process (https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort)
30
-
* allow cross fading songs "on end" if it's the next song in a playlist
31
-
* create a web component UI (http://www.w3.org/TR/components-intro/)!?
32
-
* currently the "find song in queue" can't retrieve songs by queue index, is this useful anyway?
33
-
* let the user modify the audio graph, for example by adding / removíng nodes like a filter node, a panner node ...
34
-
* implement suspend and resume: ctx.suspend() and resume of the context on pause / stop or if for some time no sound was played? ... to free device resources, as suspend returns a promise, does this mean suspending and resuming takes time? if so how much time does it take, based on that information we can decide when and how often we should resume / suspend
35
-
* use the html audio element for backwards compatibility for IE11 and mobile android devices? (http://caniuse.com/#feat=audio-api / )
36
-
* use the requestAnimation (https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) frame or the requestidlecallback (https://developers.google.com/web/updates/2015/08/using-requestidlecallback / https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback) instead of setInterval for playing progress callback?
37
-
* use web workers, especially for the decoding of the ArrayBuffer into an AudioBuffer, to not block the main thread while decoding?
38
-
* cache (preload) AudioBuffers in localstorage, let the user set the amount of cached AudioBuffers, remove from cache by least used and by date when cache is full
39
-
* add shuffle mode
40
-
* add a loop song and loop queue mode
41
-
* handle all error cases that are still unhandled
42
-
* add support for more codecs (flac, wav, ogg vorbis, opus, aac): also check the available codecs and defined sources, play the first one that has matches and available codec, let user define order of preferred codecs for playerback
43
-
* add promise fallback for IE11 and Android < 4.4.4?
44
-
* add fallback for onended for IE11 (https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)
* add travis build check and badge (https://travis-ci.org)
51
-
* add a contribution guide
52
-
* write some documentation
53
-
* put all the code related to the queue into a seperate library class (out of core)
54
-
* add UI screenshot to readme
55
-
* add demo (github pages)
56
-
* for position and volume, allow to use a percentage or a value
57
-
* add hooks to the sound object for all the native source node events https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode
32
+
* abort the loading of the sound if the user clicks play and then pause (or stop / next / previous) before the end of the buffering process (https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort)
33
+
* allow cross fading songs "on end" if it's the next song in a playlist
34
+
* create a web component UI (http://www.w3.org/TR/components-intro/)!?
35
+
* currently the "find song in queue" can't retrieve songs by queue index, is this useful anyway?
36
+
* implement suspend and resume: ctx.suspend() and resume of the context on pause / stop or if for some time no sound was played? ... to free device resources, as suspend returns a promise, does this mean suspending and resuming takes time? if so how much time does it take, based on that information we can decide when and how often we should resume / suspend
37
+
* use the html audio element for backwards compatibility for IE11 and mobile android devices? (http://caniuse.com/#feat=audio-api / )
38
+
* use the requestAnimation (https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame) frame or the requestidlecallback (https://developers.google.com/web/updates/2015/08/using-requestidlecallback / https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback) instead of setInterval for playing progress callback?
39
+
* use web workers, especially for the decoding of the ArrayBuffer into an AudioBuffer, to not block the main thread while decoding?
40
+
* cache (preload) AudioBuffers in localstorage, let the user set the amount of cached AudioBuffers, remove from cache by least used and by date when cache is full
41
+
* add shuffle mode
42
+
* add a loop song and loop queue mode
43
+
* handle all error cases that are still unhandled
44
+
* add support for more codecs (flac, wav, ogg vorbis, opus, aac): also check the available codecs and defined sources, play the first one that has matches and available codec, let user define order of preferred codecs for playerback
45
+
* add promise fallback for IE11 and Android < 4.4.4?
46
+
* add fallback for onended for IE11 (https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/onended)
0 commit comments