Skip to content

Pure HTML5 Audio Player implementing Webaudio

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
license.txt
Notifications You must be signed in to change notification settings

iz-ben/AudioManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AudioManager

This began as just a way of understanding Web Audio but moved on to become something more interesting.

The framework is capable of playing most audio filetypes and is compatible with most modern browsers.

It has the ability to extract frequency, waveforms and other data from an audio source without having to resort to flash. This can be used for audio visualizations and more. It's all about creativity.

It is able to stream large audio files immediately without waiting for the browser to retrieve the whole file.

It has the ability to play Soundcloud links provided that a Soundcloud client key is provided.

Grab the compiled file from the /dist/js folder

Implementation examples

Playing hosted sounds


var audiomanager = new AudioManager;

var blue = audiomanager.createSound('[ full web accesible url ]/eiffel65-blue.mp3','Eiffel 65 - Blue');

audiomanager.play();

Play from Soundcloud


var audiomanager = AudioManager;

//Set your soundcloud key
audiomanager.setSCKey('[client_key]');

var violin = audiomanager.createSound('https://soundcloud.com/amirra-salleh/when-the-violin-speaks','Amira Saleh2 - when the violin talks');

audiomanager.play();

Compiling

The framework is built using Google's Closure Library, and the distribution files have been compiled using Google's Closure Compiler.

Resources

Register Soundcloud app and get the client key from the developers section of their website.

About

Pure HTML5 Audio Player implementing Webaudio

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published