Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to route microphone to noisetorch #411

Open
MiteshHiran opened this issue Aug 30, 2023 · 1 comment
Open

Unable to route microphone to noisetorch #411

MiteshHiran opened this issue Aug 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MiteshHiran
Copy link

Describe the bug
the nui_mic_remap is idle as there is no one listening to it and nui_mic_denoised_out.monitor goes to suspend state after timeout.
Would like to understand what configuration is needed to comment pulseaudio with echo cancel module to noisetorch.
Would like to understand if the connections I am doing is wrong or it's something to do with sampling frequency.

I am using Yocto Project Poky to build Linux and running on AM62xx TI processor which is ARM64. I am using Pulseaudio 13.0 version and downloaded noisetorch here and built on the hardware as per the documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Started Pulseaudio
  2. Running noisetorch with following command
    2a. '/home/root/noisetorch-build/NoiseTorch/bin/noisetorch -log -i -s "echoCancel_source" -t 60'
  3. $ sudo pactl list sources short
    0 alsa_output.platform-soundcard.stereo-fallback.monitor module-alsa-card.c s16le 2ch 44100Hz IDLE
    1 alsa_input.platform-soundcard.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz RUNNING
    2 echoCancel_source module-echo-cancel.c float32le 2ch 32000Hz RUNNING
    3 echoCancel_sink.monitor module-echo-cancel.c float32le 2ch 32000Hz IDLE
    4 nui_mic_denoised_out.monitor module-null-sink.c s16le 2ch 48000Hz RUNNING
    5 nui_mic_raw_in.monitor module-ladspa-sink.c float32le 2ch 48000Hz IDLE
    6 nui_mic_remap module-remap-source.c s16le 2ch 48000Hz IDLE
  4. $sudo pactl list sinks short
    0 alsa_output.platform-soundcard.stereo-fallback module-alsa-card.c s16le 2ch 44100Hz RUNNING
    1 echoCancel_sink module-echo-cancel.c float32le 2ch 32000Hz RUNNING
    2 nui_mic_denoised_out module-null-sink.c s16le 2ch 48000Hz RUNNING
    3 nui_mic_raw_in module-ladspa-sink.c float32le 2ch 48000Hz RUNNING

Expected behavior
Was hoping 'nui_mic_remap' to be running.

Logs
If applicable, add the link to a pastebin with the output of noisetorch -log and pactl list short.
pulseaudiolog.txt

Desktop (please complete the following information):

Additional context
This is an embedded system and we don't have any display for this system. So not using any X11 or similar.

Thanks

@MiteshHiran MiteshHiran added the bug Something isn't working label Aug 30, 2023
@MiteshHiran
Copy link
Author

Added PA info.
painfo.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant