mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-01-03 11:35:49 -05:00
comments
This commit is contained in:
parent
b32ee9267b
commit
a150f018b5
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ ADPCMSoundLoader.prototype.load = function (url) {
|
|||
|
||||
var samples = this.imaDecompress(this.extractChunk('data', stream), this.adpcmBlockSize);
|
||||
|
||||
// this line is the only place Tone is used here, should be possible to remove
|
||||
// todo: this line is the only place Tone is used here, should be possible to remove
|
||||
var buffer = Tone.context.createBuffer(1, samples.length, this.samplesPerSecond);
|
||||
|
||||
// todo: optimize this? e.g. replace the divide by storing 1/32768 and multiply?
|
||||
|
|
Loading…
Reference in a new issue