@grame/faustwasm 0.3.0 → 0.3.1

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.
@@ -1285,7 +1285,7 @@ export declare class FaustAudioWorkletNode<Poly extends boolean = false> extends
1285
1285
  protected fDescriptor: FaustUIInputItem[];
1286
1286
  constructor(context: BaseAudioContext, name: string, factory: LooseFaustDspFactory, options: FaustAudioWorkletNodeOptions<Poly>["processorOptions"], nodeOptions?: Partial<FaustAudioWorkletNodeOptions>);
1287
1287
  /** Setup accelerometer and gyroscope handlers */
1288
- listenMotion(): Promise<void>;
1288
+ listenSensors(): Promise<void>;
1289
1289
  setOutputParamHandler(handler: OutputParamHandler | null): void;
1290
1290
  getOutputParamHandler(): OutputParamHandler | null;
1291
1291
  setComputeHandler(handler: ComputeHandler | null): void;
@@ -1348,7 +1348,7 @@ export declare class FaustScriptProcessorNode<Poly extends boolean = false> exte
1348
1348
  protected fOutputs: Float32Array[];
1349
1349
  init(instance: Poly extends true ? FaustPolyWebAudioDsp : FaustMonoWebAudioDsp): void;
1350
1350
  /** Setup accelerometer and gyroscope handlers */
1351
- listenMotion(): Promise<void>;
1351
+ listenSensors(): Promise<void>;
1352
1352
  compute(input: Float32Array[], output: Float32Array[]): boolean;
1353
1353
  setOutputParamHandler(handler: OutputParamHandler): void;
1354
1354
  getOutputParamHandler(): OutputParamHandler | null;
@@ -9694,7 +9694,7 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
9694
9694
  }
9695
9695
  // Public API
9696
9696
  /** Setup accelerometer and gyroscope handlers */
9697
- async listenMotion() {
9697
+ async listenSensors() {
9698
9698
  if (this.hasAccInput) {
9699
9699
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
9700
9700
  if (!accelerationIncludingGravity)
@@ -9952,7 +9952,7 @@ export default ${(_b = jsCode.match(jsCodeHead)) == null ? void 0 : _b[1]};
9952
9952
  }
9953
9953
  // Public API
9954
9954
  /** Setup accelerometer and gyroscope handlers */
9955
- async listenMotion() {
9955
+ async listenSensors() {
9956
9956
  if (this.hasAccInput) {
9957
9957
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
9958
9958
  if (!accelerationIncludingGravity)