diff --git a/src/soundfile.js b/src/soundfile.js index 33a25b5f..0d2ad49f 100644 --- a/src/soundfile.js +++ b/src/soundfile.js @@ -1700,8 +1700,7 @@ define(function (require) { * */ p5.SoundFile.prototype.save = function(fileName) { - const dataView = convertToWav(this.buffer); - p5.prototype.saveSound([dataView], fileName, 'wav'); + p5.prototype.saveSound(this, fileName, 'wav'); }; /**