@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.
@@ -1278,7 +1278,7 @@ export declare class FaustAudioWorkletNode<Poly extends boolean = false> extends
1278
1278
  protected fDescriptor: FaustUIInputItem[];
1279
1279
  constructor(context: BaseAudioContext, name: string, factory: LooseFaustDspFactory, options: FaustAudioWorkletNodeOptions<Poly>["processorOptions"], nodeOptions?: Partial<FaustAudioWorkletNodeOptions>);
1280
1280
  /** Setup accelerometer and gyroscope handlers */
1281
- listenMotion(): Promise<void>;
1281
+ listenSensors(): Promise<void>;
1282
1282
  setOutputParamHandler(handler: OutputParamHandler | null): void;
1283
1283
  getOutputParamHandler(): OutputParamHandler | null;
1284
1284
  setComputeHandler(handler: ComputeHandler | null): void;
@@ -1341,7 +1341,7 @@ export declare class FaustScriptProcessorNode<Poly extends boolean = false> exte
1341
1341
  protected fOutputs: Float32Array[];
1342
1342
  init(instance: Poly extends true ? FaustPolyWebAudioDsp : FaustMonoWebAudioDsp): void;
1343
1343
  /** Setup accelerometer and gyroscope handlers */
1344
- listenMotion(): Promise<void>;
1344
+ listenSensors(): Promise<void>;
1345
1345
  compute(input: Float32Array[], output: Float32Array[]): boolean;
1346
1346
  setOutputParamHandler(handler: OutputParamHandler): void;
1347
1347
  getOutputParamHandler(): OutputParamHandler | null;
@@ -3647,7 +3647,7 @@ var FaustAudioWorkletNode = class extends (globalThis.AudioWorkletNode || null)
3647
3647
  }
3648
3648
  // Public API
3649
3649
  /** Setup accelerometer and gyroscope handlers */
3650
- async listenMotion() {
3650
+ async listenSensors() {
3651
3651
  if (this.hasAccInput) {
3652
3652
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
3653
3653
  if (!accelerationIncludingGravity)
@@ -3905,7 +3905,7 @@ var FaustScriptProcessorNode = class extends (globalThis.ScriptProcessorNode ||
3905
3905
  }
3906
3906
  // Public API
3907
3907
  /** Setup accelerometer and gyroscope handlers */
3908
- async listenMotion() {
3908
+ async listenSensors() {
3909
3909
  if (this.hasAccInput) {
3910
3910
  const handleDeviceMotion = ({ accelerationIncludingGravity }) => {
3911
3911
  if (!accelerationIncludingGravity)