Skip to content

manuelnelson/AudioLibraryJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#AudioLibraryJs

This project contains several jquery plugin's - using the jquery ui widget design pattern - to easily create a Web Audio API based audio player and a Web Audio API based audio editor. These two plugin's can work side by side but don't necessarily need to. Since it is web audio api based, the plugin only works on webkit browsers (Chrome/Safari on mac).

##Third Party Tools (Required)

  • Jquery 1.8 (and later)
  • Jquery-ui-1.10 (only the core, draggable and droppable needed)
  • processing-1.4.1.js

#How to use To attach the player to an element, simply add audioPlayerGraphical({:options}) to the jquery object. Example ####HTML

Play Stop Save Clear ####Javascript $('#player').audioPlayerGraphical({ bpm: 100, stopButton: '#playerStop', saveButton: '#playerSave', playButton: '#playerPlay', clearButton: '#playerReset' });

To use the audio editor, see the following example. ####HTML

Drag to player when finished.
####Javascript //plug-in for viewer $('#sampleWaveform').audioViewer({ playButton: '#samplePlay', zoomInButton: '#sampleZoomIn', zoomOutButton: '#sampleZoomOut', dropFileBox: '#sampleTrim' });

About

Web Audio Api Jquery Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published