-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Play local files #12
Comments
To evaluate the usefulness of this interesting tool, I need a way to specify a local music to play. thanks, Bill |
Gotcha -- will take a look at incorporating FileReader into interface |
any progress on this? I'm looking to use dancer with an existing audio source. |
Same deal with #13 -- once external audio sources can be leveraged, can use FileReader to pass data to that audio source as dancer leverages -- will update with progress :) |
I saw your first commit to the audio_element branch :) and hacked it to Great work, Thanks! On Thu, Aug 9, 2012 at 2:36 PM, Jordan Santell notifications@github.comwrote:
|
The mozilla implementation looks doable, as it just sits on top of an audio element, but Aurora's webkit implementation is all within the Audio Context (Dancer was like that previously, just pushing a buffer, rather than using an audio element), if you get something working, would love to use it! |
My hack worked in Chrome at least, although dirty. I'm think I'm just On Thu, Aug 9, 2012 at 2:48 PM, Jordan Santell notifications@github.comwrote:
|
Hey, I pulled the latest and tried to work in my changes. I've got a branch for it here: https://github.com/comster/dancer.js/tree/audioapi I need to add the moz adapter still, but it seems to work in Chrome. I've made an example folder to test using local files and aurora, but unfortunately it doesn't work when running the html via file:// and needs to be run from http:// |
Excellent, I think I see what's going on here -- this is for getting it working with Aurora? Is it also for using local files (which may not be the responsibility of Dancer, since ultimately it just goes in an audio element) |
Ya. Aurora has both loadFile and loadURL. Unfortunately I wasn't able to get either working when running the example via file:// but it's a neat library supporting many codecs. You can see the example here: https://github.com/comster/dancer.js/tree/audioapi/examples/aurora I'll try setting it up as a gh-page later. |
Play local files with drag & drop interface on demo
The text was updated successfully, but these errors were encountered: