Rikorose / DeepFilterNet

Noise supression using deep filtering
https://huggingface.co/spaces/hshr/DeepFilterNet2
Other
2.4k stars 223 forks source link

Using ladspa with mono input produces an error #543

Closed yo6nam closed 2 months ago

yo6nam commented 6 months ago

I'm trying to implement a noise reduction ladspa module (deep_filter_mono) in a software that uses a mono input/output. Using an Orange Pi Zero, Debian Bullseye, mono input. Here's the error

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `48000`,
 right: `16000`: Unsupported sample rate', ladspa/src/lib.rs:210:9
stack backtrace:
   0: 0xb2cd607c - <unknown>
   1: 0xb2b8e330 - <unknown>
   2: 0xb2caa6a8 - <unknown>
   3: 0xb2cd70b0 - <unknown>
   4: 0xb2cd6c70 - <unknown>
   5: 0xb2cd7c28 - <unknown>
   6: 0xb2cd7654 - <unknown>
   7: 0xb2cd75f8 - <unknown>
   8: 0xb2cd75e4 - <unknown>
   9: 0xb2b24080 - <unknown>
  10: 0xb2b243b8 - <unknown>
Aborted

I checked everything and I'm stuck. Using another module (https://github.com/werman/noise-suppression-for-voice) works fine but it's too aggressive. Any hints?

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.