Comments (6)
Not in the current implementation -- in the next version, yes, and this is something I'd like to see!
from dancer.js.
Cool! Looking forward to it 👍
from dancer.js.
Any updates on this?
from dancer.js.
This project as a whole needs to be revamped to support the current state of web audio, which is now much different than it was two years ago... have been investigating best way to go about it, which will include all these new sources though :)
from dancer.js.
@jsantell What are your thoughts? I'll be happy to help/contribute.
from dancer.js.
Not 100% certain if this'll help, but you might consider https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Visualizations_with_Web_Audio_API#Creating_a_frequency_bar_graph
This is currently cross compatible between firefox and chrome and uses a microphone, which I assume is at least partially similar to a live-stream, may be helpful.
Speaking of: if you update the adapterWebAudio.js with some try catch you'll find Chrome supports live-streams.
this.audio.addEventListener( 'progress', function ( e ) {
if ( e.currentTarget.duration ) {
try{/*e.currentTarget.seekable.end() doesn't exist for stream sources on chrome*/
_this.progress = e.currentTarget.seekable.end( 0 ) / e.currentTarget.duration;
} catch (e) {/*fake out progress bar movement*/
_this.progress = 1;
}
}
});
Not sure what to do the mozAdapter to have that work, I'm hoping to see live-streams being cross-compatible. I mean if the element can handle them it doesn't make much sense if they can't handle processing streams so I'm not sure what part of the mozAdapter is stopping it.
I'd be incredibly interested to see this happen because I work at a radio station and it'd be pretty awesome to create visuals.
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
- 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.