@grame/faust-web-component 0.2.31 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/faust-web-component.js +65 -60
- package/package.json +1 -1
- package/src/common.ts +2 -1
package/package.json
CHANGED
package/src/common.ts
CHANGED
@@ -24,7 +24,8 @@ async function loadFaust() {
|
|
24
24
|
}
|
25
25
|
|
26
26
|
export const faustPromise = loadFaust()
|
27
|
-
export const audioCtx = new AudioContext()
|
27
|
+
export const audioCtx = new AudioContext({ latencyHint: 0.00001 })
|
28
|
+
audioCtx.destination.channelInterpretation = "discrete";
|
28
29
|
|
29
30
|
export const deviceUpdateCallbacks: ((d: MediaDeviceInfo[]) => void)[] = []
|
30
31
|
let devices: MediaDeviceInfo[] = []
|