function playAudio(element) {
  if (element.sample === undefined) {
    var sample = new Audio(element.dataset.audio);
    element.sample = sample
  }
  element.sample.play();
}

$(document).ready(function() {
    $('.trigger-pad').click(function() {
    playAudio(this);
  });
});

function playAudio(element) {
  if (element.sample === undefined) {
    var newSample = new buzz.sound(element.dataset.audio, {
          formats: [ "ogg", "mp3", "wav" ]
    });
    element.sample = newSample;
  }
  element.sample.play();
}

$(document).ready(function() {
    $('.trigger-pad').click(function() {
    playAudio(this);
  });
});

Add support for buzz audio in instruments.js
Add support for buzz audio in instruments.js
