@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;
@@ -9649,7 +9649,7 @@ var FaustAudioWorkletNode = class extends (globalThis.AudioWorkletNode || null)
9649
9649
  }
9650
9650
  // Public API
9651
9651
  /** Setup accelerometer and gyroscope handlers */
9652
- async listenMotion() {
9652
+ async listenSensors() {
9653
9653
  if (this.hasAccInput) {
9654
9654
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
9655
9655
  if (!accelerationIncludingGravity)
@@ -9907,7 +9907,7 @@ var FaustScriptProcessorNode = class extends (globalThis.ScriptProcessorNode ||
9907
9907
  }
9908
9908
  // Public API
9909
9909
  /** Setup accelerometer and gyroscope handlers */
9910
- async listenMotion() {
9910
+ async listenSensors() {
9911
9911
  if (this.hasAccInput) {
9912
9912
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
9913
9913
  if (!accelerationIncludingGravity)