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