Skip to content
Web Audio Api Jquery Plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
src
.gitattributes
.gitignore
LICENSE
README.md

README.md

#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' });

You can’t perform that action at this time.