The Wayback Machine - https://web.archive.org/web/20200715094410/https://github.com/topics/web-audio
Skip to content
#

web-audio

Here are 215 public repositories matching this topic...

ttencate
ttencate commented Jul 9, 2019

The documentation for duration() says:

Passing an ID will return the duration of the sprite being played on this instance; otherwise, the full source duration is returned.

But to get an ID, we need to call play() first. This means, if we have a sound sprite, we can't get the duration of individual sounds in the sprite without actually starting playback.

As a workaround, I found you

Pomax
Pomax commented Apr 7, 2020

Looking at https://wavesurfer-js.org/plugins and https://wavesurfer-js.org/example/spectrogram/index.html it is entirely unclear how this plugin is supposed to get loaded.

The second link has an example that is literally impossible, because you can't reference a variable before it's been declared (the wavesurfer var does not exist yet, so the wavesurfer: wavesurfer instruction is an error),

SimplyLab
SimplyLab commented May 2, 2020

In any examples, putting "start_song" parameter have no effet.
It will always set first song to index 0.

Setting "start_song":3 in the Amplitude.init object lead to have in the debug object : start_song: ""

Reproduce:

  • Take the "Blue Playlist" example
  • In the Amplitude init, add "start_song":3
  • Load the page
  • Push the big Play/Pause button. It will play song index 0
bug

Improve this page

Add a description, image, and links to the web-audio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the web-audio topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.