Comments (11)
To evaluate the usefulness of this interesting tool, I need a way to specify a local music to play. thanks, Bill
from dancer.js.
Gotcha -- will take a look at incorporating FileReader into interface
from dancer.js.
any progress on this? I'm looking to use dancer with an existing audio source.
from dancer.js.
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 :)
from dancer.js.
@billwoo, @comster: audio elements may now be used as the source for dancer's audio and may be controlled with an audio element as well. With this, you can use a file reader to load audio into an audio element. Check out the ./examples/audio_element/
demo for an example. Thanks!
from dancer.js.
I saw your first commit to the audio_element branch :) and hacked it to
work with aurora. The audio api is slightly different than the audio
element I think. I'll pull the latest and try to put together an example
and maybe submit a patch if it makes sense.
Great work, Thanks!
On Thu, Aug 9, 2012 at 2:36 PM, Jordan Santell [email protected]:
@billwoo https://github.com/billwoo, @comsterhttps://github.com/comster:
audio elements may now be used as the source for dancer's audio and may be
controlled with an audio element as well. With this, you can use a file
reader to load audio into an audio element. Check out the
./examples/audio_element/ demo for an example. Thanks!—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-7627772.
from dancer.js.
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!
from dancer.js.
My hack worked in Chrome at least, although dirty. I'm think I'm just
passing through the existing buffer to connect listeners to. I'll try to
clean it up for posting.
On Thu, Aug 9, 2012 at 2:48 PM, Jordan Santell [email protected]:
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!—
Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-7628061.
from dancer.js.
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://
from dancer.js.
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)
from dancer.js.
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.
from dancer.js.
Related Issues (20)
- Prototyping arrays + dancer.js
- [enhancement] [audio-data-api] Check Latest Firefox Mp3 playback support
- sounds glitches after change of audio src HOT 2
- Documentation for Flash Fallback
- MediaStream from Web RTC API as a data source? HOT 6
- Allow user configuration of SAMPLE_SIZE HOT 1
- Can't get any data in FF22
- Insecure Operations FF21 - adapterMoz.js
- Browserify HOT 1
- isUnsupportedSafari needs updating
- Work on iOS / android? HOT 1
- Uncaught Error(s) when playing live streams? HOT 2
- Get Raw Complete Waveform Data HOT 2
- Demo fails in Fx 30
- Stopped working in Chrome as well HOT 3
- Play two dancer instances at the same time
- Demo failed when play in IE 11(win7 and win8)
- Fatal crashes in new versions on io example
- blob audio url
- Demo doesn't run HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dancer.js.