-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
ovos-microphone-plugin-alsa/ovos_microphone_plugin_alsa/__init__.py
Lines 27 to 30 in 6e0e6a0
| @dataclass | |
| class AlsaMicrophone(Microphone): | |
| device: str = "default" | |
| period_size: int = 1024 |
The defined (hardcoded) chunk_size is a function of periods # * period_size.
eg. in our case 4096 (chunk_size) = 4 (periods) * 1024 (period_size)
So, either make all configurable, or, as i would suggest none of them as it requires too much insight.
But maybe someone with greater knowledge in sound processing should chip in about period size
Metadata
Metadata
Assignees
Labels
No labels