mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-24 17:45:01 +00:00
14 lines
285 B
JavaScript
14 lines
285 B
JavaScript
|
//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
|
||
|
}
|