animasong.js is an html5 music player which uses dancer.js for analyzing the song and create animations.
http://animasong.antoinemineau.com
v0.1.0 (7/12/2014)
- Available actions: play, pause, mute / change volume.
- 1 song provider supported: Soundcloud (http://soundcloud.com/)
- 2 animations: spectrum / equalizer
var animasong = new Animasong({
'song': {
'provider' : 'soundcloud',
'location' : 'https://soundcloud.com/neversaydie/zomboy-immunity-1',
},
'container': '#player',
'animation': 'equalizer',
});
animasong.start();
- provider: the name of the selected provider. At the moment only Soundcloud is supported.
- location: the url of the song you want to play.
- container: the div where you want to set the player. The player will match the width and height of the container.
- animation: the animation you want to show (spectrum, equalizer)
- Chrome 10+
- Doesn't work on Firefox, more details here
- jquery.js - Used to manage the events binding of the player. Not included in animasong.js
- dancer.js - Used to analyze the song and add animations. Included in animasong.js
- handlebars.js - Used to render the player template. Included in animasong.js
This project uses grunt to build. Run grunt
from the project root to lint and build files.
v0.1.0 (7/12/2014)
- Available Actions: pause / play, mute /change volume.
- 2 animations: spectrum / equalizer
- 1 provider: Soundcloud
- Create an error handler
- Create a localhost provider
- Create tests for browser support
- Create new animations
- Create a song duration current / total
- Create options to set the colors of the player, animation...
- Add a button to make the player fullscreen (using screenfull.js)