Hi longfan an
you set for AudioProcessingOptions
is correct. The AudioProcessingOptions.create
method expects two parameters: flags
and geometry
. In your case, operate
is the flags parameter, and PresetMicrophoneArrayGeometry.Mono
is the geometry parameter. Make sure that these parameters are appropriate for your use case.
and also check that the path to your audio file (/output.wav
) is correct and that the file exists withe same typo.this maybe one of the reasons, that might cause the code to freeze.
If you found this answer useful kindly accept thanks much