Hi Nate,

you may have the old 'card being given a different number on reboot trick' happening there.

aplay -l

will give you a list of cards in your PC

Look for HDMI outs being assigned a number.

You can unload HDMI Audio out in bios on most systems.

The USB Lexicon may be assigned to 0

if the Lexicon is going to be used with the server.

add

# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel model=generic

to the end of

 /etc/modprobe.d/alsa-base.conf


cat /etc/asound.conf

will tell you which cards are configured by Rivendell


Delving into rdadmin you can see which cards are assigned to and verify the rate the system is operating at. [rdadmin>SystemSettings]

You may need to add the rate into asound.conf as the M-Audio may default to it's max.

record a test at a rate higher than what you think your highest recording rate might be (replacing the numbers in hw:0,0 with your card and device number):

   $ arecord -f dat -r 60000 -D*hw:0,0*-d 5 test.wav

The output will show the default rate. The Delta may need to be asked for 100000 instead of 60000. I think they go to 90000

In /etc/asound.conf

pcm.rd0 {
  type hw
  card 0
  device 0

  rate xxxxx <----- add this line

}

While in theory you should be able to restart without rebooting experience says when you have changed sound card settings a reboot is necessary.

Then run alsamixer and set levels.

To get alsa to remember the settings as root do '*/alsactl/*<https://www.google.com/search?sxsrf=ACYBGNSY3p8_bGGsRJ11SZiDQdSZdmPNOQ:1574879846588&q=alsactl+restore&spell=1&sa=X&ved=2ahUKEwiy-8bOhIvmAhWSIbcAHTN2AWIQkeECKAB6BAgNECc> store X' where x is the card number.

In some iterations of CentOS this is broken and you need to do */alsactl/*restore <https://www.google.com/search?sxsrf=ACYBGNSY3p8_bGGsRJ11SZiDQdSZdmPNOQ:1574879846588&q=alsactl+restore&spell=1&sa=X&ved=2ahUKEwiy-8bOhIvmAhWSIbcAHTN2AWIQkeECKAB6BAgNECc> on reboot. Easy enough to do that in cron.

The white noise is usually a rate issue but checking the card numbering covers all bases.

Rivendell 3.x manages the rate thing better on install.

In bios you should have restart on power return set and once you have the audio settings lined up pull the power plug, wait, replug and it should restart.

System should start RDAIRPLAY load todays log and start playing

This may help

#! /bin/bash
#runs on boot
rm -f /home/rd/.rdairplaylock
# this file is left behind if shutdown is by power fail
# its there to stop 2 instances of rdairplay
# we can live with it not being there
#set centos to load rivendell on startup and it loads the default log which is todays log give it time YMMV
sleep 40
#play first event
/usr/bin/rmlsend --to-host=localhost --to-port=5859 'PN 1!'


hope this is no too confusing

reguards

Robert


On 28/11/19 4:49 AM, [email protected] wrote:

something happened, now audio plays for a second then white noise. I must have messed something up yesterday, that didn’t apply till a reboot? We had a power outage last night and the system was running on my test bench (NO UPS) came in this morning, rebooted, and had no audio card. Shutdown, pulled card (Delta 1010lt), pulled the other card that wasn’t recognized by alsa (an old Lynx one, guess it really is useless now) Reboot, still nothing.check rdalsa config, card is there and selected. Close out now I have a card showing up, but when I play audio it plays for a second then white noise. I switched in a usb lexicon alpha and the same thing is happening there….

Any Ideas? This thing was supposed to go live tomorrow at midnight….

I did have to go into alsamixer and turn up the outputs for the card yesterday to get audio out of it, everything was turned down. It’s possible I could have fudged something up as I figured out the navigation in the alsamixer terminal….Not sure why that would affect the Lexicon card too though…


_______________________________________________
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

Reply via email to