2

I'm following the instructions here to run jackd on my headless Raspberry Pi 2 Model B. The only difference is that I'm using the standard packaged jackd instead of the autostatic ones mentioned because the autostatic packages are not available for Debian Stretch which is what I'm using.

But when I attempt to run jackd with jackd -P70 -p16 -t2000 -dalsa -dhw:0,0 -p128 -n3 -r44100 -s

I get the following:

jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 70
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... 
hw:0,0|hw:0,0|128|3|44100|0|0|nomon|swmeter|soft-mode|32bit
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to 
playback-only mode
configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 3 
periods
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: cannot set period size to 128 frames for playback
ALSA: cannot configure playback channel
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server

My question is how do I get jack to run on my Pi?

Here is my .asoundrc

pcm.!default {
     type hw
     card 0
}

ctl.!default {
     type hw
     card 0
}

So I'm now able to start jack using the following command line

jackd -P70 -p16 -t2000 -dalsa -n3 -r44100 -s

But when I attempt to use csound with csound score.csd I get the following error message:

 *** rtjack: buffer size (-B) is too small

In the csd file I have CsOptions set to

-odac -+rtaudio=jack

Contents of /etc/security/limits.d/audio.conf:

@audio   -  rtprio     95
@audio   -  memlock    unlimited
#@audio   -  nice      -19
arunkumar
  • 121
  • 6

0 Answers0