inside-music icon indicating copy to clipboard operation
inside-music copied to clipboard

Tone.BufferSource: buffer is either not set or not loaded

Open danicuki opened this issue 8 years ago • 3 comments

I set up everything as described. When I click on my own song to play, I get this message:

   Main.js:1 Uncaught Error: Tone.BufferSource: buffer is either not set or not loaded.
    at t.BufferSource.start (Main.js:1)
    at t.Player._start (Main.js:7)
    at t.Player.t.Source.start (Main.js:1)
    at e.value (Main.js:1)
    at HTMLElement.<anonymous> (Main.js:1)
    at Object.t.exports.fireEvent (vendor.bundle.js:14)
    at vendor.bundle.js:14
    at Array.map (<anonymous>)
    at HTMLElement.value (vendor.bundle.js:14)
    at HTMLButtonElement.e (Main.js:1)

danicuki avatar Sep 10 '17 09:09 danicuki

Check the vo files, for loading etc. If you F12 you'll probably see some errors. I had the same issue but fixed it with those http://www.sonicviz.com/wp/project/spatial-music/

sonicviz avatar Sep 11 '17 00:09 sonicviz

In fact, there are many missing files. We should improve documentation, to instruct what files should be put into /audio/vo directory.

danicuki avatar Sep 13 '17 17:09 danicuki

Yeah, as we mentioned in the REAMDE, this is entirely without audio files. So if you want to get it running locally, you'll need to add files and change a few lines in the code.

One of the missing files is for this line which creates the audio-reactive visuals in the splash page. You can replace that with any file since it's never heard.

The rest of the VO files are loaded from here and can be either commented out or changed in the config file under the key "intro".

tambien avatar Sep 13 '17 18:09 tambien