Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Workaround to get it working in the latest seeed-voicecard version #5

@anibarro

Description

@anibarro

Hi,

Thanks a lot for this awesome project. ALSA was not detecting the seeed-voicecard board in the recommended 3.0 version so, while someone figures out a proper fix, I found a workaround in the latest version for the rate converter and optionally for the JACK server error.

For the rate converter just look at the value set for AudioSampleRate in the file audio.go, should be 16000.

Edit the .asoundrc file and modify the dsnoop plugin adding the rate. Should look like this:
pcm.array { type dsnoop slave { pcm "hw:1,0" channels 2 rate 16000 } ipc_key 666666 }

No rate conversion should be needed now, so no more errors. The Gumble client is set to 16000hz and mono sound by default, I guess there wouldn't be a problem if you want to change this settings to improve audio quality.

It should work by now, but to get rid of the annoying JACK error, I've installed the JACK1 version because I've read that JACK2 is compiled for NEON instructions and gives problems with headless systems:
sudo apt-get install jackd1

Then run the service in the background and you are ready to test talkiepi:
jackd -r -d alsa -r 44100 &

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