Hi,
Yeah, I can get this to work with JACK just not ALSA directly. Its a
bit of an odd one, if I cat the hw_params of the ALSA devices I have
that work on another machine I can clearly see this line:
cat /proc/asound/card1/pcm0p/sub0/hw_params
format: S32_LE
Which maps nicely to 32bit Little Endian which is what is tried in CAED
first. On this USB device, it does advertise itself as a 24bit card. I
don't have the same info in hw_params but I have similar inside:
cat /proc/asound/card0/stream0
Format: S24_3LE
I'm wondering whether this is an oversight in the CAED code. I don't
understand the C++ calls very well but inside cae_alsa.cpp on line 1548
(github master) you have this function:
bool MainObject::AlsaStartPlayDevice(QString &dev,int card,snd_pcm_t *pcm)
A bit further down (line 1579 and 1584) you have these two tests (which
fails with the error):
if(snd_pcm_hw_params_test_format(pcm,hwparams,SND_PCM_FORMAT_S32_LE)==0) {
and
if(snd_pcm_hw_params_test_format(pcm,hwparams,SND_PCM_FORMAT_S16_LE)==0) {
These look like standard ALSA C Library functions and it effectively
checks for SND_PCM_FORMAT_S16/S32_LE on the card and returns 0 if it
does. Would I be correct in assuming Riv/Caed doesn't support 24bit cards?
Wayne Merricks
The Voice Asia
On 06/11/15 15:08, Lorne Tyndale wrote:
Wayne,
I havn't run into this type of issue using ALSA on a USB - the main
issue that I've run into with ALSA is needing to specify the sample rate
in /etc/asound.conf
But what I have run into with USB cards more often then not - when using
them with Jack, they often only work reliably if I add the 16-bit mode
flag at the end of the jackd line (the -S option), or the "force 16 bit"
check box if starting Jackd with qjackctl.
Lorne Tyndale
Hi,
A bit of delay with this reply but I'm in the same situation myself. I
set up an Ubuntu 14.04 server a while back to serve as the database and
audio store. I'm in the process of adding a USB sound card to this
server and using it as the playout for out of hours (non "live").
I think caed is the problem. After making the USB card the default
device and adding it via rdalsaconfig; I get this when I start caed
(/var/log/syslog):
Nov 6 14:54:20 ukriv002 caed: Starting ALSA Play Device rd0:
Nov 6 14:54:20 ukriv002 caed: Neither 16 nor 32 bit little-endian
formats available,
Nov 6 14:54:20 ukriv002 caed: aborting initialization of device.
Nov 6 14:54:20 ukriv002 caed: Starting ALSA Capture Device rd0:
Nov 6 14:54:20 ukriv002 caed: Neither 16 nor 32 bit little-endian
formats available,
Nov 6 14:54:20 ukriv002 caed: aborting initialization of device.
Nov 6 14:54:20 ukriv002 caed: unable to communicate with JACK server
Nov 6 14:54:20 ukriv002 caed: JACK general failure
Nov 6 14:54:20 ukriv002 caed: no connection to JACK server
Nov 6 14:54:20 ukriv002 caed: Found TwoLAME encoder library, MPEG L2
encoding supported
Nov 6 14:54:20 ukriv002 caed: Found MAD decoder library, MPEG L2
decoding supported
Nov 6 14:54:20 ukriv002 caed: using realtime scheduling, priority=8
Nov 6 14:54:20 ukriv002 caed: cae started
Is this the same for you?
You can check it by restarting the Riv servers or killing caed manually.
Wayne Merricks
The Voice Asia
On 21/10/15 14:08, Nicholas Young wrote:
It's configured as a standalone box with both rivendell and rivendell-server
packages installed.
Do I need to configure it manually if this is the case?
On Oct 21, 2015, at 7:15 AM, Stan Fotinos <[email protected]> wrote:
If this is a client server setup does the IP in RDadmin in hosts match the
actually IP of the machine with the sound card?
On 21/10/2015 7:57 am, Nicholas Young wrote:
That's exactly what I did. And even after a restart, I still couldn't see the
card in rdadmin. Maybe I'm looking in the wrong place?
On Oct 20, 2015, at 6:41 PM, Wayne Merricks <[email protected]>
wrote:
Did you run rdalsaconfig and select the card you want to use?
On 2015-10-19 03:49, Nicholas Young wrote:
As previously mentioned, I'm trying to run Rivendell with the ALSA
backend, and have configured it using the Tryphon repos on Ubuntu
14.04.02 LTS.
After much back and forth with AudioScience (and a couple of hardware
fixes) I'm finally getting up to speed. asound.conf has the various rd
entries (as configured by rdalsaconfig — but now, I have a different
problem entirely.
Rivendell doesn't seem to recognize any of my ALSA-configured sound
cards. I run rdadmin, select "hosts" and attempt to configure the
audio card in question (an ASI 5211). Instead of being able to select
the one I want, the card selection box is greyed out.
rd.conf is configured correctly, far as I can tell anyway. I'm just
wondering if there's something I missed?
Nicholas
---
Nicholas Young
Founder, Original Machine [1]
Founder/Executive Producer-at-large, The Machine Broadcasting Network
[2]
Host, Dispatch [3]
Founder/CEO, Mixdown [4]
(312) 685-2109 [5] (Direct)
1 (844) 4-MACHINE (Studio Line)
Links:
------
[1]
http://t.sidekickopen21.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5wvtFqW8qCcT83SXvYYN3D5Xyz1yWhmf4c8_1K03?t=http%3A%2F%2Foriginalmachine.com%2F&si=5932076767903744&pi=caf45db8-70f4-4815-aef5-0595285beebc
[2]
http://t.sidekickopen21.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5wvtFqW8qCcT83SXvYYN3D5Xyz1yWhmf4c8_1K03?t=http%3A%2F%2Fmachine.fm%2F&si=5932076767903744&pi=caf45db8-70f4-4815-aef5-0595285beebc
[3]
http://t.sidekickopen21.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5wvtFqW8qCcT83SXvYYN3D5Xyz1yWhmf4c8_1K03?t=http%3A%2F%2Fmachine.fm%2Fdispatch&si=5932076767903744&pi=caf45db8-70f4-4815-aef5-0595285beebc
[4]
http://t.sidekickopen21.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5wvtFqW8qCcT83SXvYYN3D5Xyz1yWhmf4c8_1K03?t=http%3A%2F%2Fmixdown.co%2F&si=5932076767903744&pi=caf45db8-70f4-4815-aef5-0595285beebc
[5] http://mail.thevoiceasia.com/tel:(312)%20685-2109
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev