Hi,
The thing that gets most people is that for any client to connect to
JACK, it has to be run as the same user (there might be some voodoo to
get around this but I could never figure it out).
Try letting qjackctl start the JACK server. If that starts you're 90%
of the way there. Make sure you set the right sample rate for your
card. You might also find that you have to increase the frames/period
and the periods/buffer settings but usually the defaults work fine.
Also pay attention to what hardware JACK is using, default is usually
sound device hw:0 which may not be the one you want to use (it does
respect the default set in ALSA so check out alsamixer first).
If it still refuses to start, try leaving your mobo sound card as
default so that any system sound grabs those devices and then set JACK
to your broadcast card (probably hw:1 or above).
If you can get JACK "started" thats the point to try firing up the Riv
daemons. Be aware that they usually have the super user bit set (rws vs
rwx) which means they run as root and won't be able to connect to JACK.
To be sure, run rdalsaconfig and remove all devices from Active (you
don't want it to use a real sound card, only JACK). Then chmod -s caed
ripcd rdcatchd (should be in /usr/local/bin however this is debian info
so not sure about centos).
After that just stop the daemons and run them manually:
killall caed ripcd rdcatchd
/usr/local/bin/caed &
/usr/local/bin/ripcd &
/usr/local/bin/rdcatchd &
At this point you should see rivendell_0 appear in qjackctl connections
panel.
If you get this far you might find stuff stops working after a reboot
but theres no point trying to explain that until you get that far.
On 2014-08-09 16:39, John Davis wrote:
If there is something already written on this topic, please forgive
me, but Ive searched archives, Ive found all kinds of outdated
information, Ive read Waynes Debian guide (which doesnt quite match
up
with CentOS) and Im still running into brick walls.
I had been planning to avoid JACK because everything I have read says
its frustrating, but its becoming clear that if I want my metadata
with my stream I should stream and playout from the same box. Im
interested in trying out Glass Coder to do this. So Im trying to
learn
JACK so I can get to that step.
Heres the setup: Dual core workstation with the Rivendell appliance
DVD. RD updated to current (2.9). I installed QJackCtl. Currently I
have the built-in soundcard (HDA Intel) only on this machine.
I have gone into RDAlsaConfig and moved the HDA entries out of the
Active box.
I have gone into RD Admin/JACK Settings and checked Start JACK
Server.
On the JACK Command line I have /usr/bin/jackd -R -dalsa -dhw:0
-r4800
-p256 -n3 (which from what I can tell from documentation are the
arguments that go along with the sound card).
When I start any Rivendell application, I get meters and audio plays,
but I cant hear it. When I look in Audio Resources, I see under Audio
Adapters, card ) is JACK with 8 inputs and 8 outputs. Audio Ports
reports that card 0 is JACK.
This makes me think that JACK is running, but nothing is patched to
where I can hear it.
So, I fire up QJackCtl to use the patchbay. It doesnt think JACK is
running and says it cant start up.
I feel like Im getting close, but Im not sure what I should poke at
next. Brain trust, where have I gone wrong?
Thanks,
John
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev