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

Jabra 410 and Raspberry Pi Zero 2W - high pitch issue #263

Open
mateuszbieniek opened this issue Jan 9, 2025 · 2 comments
Open

Jabra 410 and Raspberry Pi Zero 2W - high pitch issue #263

mateuszbieniek opened this issue Jan 9, 2025 · 2 comments

Comments

@mateuszbieniek
Copy link

mateuszbieniek commented Jan 9, 2025

Hello! I'm setting up my own Wyoming Satellite but run into an issue with Jabra 410 (and Raspberry Pi Zero 2W):

My wake word ("Alexa" for testing purposes) is waking up the device, but no commands are recognized, and the service is just timing out.
When I run the test recording with:

arecord -D plughw:CARD=USB,DEV=0 -r 16000 -c 1 -f S16_LE -t wav -d 5 test.wav

And play it back with

aplay -D plughw:CARD=USB,DEV=0 -r 22050 -c 1 test.wav

My voice is extremely high-pitched and speeds up, probably causing a speech-to-text failure.
My configuration is:

[Service]
Type=simple
ExecStart=/home/majzok/wyoming-satellite/script/run \
  --name 'Speaker1' \
  --uri 'tcp://[0.0.0.0:10700](http://0.0.0.0:10700/)' \
  --mic-command 'arecord -D plughw:CARD=USB,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' \
  --snd-command 'aplay -D plughw:CARD=USB,DEV=0 -r 22050 -c 1 -f S16_LE -t raw' \
  --awake-wav sounds/awake.wav \
  --done-wav sounds/done.wav
WorkingDirectory=/home/majzok/wyoming-satellite
Restart=always
RestartSec=1

To my knowledge Jabra 410 is a quite popular choice, maybe someone ran into a similar issue and can share their working configuration with me?

I would really appreciate it :)

@mateuszbieniek mateuszbieniek changed the title High pitch issue with Jabra 410 and Raspberry Pi Zero 2W - high pitch issue Jan 9, 2025
@KennethLavrsen
Copy link

I totally forgot this. I had promissed to share my config to Mateusz

This is my systemd service file

[Unit]
Description=Wyoming Satellite
Wants=network-online.target
After=network-online.target
Requires=wyoming-openwakeword.service

[Service]
Type=simple
ExecStart=/home/kjl/wyoming-satellite/script/run \
  --name 'Wyoming Satellite Office' \
  --uri 'tcp://0.0.0.0:10700' \
  --mic-command 'arecord -D plughw:CARD=USB,DEV=0 -r 16000 -c 1 -f S16_LE -t raw' \
  --snd-command 'aplay -D plughw:CARD=USB,DEV=0 -r 22050 -c 1 -f S16_LE -t raw' \
  --snd-volume-multiplier 0.7 \
  --no-zeroconf \
  --mic-auto-gain 1 \
  --mic-noise-suppression 2 \
  --mic-volume 0.4 \
  --wake-uri 'tcp://127.0.0.1:10400' \
  --wake-word-name 'hey_jarvis' \
  --awake-wav sounds/awake.wav
#  --debug
WorkingDirectory=/home/kjl/wyoming-satellite
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

Note that I have commented out the debug

And for the wake word the service is

#Threshold default is 0.5 - range is 0 to 1
#Triggerlevel number of activations before detection - default is 1
[Unit]
Description=Wyoming openWakeWord

[Service]
Type=simple
ExecStart=/home/kjl/wyoming-openwakeword/script/run \
   --uri 'tcp://0.0.0.0:10400' \
   --preload-model 'hey_jarvis' \
   --threshold 0.95 \
   --trigger-level 3
#   --debug
WorkingDirectory=/home/kjl/wyoming-openwakeword
Restart=always
RestartSec=1

[Install]
WantedBy=default.target

@mateuszbieniek
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants