[RDD] Fixing ALSA playback on weird cards

2014-01-05 Thread Karl Koscher
I sent this earlier to rivendell-prog but never got a reply. Perhaps it was
the holidays, or maybe that mailing list is deprecated?

-- Forwarded message --
From: Karl Koscher 
Date: Wed, Dec 25, 2013 at 2:11 AM
Subject: Fixing ALSA playback on weird cards
To: rivendell-p...@lists.rivendellaudio.org


For whatever reason, one of our ALSA playback cards reports a sampling rate
of 44099 instead of the usual 44100. Any playback on this device quickly
gets distorted, and though some debugging, I found that a byte was being
dropped. The culprit is the code in FillAlsaOutputStream that adjusts the
amount of data it reads in if the card's playback rate is not the same as
the stream's. The amount of data to read is divided by the ratio between
the card's playback rate and the stream's rate. If the playback ringbuffer
is empty, this increases the amount of data to read beyond the capacity of
the ringbuffer. In that case, the ringbuffer code takes the first 2^18-1
bytes, which causes the samples to become misaligned.

I'm trying to figure out the purpose of this code. FillAlsaOutputStream
will always fill the ringbuffer, so the rate that it's filled doesn't need
to be adjusted. It could also be to do a form of poor resampling by
dropping samples periodically, but this only works if the playback rate is
lower than the stream's sample rate, and it doesn't do this resampling when
the ringbuffer is initially filled. Is there a reason for this code, or can
it be pulled out?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] nothing scheduling

2014-01-05 Thread Peter van Embden
Hello Chris,

 

I ran into this problem a few weeks ago. Rivendell had set a "-" in the "log 
template name" (http://thebrettblog.files.wordpress.com/2009/12/riv8.png), 
causing an empty log. Replace the "-" with a "_" (or just remove it) and your 
problem *should* be solved.


Good luck!


Peter.


 

Verstuurd

 


Van: c...@elfpen.com
Verzonden: ‎zondag‎ ‎5‎ ‎januari‎ ‎2014 ‎12‎:‎48
Aan: rivendell-dev@lists.rivendellaudio.org

 

I'm new to Rivendell, let me know if this is not the right forum
for my questions.

I downloaded and installed the Rivendell Appliance.

I have been following the "How to schedule music" blog posting
at thebrettblog.wordpress.com but with little success.

I have set up my own service and loaded audio carts into my own
groups.  I've been through the steps multiple times to make
sure my host is in the host lists and my service is selected.

But I am unable to get the scheduler to schedule anything.

The  list of events in my clock says they are scheduled events.
But when I create a log the events are empty.

Chris Howard
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RML Question?

2014-01-05 Thread Larry
Has anyone ever tried to use the SO (Serial Out) command in RML? The SO 
requires the  before the command string. Is this asking for 
the com1, or S0 or /dev/ttyS0? I am having no luck making the SO command 
work so it would be helpful to know what RML is asking for. 


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell 2.6.2

2014-01-05 Thread Rüdiger

On 03.01.2014 19:28, Fred Gleason wrote:


Changes:
Fixed a bug in RDLogEdit that threw a segfault when dropping a cart
onto the end of a log.


Yes, it is fixed.! Thats great. And i like to say, V 2.6.2. is a 
milestone..!!


Just only one small thing would be a great addition. The possibility to 
D&D a file direct to the new cartplayer to temp. play files from 
flashdrive... There is already a button "from file"... :)


--

Ruediger

Radio Ostfriesland Techniksupport Automation
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] nothing scheduling

2014-01-05 Thread cbr

I'm new to Rivendell, let me know if this is not the right forum
for my questions.

I downloaded and installed the Rivendell Appliance.

I have been following the "How to schedule music" blog posting
at thebrettblog.wordpress.com but with little success.

I have set up my own service and loaded audio carts into my own
groups.  I've been through the steps multiple times to make
sure my host is in the host lists and my service is selected.

But I am unable to get the scheduler to schedule anything.

The  list of events in my clock says they are scheduled events.
But when I create a log the events are empty.

Chris Howard
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev