Tone.js/src/composite/Sampler.js

14 lines
285 B
JavaScript
Raw Normal View History

2014-03-19 21:25:49 +00:00
//dependencies : Tone, Player, Envelope
//bufferMap maps a sample name to a url
Tone.Sampler = function(bufferMap){
}
Tone.Sampler.prototype.load = function(callback){
//load all of the players
}
Tone.Sampler.prototype.addSample = function(name, url){
//load all of the players
}