Skip to content

Add microphone audio preprocessing #48

@brownard

Description

@brownard

The app should try and take advantage of hardware noise suppression and acoustic echo cancellation available on Android devices to improve wake word responsiveness, e.g. when playing media or sound effects. This will help to address #20, #28, and #30.

Currently I haven't been able to get consistent results, manually enabling the processing effects doesn't seem to do anything on the devices I've tested (Samsung Galaxy S9 and Lenovo M10 Tab), instead the enabling of effects seems to only be determined by the AudioSource used by the AudioRecord. Using a source of VOICE_COMMUNICATION gives the best voice isolation but has its own issues, see comment in the debug implementation here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions