standardized-audio-context
Version:
A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.
7 lines • 343 B
JavaScript
export const assignNativeAudioNodeAudioParamValue = (nativeAudioNode, options, audioParam) => {
const value = options[audioParam];
if (value !== undefined && value !== nativeAudioNode[audioParam].value) {
nativeAudioNode[audioParam].value = value;
}
};
//# sourceMappingURL=assign-native-audio-node-audio-param-value.js.map