@grame/faustwasm 0.6.3 → 0.7.0

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.
@@ -1296,8 +1296,11 @@ export declare class FaustAudioWorkletNode<Poly extends boolean = false> extends
1296
1296
  protected fUICallback: UIHandler;
1297
1297
  protected fDescriptor: FaustUIInputItem[];
1298
1298
  constructor(context: BaseAudioContext, name: string, factory: LooseFaustDspFactory, options?: Partial<FaustAudioWorkletNodeOptions<Poly>>);
1299
+ private handleDeviceMotion;
1300
+ private handleDeviceOrientation;
1299
1301
  /** Setup accelerometer and gyroscope handlers */
1300
- listenSensors(): Promise<void>;
1302
+ startSensors(): Promise<void>;
1303
+ stopSensors(): void;
1301
1304
  setOutputParamHandler(handler: OutputParamHandler | null): void;
1302
1305
  getOutputParamHandler(): OutputParamHandler | null;
1303
1306
  setComputeHandler(handler: ComputeHandler | null): void;
@@ -1360,8 +1363,11 @@ export declare class FaustScriptProcessorNode<Poly extends boolean = false> exte
1360
1363
  protected fInputs: Float32Array[];
1361
1364
  protected fOutputs: Float32Array[];
1362
1365
  init(instance: Poly extends true ? FaustPolyWebAudioDsp : FaustMonoWebAudioDsp): void;
1366
+ private handleDeviceMotion;
1367
+ private handleDeviceOrientation;
1363
1368
  /** Setup accelerometer and gyroscope handlers */
1364
- listenSensors(): Promise<void>;
1369
+ startSensors(): Promise<void>;
1370
+ stopSensors(): void;
1365
1371
  compute(input: Float32Array[], output: Float32Array[]): boolean;
1366
1372
  setOutputParamHandler(handler: OutputParamHandler): void;
1367
1373
  getOutputParamHandler(): OutputParamHandler | null;