export class AudioClip {
    name;
    buffer;
    constructor(options) {
        this.name = options.name;
        this.buffer = options.buffer;
    }
    get duration() {
        return this.buffer.duration;
    }
    get channels() {
        return this.buffer.numberOfChannels;
    }
    get sampleRate() {
        return this.buffer.sampleRate;
    }
}
//# sourceMappingURL=AudioClip.js.map