moony
Posts: 32
Joined: Sat Sep 08, 2012 5:28 pm

Re: Rassberry Pi and Jack audio

Sun Feb 03, 2013 1:22 am

I've missed Jannis post!

Code: Select all

- Install jack from "jack2"-branch (was jack-dmp) (for example jack-1.9.8)
- Run jack using the "dummy"-driver without realtime: "jackd -r -p 8 -d dummy". Channel count doesn't really matter since we won't be using them! We limit the ports to 8 to limit memory-usage but feel free to increase this value.
- Run alsa_out with lowest possible quality-setting (keep CPU-usage low): alsa_out -q 0 -v
jackd 1.9.9 from repository is running! :)

User avatar
AutoStatic
Posts: 326
Joined: Tue Jan 01, 2013 10:27 pm
Contact: Website

Re: Rassberry Pi and Jack audio

Sun Feb 03, 2013 9:36 am

moony wrote:@AutoStatic: jack2 git commit:95a1162d6aecc91882e4d8b01ba7fb12f6d29d1c

with the binary packages, you've posted, I get also errors.

As normal user: "jackd -r -d dummy" or "jackd -r -d alsa" I get "bus error".
That shouldn't happen. Those packages contain a patched Jack2 with the cause of the bus error removed (packed structs removed). You're sure you're using the JACK binary from my package? You don't have any other JACK installs on your RPi?
moony wrote:Same commands with sudo: "Cannot lock down 82278944 byte memory area (Cannot allocate memory)" for both.

Code: Select all

sudo mount -o remount,size=128M /dev/shm
RPi and real-time, low-latency audio: http://wiki.linuxaudio.org/wiki/raspberrypi
RPi audio repository: http://rpi.autostatic.com/
RPi and audio blog: https://autostatic.com/tag/raspberrypi/

Mr_LinDowsMac
Posts: 8
Joined: Mon Jun 10, 2013 5:49 am

Re: Rassberry Pi and Jack audio

Sun Jun 16, 2013 4:43 am

This was taken from http://wiki.linuxaudio.org/wiki/raspberrypi :
"The on-board chipset of the RPi has quite some limitations unfortunately. It only does playback and the ALSA driver for this chipset lacks MMAP support so it's unusable with JACK directly. You can use JACK with the on-board chipset but only with the ALSA loopback device or the JACK dummy driver together with the alsa_out utility. This does introduce additional latency."
However, the lastest Raspbian image now has "Native mmap support in the bcm2835 ALSA driver, and numerous other firmware changes".

Have anyone test this out again?

User avatar
Paul Webster
Posts: 801
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: Rassberry Pi and Jack audio

Sun Jun 16, 2013 7:07 am

See the other thread - has more info about testing since MMaP added including changes to Jack.
http://www.raspberrypi.org/phpBB3/viewt ... &start=100

rbn
Posts: 137
Joined: Tue Dec 27, 2011 8:32 pm
Location: Near Peterborough
Contact: Website

Re: Rassberry Pi and Jack audio

Sat Mar 21, 2015 11:11 am

THis is an old thread, but I wonder if there is anyone out there who can help with adding mmap support to the driver for the IQAudiO Pi-DAC+ card which connects via the i2s bus.
I would like to use this with Sonic PI, but it won't connect via jackd because it doesn't support mmap.

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Rassberry Pi and Jack audio

Sun Mar 22, 2015 10:46 pm

I found myself in the same situation a while ago with the Cirrus Logic Audio Card, which is an i2s card too.
I have made a small change in the kernel code to enable mmap support for my card.

I don't own the IQAudiO, but since my patch is in the common i2s code, you might want to try it.

You can download a 3.18.9 kernel with my patch from here: https://drive.google.com/file/d/0BzIaxM ... sp=sharing

Install it with

Code: Select all

sudo dpkg -i linux-image-3.18.9-v7i2smmap_3.18.9-v7i2smmap-4_armhf.deb
Insert the line

Code: Select all

kernel=vmlinuz-3.18.9-v7i2smmap
in /boot/config.txt
and reboot.

EDIT: Note, the above kernel is for the RPi2.
A kernel for older Pis: https://drive.google.com/file/d/0BzIaxM ... sp=sharing
Put

Code: Select all

kernel=vmlinuz-3.18.9i2smmap
in /boot/config.txt for this one.
--
Ragnar

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sun May 03, 2015 7:11 pm

I'm running arch, but was able to unpack this and place it on my system and I now get farther with jack. It looks like it is up and waiting. Now to figure out how to send it a signal and see how it works.

Code: Select all

~ # jackd -r -d alsa -d hw:0
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd 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

could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Has this been reported somewhere so that it gets into the upstream kernel? What modification was done?

Gearhead

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Rassberry Pi and Jack audio

Sun May 03, 2015 7:48 pm

gearhead wrote:Has this been reported somewhere so that it gets into the upstream kernel?
No, not yet. I'm waiting on a couple of testers to make sure that it doesn't break other things.
What modification was done?

Code: Select all

--- a/sound/soc/bcm/bcm2708-i2s.c
+++ b/sound/soc/bcm/bcm2708-i2s.c
@@ -871,8 +871,13 @@
 };
 
 static const struct snd_pcm_hardware bcm2708_pcm_hardware = {
-       .info                   = SNDRV_PCM_INFO_INTERLEAVED |
-                                 SNDRV_PCM_INFO_JOINT_DUPLEX,
+       .info                    = SNDRV_PCM_INFO_MMAP |
+                                  SNDRV_PCM_INFO_MMAP_VALID |
+                                  SNDRV_PCM_INFO_INTERLEAVED |
+                                  SNDRV_PCM_INFO_PAUSE |
+                                  SNDRV_PCM_INFO_RESUME |
+                                  SNDRV_PCM_INFO_JOINT_DUPLEX |
+                                  SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
        .formats                = SNDRV_PCM_FMTBIT_S16_LE |
                                  SNDRV_PCM_FMTBIT_S24_LE |
                                  SNDRV_PCM_FMTBIT_S32_LE,
--
Ragnar

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Thu May 07, 2015 2:12 am

If you could guide me through how I could send something form my ubuntu taptop (pulseaudio) via jackd to my pi, I would appreciate it. I cna get my pi listening by running:

Code: Select all

# jackd -R -d net
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd 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

could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
loading driver ..
creating net driver ... net_pcm|48000|1024|3000|2|2|transport_sync:1
I just do not know how to configure, for example rhythmbox, to send it the signal. With some help we could then get this into the repo for upstream incorporation.

Gearhead

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 1:33 pm

Ok, so I did a lot more reading and think it is hooked up correctly.

On the Pi, I run:

Code: Select all

 # jackd -R -d net
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd 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

could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
loading driver ..
creating net driver ... net_pcm|48000|1024|3000|2|2|transport_sync:1
AutoConfig Override !!!
MTU is set to 1400 bytes
netjack: period   : up: 1024 / dn: 1024
netjack: framerate: 48000
netjack: audio    : cap: 2 / pbk: 2)
netjack: midi     : cap: 1 / pbk: 1)
netjack: buffsize : rx: 12344)
netxruns amount: 21ms
netxruns amount: 767ms
And on the laptop I run:

Code: Select all

 jack_netsource -H 192.168.2.191
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Connected :-)
netjack: at frame 000046 -> total netxruns 1  (2%) queue time= 84992
netjack: at frame 000093 -> total netxruns 48  (51%) queue time= 84992
Not Connected
current latency 25
Connected :-)
netjack: at frame 000186 -> total netxruns 1  (0%) queue time= 85234
netjack: at frame 000327 -> total netxruns 33  (10%) queue time= 17
Not Connected
current latency 23
Connected :-)
netjack: at frame 000421 -> total netxruns 1  (0%) queue time= 21280
netjack: at frame 000468 -> total netxruns 39  (8%) queue time= 85411
netjack: at frame 000608 -> total netxruns 48  (7%) queue time= 21494
netjack: at frame 000655 -> total netxruns 95  (14%) queue time= 21494
netjack: at frame 000702 -> total netxruns 120  (17%) queue time= 85313
netjack: at frame 000843 -> total netxruns 157  (18%) queue time= 21287
netjack: at frame 000890 -> total netxruns 201  (22%) queue time= 85441
netjack: at frame 001030 -> total netxruns 219  (21%) queue time= 85302
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
netjack: at frame 001077 -> total netxruns 266  (24%) queue time= 85302
netjack: at frame 001124 -> total netxruns 293  (26%) queue time= 21526
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
netjack: at frame 001171 -> total netxruns 310  (26%) queue time= 85377
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = netjack was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
netjack: at frame 001218 -> total 
Then on the laptop, I run qjackctl and audacious

In qjackctl, I connect the outputs and inputs on the patchbay then hit run.

In audacious, I select a file and start playing. I get a lot of text in both terminals, but no sound comes out the speakers. I have verified that audacious will play on the laptop speakers when I select the pulseaudio output (I'm running the jack output for this test) and also that mpd will play over the speakers on the pi.

Pi:

Code: Select all

...
netxruns amount: 21ms
netxruns amount: 21ms
netxruns amount: 21ms
netxruns amount: 21ms
...
Laptop:

Code: Select all

...
Connected :-)
netjack: at frame 000186 -> total netxruns 1  (0%) queue time= 42812
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = netjack was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = netjack was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = netjack was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
netjack: at frame 000233 -> total netxruns 23  (9%) queue time= 85336
netjack: at frame 002624 -> total netxruns 27  (1%) queue time= 63976
netjack: at frame 002671 -> total netxruns 74  (2%) queue time= 63976
netjack: at frame 002718 -> total netxruns 108  (3%) queue time= 85383
netjack: at frame 002952 -> total netxruns 111  (3%) queue time= 85221
...
Stumped.

Anyone see what I am doing wrong?

Gearhead

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 2:09 pm

Oh, I just tried this again. When I select jack as the output in audacious, I notice that the file is not playing (time is not running) so, this could still be a laptop problem... Grrrr. Anyone have any ideas? I am not married to audacious, but just want to try to send some sound over Jack...

Keith

jannis
Posts: 56
Joined: Tue Jan 17, 2012 3:48 pm

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 2:35 pm

Hi Keith,

are you using a wireless or wired connection? If wifi, can you try a wired connection first? Jack transfers raw audio which means it is pretty heavy on the bandwidth, especially on the Pi. Maybe you can use jack2 (versions 1.9.X)? The network audio works completely different there and should be more reliable. Furthermore, it can use the Opus codec to compress the audio stream and save bandwidth.

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 7:22 pm

The pi is on a hard wire. I put the laptop on a hard wire as well. It is a bit different, but still audacity does not play. The timer does not increment up when I hit play.
I'll try jack2 next.

Pi:

Code: Select all

 # jackd -R -d net
jackd 0.124.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd 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

could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
loading driver ..
creating net driver ... net_pcm|48000|1024|3000|2|2|transport_sync:1
AutoConfig Override !!!
MTU is set to 1400 bytes
netjack: period   : up: 1024 / dn: 1024
netjack: framerate: 48000
netjack: audio    : cap: 2 / pbk: 2)
netjack: midi     : cap: 1 / pbk: 1)
netjack: buffsize : rx: 12344)

Laptop:

Code: Select all

~$ jack_netsource -H 192.168.2.191
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Connected :-)
netjack: at frame 000046 -> total netxruns 1  (2%) queue time= 85422

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 7:42 pm

Installed Jack2 (turns out that is what was installed on the laptop (1.9.10)

Tried again Pi:

Code: Select all

jackd -R -d netone
jackdmp 1.9.10
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
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
NetOne driver started
AutoConfig Override !!!
AutoConfig Override: capture_channels_audio = 2
AutoConfig Override: capture_channels_midi = 1
AutoConfig Override: playback_channels_audio = 2
AutoConfig Override: playback_channels_midi = 1
MTU is set to 1400 bytes
laptop:

Code: Select all

$ jack_netsource -H 192.168.2.191
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
JackClient::AcquireSelfRealTime error
Connected :-)
netjack: at frame 000046 -> total netxruns 1  (2%) queue time= 85414
Still nothing in Audacious. I click play and it does not increment like it is playing anything. qjackctl still shows connected. I think it is something on the laptop end... but what?

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: Rassberry Pi and Jack audio

Sat May 09, 2015 9:37 pm

I participated in this thread: viewtopic.php?f=41&t=78185&p=696859 where I show how to route audio between two RPis with jack2.

You mentioned rhythmbox earlier. AFAIK it uses gstreamer. There's a page about gstreamer and jack here: http://jackaudio.org/faq/gstreamer_via_jack.html
--
Ragnar
Last edited by ragnarjensen on Thu May 14, 2015 9:41 pm, edited 1 time in total.

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Mon May 11, 2015 3:33 pm

And as expected, something does not work on my pis. I tried your suggestion and get some of the way there, but I notice that the Jack2 package under Arch comes pre-compiled with dbus. I am not running a wm, so this is a bit of overkill. Even though, I tried it using 'dbus-launch jack ....' and still get nothing. I am compiling jack2 without dbus (have no idea how long this will take) and will try again.

My 'master' is a pi running MPD and my slave is a pi also running MPD, but it seems to be waiting for some audio (I cannot start mpd when jackdmp is running and need to kill all jack processes to get MPD running again). My test will be to have the one pi running mpd send its output to the other pi with the hifiberry and speakers. I'll see how long this will take to compile..

Thanks for the help.

Keith

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Tue May 12, 2015 1:53 pm

I built Jack2 w/o dbus and installed it on both my pis. Tried again. Now I do not have to do the dbus_launch, but still nothing connects. The error I am getting is on the patching. The jack_connect does not work. I guess I am doing something wrong with that command, but do not exactly understand what.

On my server:

Code: Select all

 # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
On my slave:

Code: Select all

 # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
My patch command:

Code: Select all

# jack_connect system:capture_1 living_rune:to_slave_1 && jack_connect system:capture_2 living_rune:to_slave_2
I do all of this and even without log files (multiple terminal screens to see what is going on) I get nothing.

On the master running MPD:

Code: Select all

# jackd -R -d alsa -r 44100 -P hw:0 -C hw:0 -i 2 -S
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 10
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:0|hw:0|1024|2|44100|2|0|nomon|swmeter|-|16bit
ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
Starting Jack NetManager
Listening on '225.3.19.154:19000'
Takes physical 2 audio input(s) for slave
Takes physical 2 audio output(s) for slave
Takes physical 0 MIDI input(s) for slave
Takes physical 0 MIDI output(s) for slave
Sending parameters to living_rune...
Synching with latency = 0
New NetMaster started
**************** Network parameters ****************
Name : living_rune
Protocol revision : 8
MTU : 1500
Master name : garage_rune
Slave name : living_rune
ID : 1
Transport Sync : no
Send channels (audio - midi) : 2 - 0
Return channels (audio - midi) : 2 - 0
Sample rate : 44100 frames per second
Period size : 1024 frames per period
Network latency : 5 cycles
SampleEncoder : Float
Slave mode : async
****************************************************
Waiting for a slave...
Synching with latency = 1
Synching with latency = 2
Synching with latency = 3
Synching with latency = 4
On the slave:

Code: Select all

jackd -R -d net
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 10
self-connect-mode is "Don't restrict self connect requests"
NetDriver started in async mode without Master's transport sync.
Waiting for a master...
Initializing connection with garage_rune...
**************** Network parameters ****************
Name : living_rune
Protocol revision : 8
MTU : 1500
Master name : garage_rune
Slave name : living_rune
ID : 1
Transport Sync : no
Send channels (audio - midi) : 2 - 0
Return channels (audio - midi) : 2 - 0
Sample rate : 44100 frames per second
Period size : 1024 frames per period
Network latency : 5 cycles
SampleEncoder : Float
Slave mode : async
****************************************************
and the delay is consistently:
delay = =230...

Any help appreciated.

Gearhead

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Thu May 14, 2015 1:43 am

so,even when I set the output to the basic rpi analog out, still nothing. I also notice that the master, after I execute the jack commands, still plays audio from MPD out its speakers and nothing is sent to the other rpi...

Am I using the correct command from the master? I want to direct its output to my slave (living_rune).

Trying again, it sure looks like all is set up and running. Am I missing anything? Regardless, the MPD or even mpg123 output never reaches the slave (with the speakers). Total silence.

Code: Select all

Waiting for a slave...
Takes physical 0 audio input(s) for slave
Takes physical 2 audio output(s) for slave
Takes physical 0 MIDI input(s) for slave
Takes physical 0 MIDI output(s) for slave
Sending parameters to living_rune...
New NetMaster started
**************** Network parameters ****************
Name : living_rune
Protocol revision : 8
MTU : 1500
Master name : garage_rune
Slave name : living_rune
ID : 2
Transport Sync : no
Send channels (audio - midi) : 0 - 0
Return channels (audio - midi) : 2 - 0
Sample rate : 48000 frames per second
Period size : 1024 frames per period
Network latency : 5 cycles
SampleEncoder : Float
Slave mode : async
****************************************************
Waiting for a slave...
Synching with latency = 0
Synching with latency = 1
Synching with latency = 2
Synching with latency = 3
Synching with latency = 4

Gearhead

gearhead
Posts: 26
Joined: Tue Sep 11, 2012 1:45 pm

Re: Rassberry Pi and Jack audio

Sun May 24, 2015 10:55 pm

Just trying this on my pi2 today. THe first thing I notice is that something is messed up somehow. With the previous kernel, 3.18.7, I have hardware volume control on my PCM5122. With this kernel, I have no hardware volume control, only software, with MPD.

I'll install jack2 and see if this functions with Jack.

Edit, I cannot install Jack2 with this kernel. I'll try installing with the previous and then switching to this kernel...

Keith

sweetiepie
Posts: 5
Joined: Mon Mar 06, 2017 7:39 am

Re: Rassberry Pi and Jack audio

Mon Apr 10, 2017 8:09 am

Hi,

I see this is quite an old post.

I am using a Raspberry Pi 3 model B, in an organ console. I am running virtual organ software on it, called jOrgan, by Sven Meyer. In my setup, jOrgan uses Fluid synth as a sound generator. That is why I need to run Jack, because I would like to load more than one soundfont at a time, as this is what my organ requires. I can play with a single soundfont, and it is awsome. however, in order to use more than one soundfont, I would need to use Jack. In Jesse, Jack is per-installed, you just need to make it show up in the 'Main menu editor'. I've done that. I can see my outputs from the 3 sound fonts, and they connect to the Audio card's outputs beautifully, but I do not hear any sound.

Any advice will be appreciated.

Brain.

ZipSnipe
Posts: 26
Joined: Wed Dec 06, 2017 4:02 pm

Re: Rassberry Pi and Jack audio

Thu Dec 28, 2017 9:13 am

So I found this patch for the bug with arm processors

https://github.com/jackaudio/jack2/comm ... 1de6e7aa0d

But I have no clue how to use this patch or install it, any commands someone could provide would be awesome.

Return to “Other projects”