lichen-community-systems / Flocking

Flocking - Creative audio synthesis for the Web
GNU General Public License v2.0
695 stars 60 forks source link

Audio files can't be loaded in Node.js on Windows #180

Closed colinbdclark closed 5 years ago

colinbdclark commented 8 years ago

For whatever reason, trying to load an audio file in Flocking on Node.js running in Windows will result in an error. It appears that Flocking is interpreting Windows file paths as URLs, and triggering the error stub in flock.net.readBufferFromUrl.

colinbdclark commented 5 years ago

This issue causes some Node.js unit tests to fail on Windows, so should be fixed prior to 1.0.0.