()
| 33 | }; |
| 34 | |
| 35 | export const isScriptProcessorNodeSupported = () => { |
| 36 | const audioContext = WebkitAudioContext(); |
| 37 | return ( |
| 38 | typeof audioContext !== "undefined" && |
| 39 | typeof audioContext.prototype.createScriptProcessor !== "undefined" |
| 40 | ); |
| 41 | }; |
| 42 | |
| 43 | export const csoundApiRename = (apiName) => { |
| 44 | let minusCsound = apiName.replace(/^csound/i, ""); |
no test coverage detected