nvidia-riva / nvidia-riva/cpp-clients

Microphone problem when attempting real-time SST conversion

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
41
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Hi , I have this issue. I’m following the Riva client ASR, which runs successfully for examples that work with the direct [name].wav file.

Now, I’m trying to execute the “riva_streaming_asr_client” version to use the microphone and get live results as I speak, but I’m encountering this error:

COMMAND
./bazel-bin/riva/clients/asr/riva_streaming_asr_client --audio_device=hw:1,0

ANSWER/ERROR
I0117 19:51:01.987900 14380 grpc.h:94] Using Insecure Server Credentials
latency 100000
ALSA lib pcm.c:8664:(snd_pcm_set_params) Rate doesn’t match (requested 16000Hz, get 44100Hz)
snd_pcm_set_params error: Invalid argument
Error opening capture device hw:1,0

Could you please help me?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported riva_streaming_asr_client command and reproduce the ALSA capture error using hw:1,0. Compare the requested 16000 Hz rate with the device's available capture settings; done means the selected microphone opens and produces live results, or the supported device/rate limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
audio-video-rtc, cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.