/**
* Gets sampling rate in Hz
* @returns {number}
*/
soundClip.getFrequency = function () {
if (!this.buffer) {
console.log ("Trying to get metadata of sound which is not loaded.");
return WEBAudio.FAKEMOD_SAMPLERATE;
}
return this.buffer.sampleRate;
}