"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapAudioParam = void 0;
const _1 = require("../Class/$");
function wrapAudioParam(audioParam, system) {
    return new (class Node extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['AN'];
        }
        read() {
            return Promise.resolve(audioParam.value);
        }
        write(data) {
            audioParam.value = data;
            return;
        }
    })(system);
}
exports.wrapAudioParam = wrapAudioParam;
//# sourceMappingURL=AudioParam.js.map