import { getInstance } from '../instance' ; import { WebAudioContext } from './WebAudioContext' ; memberof class WebAudioUtils { param param param value return public static setParamValue ( param , value ) { if ( param . setValueAtTime ) { const context = getInstance ( ) . context as WebAudioContext ; param . setValueAtTime ( value , context . audioContext . currentTime ) ; } else { param . value = value ; } return value ; } } export { WebAudioUtils } ;