Skip to content

Instantly share code, notes, and snippets.

@CrystalMethod
Forked from MarcTreySonos/snips-jackd.md
Created August 13, 2018 11:03
Show Gist options
  • Save CrystalMethod/c3e77547fa7fc3965a7c4c4dbe68b8db to your computer and use it in GitHub Desktop.
Save CrystalMethod/c3e77547fa7fc3965a7c4c4dbe68b8db to your computer and use it in GitHub Desktop.
Snips jackd configuration

TL;DR

Edit the file /etc/snips.toml, in the section snips-audio-server uncomment the line mike and change the name to be the jack source:

[snips-audio-server]
# frame = 256
# bind = "0.0.0.0:26300"
mike = "system"

By default the jack capture interface is named system.

raspbian stretch (desktop version)

In the example, we do have an usb microphone named CameraB409241.

Start the jack daemon using the capture device CameraB409241:

/usr/bin/jackd -dalsa   -Chw:CameraB409241 -r48000 -p1024 -n2 &

you can control jack with qjackctl:

qjackctl &

raspbian stretch (lite version)

if you go with the lite version you will have to start and configure dbus by hand

<allow own="org.freedesktop.ReserveDevice1.Audio0"/>
<allow own="org.freedesktop.ReserveDevice1.Audio1"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment