Johannes Wagner
Johannes Wagner
`opensmile` expects 32-bit float as input. You can use `process_file(file)` to directly process 16-bit PCM, though.
I checked and actually we forward `int16` to opensmile, so we need to bypass the following line: https://github.com/audeering/opensmile-python/blob/43042a8f00d85304c5c3c50e644083dadc29a4ed/opensmile/core/smile.py#L272
Unfortunately, support for multi-threading is still blocked by https://github.com/audeering/opensmile/issues/20. You can use multi-processing, though.
We have removed the option to select multi-threading and automatically switch to multi-processing when multiple workers are set. But it may still happen that a user writes own code where...
Did you try? ``` smile = Smile(..., num_workers=5) smile.process_files(files) ```
> Is there a way to disable multiprocessing all together? It's off by default since the default value for `num_workers` is 1.
Yes, it's a known bug and requires a fix for https://github.com/audeering/opensmile/issues/20
@agkphysics it's now available with version `2.4.1`. Just make sure to set `num_workers>1` and `multiprocessing=False`.
No, that is not possible.
Could you please be a little bit more specific what are the problems with those configuration files?