Re: [RDD] Log generation

2017-03-20 Thread Lorne Tyndale
If you wanted to keep at least some of it within Rivendell, you could
have RDCatch fire the script.  Then you can keep the scheduling of when
the script runs within Rivendell rather then external within Cron.


Just a thought.

Lorne


> 
> 
> Thanks for confirming Wayne. I'll get a script put in place to crank out some 
> logs. 
> 
> James 
> 
> - Original Message -
> 
> From: "Wayne Merricks"  
> To: "James Greenlee"  
> Cc: "User discussion about the Rivendell Radio Automation System" 
>  
> Sent: Monday, March 20, 2017 7:57:21 AM 
> Subject: Re: [RDD] Log generation 
> 
> No there is nothing built in. You can use rdlogmanager with some command line 
> options to manually run it. Add this to cron and you're done. 
> 
> Be aware that if you have a non-graphical OS rdlogmanager sometimes moans 
> about not being able to access X.org and refuses to run. 
> 
> Regards, 
> 
> Wayne 
> 
> 
> 
> On 20 Mar 2017 11:54, "James Greenlee" < ja...@madsonics.com > wrote: 
> 
> 
> Is there a setting somewhere to automatically create logs for the next day or 
> does this need to be run manually? I've found some examples of scripting 
> added to CRON for scheduling log generation, but before stepping outside of 
> Rivendell, I wanted to make sure I'm not missing something. 
> 
> Thanks! 
> 
> James 
> ___ 
> 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Off-Topic - Jack issues

2017-03-21 Thread Lorne Tyndale
I agree, it does appear that something has grabbed the sound card before
Jack has grabbed it, quite possibly CAED.


Also, I'm not sure what build of Linux you're running, but I know for
the Debian builds you need to ensure that the user that you're running
Jack under is also a member of the audio group.



> 
> 
> Pedro,
> 
> not sure if this will help, but make sure caed is not running (sudo killall
> caed) and then try starting jack from qjackctl. If you get the same
> results, then try from qjackctl with the dummy interface. Let us know if it
> starts with the dummy interface but not with the sound card.
> 
> all the best,
> 
> drew
> 
> On Mon, Mar 20, 2017 at 10:40 PM, Pedro Picoto 
> wrote:
> 
> > Sorry for polluting with the topic...
> >
> > I'm having issues regarding Jack on my fresh RD instalation (I know that
> > most of you is agains't Jack but I need it for the versatility it gives me).
> >
> > Here's what I get on the messages:
> >
> > "02:34:19.775 Statistics reset.
> >
> > 02:34:25.806 ALSA connection change.
> >
> > 02:34:25.811 D-BUS: Service is available (org.jackaudio.service aka
> > jackdbus).
> >
> > connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=Ficheiro
> > ou directoria inexistente)
> >
> > attempt to connect to server failed
> >
> > 02:34:25.901 ALSA connection graph change.
> >
> > 02:34:34.563 D-BUS: JACK server could not be started. Sorry
> >
> > connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=Ficheiro
> > ou directoria inexistente)
> >
> > attempt to connect to server failed
> >
> > Tue Mar 21 02:34:34 2017: Starting jack server...
> >
> > Tue Mar 21 02:34:34 2017: JACK server starting in realtime mode with
> > priority 10
> >
> > Tue Mar 21 02:34:34 2017: self-connect-mode is "Don't restrict self
> > connect requests"
> >
> > Tue Mar 21 02:34:34 2017: ERROR: Can't load 
> > "/usr/lib/x86_64-linux-gnu/jack/jack_alsa.so":
> > /usr/lib/x86_64-linux-gnu/jack/jack_alsa.so: undefined symbol:
> > jack_driver_nt_init
> >
> > Tue Mar 21 02:34:34 2017: ERROR: Cannot initialize driver
> >
> > Tue Mar 21 02:34:34 2017: ERROR: JackServer::Open failed with -1
> >
> > Tue Mar 21 02:34:34 2017: ERROR: Failed to open server
> >
> > Tue Mar 21 02:34:35 2017: Saving settings to 
> > "/home/rivendell/.config/jack/conf.xml"
> > ...
> >
> > 02:34:50.726 Could not connect to JACK server as client. - Overall
> > operation failed. - Unable to connect to server. Please check the messages
> > window for more info.
> >
> > connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=Ficheiro
> > ou directoria inexistente)
> >
> > attempt to connect to server failed""
> >
> >
> > I've searched (a lot) with no suitable solution...
> >
> >
> > Sorry for taking your time with this matter...
> >
> >
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
> >
> 
> 
> -- 
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> ___
> 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


Re: [RDD] Off-Topic - Jack issues

2017-03-22 Thread Lorne Tyndale
Rob,

The biggest issue I've run into with Jack not starting usually get down
to a few things:

-Something else has already grabbed the sound card (Pulseaudio - while
it can be made to co-exist with Jack - is bad for this)

-Some sound cards (especially USB based sound cards) that won't work
unless you force Jack to use 16-bit mode with the -S parameter

-Sample rate mismatches and sound cards that only like to run at one
sample rate

-Some sound cards only like the periods / buffer setting to be 2, some
only want it to be 3, and others are fine with anything you give it

-The user running Jack not being a member of the audio group (and some
systems don't let you run Jack in Realtime mode, but this is usually a
setting in limits.conf that hasn't been configured properly)


Between the above I've managed to get Jack to run even on the pickiest
systems.  But I admit that sometimes it can take several tries to figure
out where the difficulty is and / or what settings will work reliably.

Lorne Tyndale





> 
> I'mno against JACK, I only wish it were better documented. Why will it 
> refuse to start at all on some machines but give no trouble on others? The 
> oracle at Googlephi does not know, and can only give me vague warnings 
> about geeks bearing .gifs.
> 
> 
> Rob
> 
> -- 
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
> 
> On Wed, 22 Mar 2017, Robert Jeffares wrote:
> 
> > 
> > 
> > 
> > On 22/03/17 00:33, drew Roberts wrote:
> >   I know that most of you is agains't Jack
> > 
> > 
> > none of us chickens is against Jack, just not every situation requires it.
> > 
> > Robert
> > 
> > --
> > Raupo Radio
> > 64 Warner Park Avenue
> > 
> > Laingholm
> > 
> > Auckland 0604
> > 
> > 09 8176358
> > 
> > 0221693124
> > 
> > 06 650 6087
> > 
> >___
> 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


Re: [RDD] Off-Topic - Jack issues

2017-03-22 Thread Lorne Tyndale
Hi,

You are correct - it is a known issue and has been discussed that jackd,
caed, and anything else using Jack all need to be running under the same
user ID or else things won't see Jack and vice-versa.

One option to ensure that caed and jackd run under the same user is to
allow the Rivendell startup handle the starting of jackd.  This can be
done via rdadmin --> Manage Hosts --> Jack Settings

Of course, you won't see jack connections show up in stuff like qjackctl
unless you are running jackd and caed as the user logged in and also
running qjackctl.  This is why it is sometimes necessary to not use the
jack startup option in Rivendell but rather to start up Jack and then
start caed under the same user logged in to start Jack.

For sure it can be confusing to figure out and such.

Lorne Tyndale


> 
> 
> I just installed the CentOS appliance CD.  Jack wouldn't start when 
> starting the default rivendell service.  I had to setuid (chown rd) caed 
> to the running user.  Then use qjackctl to autostart jack. Caed now is 
> started when any rivendell app is started.  The rivendell service is 
> disabled.
> 
> 
> 
> On 3/22/17 1:07 PM, Lorne Tyndale wrote:
> > Rob,
> >
> > The biggest issue I've run into with Jack not starting usually get down
> > to a few things:
> >
> > -Something else has already grabbed the sound card (Pulseaudio - while
> > it can be made to co-exist with Jack - is bad for this)
> >
> > -Some sound cards (especially USB based sound cards) that won't work
> > unless you force Jack to use 16-bit mode with the -S parameter
> >
> > -Sample rate mismatches and sound cards that only like to run at one
> > sample rate
> >
> > -Some sound cards only like the periods / buffer setting to be 2, some
> > only want it to be 3, and others are fine with anything you give it
> >
> > -The user running Jack not being a member of the audio group (and some
> > systems don't let you run Jack in Realtime mode, but this is usually a
> > setting in limits.conf that hasn't been configured properly)
> >
> >
> > Between the above I've managed to get Jack to run even on the pickiest
> > systems.  But I admit that sometimes it can take several tries to figure
> > out where the difficulty is and / or what settings will work reliably.
> >
> > Lorne Tyndale
> >
> >
> >
> >
> >
> >> I'mno against JACK, I only wish it were better documented. Why will it
> >> refuse to start at all on some machines but give no trouble on others? The
> >> oracle at Googlephi does not know, and can only give me vague warnings
> >> about geeks bearing .gifs.
> >>
> >>
> >> Rob
> >>
> >> -- 
> >> Я там, где ребята толковые,
> >> Я там, где плакаты "Вперёд",
> >> Где песни рабочие новые
> >> Страна трудовая поёт.
> >>
> >> On Wed, 22 Mar 2017, Robert Jeffares wrote:
> >>
> >>>
> >>>
> >>> On 22/03/17 00:33, drew Roberts wrote:
> >>>I know that most of you is agains't Jack
> >>>
> >>>
> >>> none of us chickens is against Jack, just not every situation requires it.
> >>>
> >>> Robert
> >>>
> >>> --
> >>> Raupo Radio
> >>> 64 Warner Park Avenue
> >>>
> >>> Laingholm
> >>>
> >>> Auckland 0604
> >>>
> >>> 09 8176358
> >>>
> >>> 0221693124
> >>>
> >>> 06 650 6087
> >>>
> >>> ___
> >> 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
> 
> ___
> 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


Re: [RDD] RDAIRPLAY/RMLSEND not executing shell scripts

2017-04-13 Thread Lorne Tyndale
Nick, 

I've run into this on Lubuntu 14.04 before, compiled from source.  What
I found is that it is definitely a permissions thing.

For me, a:

sudo -s /usr/local/bin/caed /usr/local/bin/rdcatchd /usr/local/bin/ripcd

And then a restart of the daemons did the trick - allows them to run as
the same user as rdairplay, rdpanel, jack, etc - and it all just starts
to work.

Of course you may need to change the path to wherever those 3 daemons
live (they might be in /usr/bin)

Give it a try.

Lorne Tyndale



> 
> Hello Rob and list...
> 
> I looked into permissions and find the following:
> AudioOwner (from rd.conf) is nick, this is also the rivendell user.
> 
> When running, the caed and ripcd processes are root, even though I started
> them manually as nick in a command shell.
> rdairplay is running as nick, as well as rdlibrary.
> 
> I tried to make the 2 daemons run as nick, but then rdairplay claims it
> can't start the daemons.  Put them back as root and rdairplay starts again.
> 
> Tried to make rdairplay run as root and still the same issue, it won't
> execute macros.  Loading up rdlibrary as nick and the macros run.
> 
> If I run the commands that the one set of macros should execute in a shell,
> they work properly when logged in as root or nick.
> 
> I'm puzzled... to me it feels like rdairplay just isn't executing macros
> carts, even though they are being logged in ripcd.log.
> 
> 
> On Wed, Apr 12, 2017 at 3:37 AM, Rob Landry <41001...@interpring.com> wrote:
> 
> > On Tue, 11 Apr 2017, Nick Vanderest wrote:
> >
> > I can not make any macros carts execute from RDPANEL or the sound panel in
> >> RDAIRPLAY.  It will play audio, but not macros or execute a shell command
> >> or script.
> >>
> >
> > That sounds like a permissions problem. Rivendell is probably not running
> > as the user you are logged in as, but as 'rivendell' or some such.
> >
> > If I run the command or script from the shell, they execute and the
> >> expected
> >> results are received. In my test case, disconnecting and connecting inputs
> >> and outputs in JACK audio.
> >>
> >
> > That makes sense.
> >
> > I can also run the macro carts in RDLIBRARY by hitting 'Run Cart', and the
> >> commands are executed properly.
> >>
> >
> > That doesn't make sense. If the problem were the 'rivendell' user not
> > having permission to execute scripts belonging to your login user, then
> > rdlibrary shouldn't be able to do anything rdairplay or rdpanel can't do.
> >
> > Try modifying the 'rivendell' user so you can su to it; then try running
> > the scripts from a terminal as 'rivendell' and see if they work.
> >
> >
> > Rob___
> 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


Re: [RDD] RDAIRPLAY/RMLSEND not executing shell scripts

2017-04-13 Thread Lorne Tyndale
Oops, that should be a:

sudo chmod -s /usr/local/bin/caed /usr/local/bin/rdcatchd
/usr/local/bin/ripcd

Guess there was a disconnect between what I was thinking and typing!

Sorry about that.

Lorne


> 
> 
> Nick, 
> 
> I've run into this on Lubuntu 14.04 before, compiled from source.  What
> I found is that it is definitely a permissions thing.
> 
> For me, a:
> 
> sudo -s /usr/local/bin/caed /usr/local/bin/rdcatchd /usr/local/bin/ripcd
> 
> And then a restart of the daemons did the trick - allows them to run as
> the same user as rdairplay, rdpanel, jack, etc - and it all just starts
> to work.
> 
> Of course you may need to change the path to wherever those 3 daemons
> live (they might be in /usr/bin)
> 
> Give it a try.
> 
> Lorne Tyndale
> 
> 
> 
> > 
> > Hello Rob and list...
> > 
> > I looked into permissions and find the following:
> > AudioOwner (from rd.conf) is nick, this is also the rivendell user.
> > 
> > When running, the caed and ripcd processes are root, even though I started
> > them manually as nick in a command shell.
> > rdairplay is running as nick, as well as rdlibrary.
> > 
> > I tried to make the 2 daemons run as nick, but then rdairplay claims it
> > can't start the daemons.  Put them back as root and rdairplay starts again.
> > 
> > Tried to make rdairplay run as root and still the same issue, it won't
> > execute macros.  Loading up rdlibrary as nick and the macros run.
> > 
> > If I run the commands that the one set of macros should execute in a shell,
> > they work properly when logged in as root or nick.
> > 
> > I'm puzzled... to me it feels like rdairplay just isn't executing macros
> > carts, even though they are being logged in ripcd.log.
> > 
> > 
> > On Wed, Apr 12, 2017 at 3:37 AM, Rob Landry <41001...@interpring.com> wrote:
> > 
> > > On Tue, 11 Apr 2017, Nick Vanderest wrote:
> > >
> > > I can not make any macros carts execute from RDPANEL or the sound panel in
> > >> RDAIRPLAY.  It will play audio, but not macros or execute a shell command
> > >> or script.
> > >>
> > >
> > > That sounds like a permissions problem. Rivendell is probably not running
> > > as the user you are logged in as, but as 'rivendell' or some such.
> > >
> > > If I run the command or script from the shell, they execute and the
> > >> expected
> > >> results are received. In my test case, disconnecting and connecting 
> > >> inputs
> > >> and outputs in JACK audio.
> > >>
> > >
> > > That makes sense.
> > >
> > > I can also run the macro carts in RDLIBRARY by hitting 'Run Cart', and the
> > >> commands are executed properly.
> > >>
> > >
> > > That doesn't make sense. If the problem were the 'rivendell' user not
> > > having permission to execute scripts belonging to your login user, then
> > > rdlibrary shouldn't be able to do anything rdairplay or rdpanel can't do.
> > >
> > > Try modifying the 'rivendell' user so you can su to it; then try running
> > > the scripts from a terminal as 'rivendell' and see if they work.
> > >
> > >
> > > Rob___
> > 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDPanel output

2017-04-13 Thread Lorne Tyndale
Hi,

Check your cartslots output settings in rdadmin --> Manage Hosts -->
Cartslots

Each slot can be set to go to a different output.  There is a pull-down
that you can change to each slot number, you can set the output (and
input). 

Lorne Tyndale


> 
> I have a strange happening on one of our air machines.  RDCart Slots is set
> to output on Card 0 Port 1, which it does on the first row but the other 7
> output on Card 0 Port 0 which mixes with RDAirplay.  I think this is the
> only station that uses Cart Slots and the DJ leaves Airplay running, fades
> out on the board and up on Cart Slots on another channel.
> Running Centos 7 and the latest version of Rivendell.  Previous versions of
> Centos 5 & 6 didn't have this problem and I don't think 7 started off with
> the problem.  Will replace the machine so I can play with this problem but
> any thoughts would be appreciated.
> 
> Thanks,
> Jimmy
> WRN___
> 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


Re: [RDD] RDPanel output

2017-04-13 Thread Lorne Tyndale
Al,

Unfortunately they are no longer manufactured, but for analog audio I've
had excellent luck with the M-Audio Delta lines - the 44 or 66 if you
only need 2 stereo outs (total of 4 outs), and the 1010 has 4 stereo
outs (a total of 8 outputs).  In cases where I don't need balanced
audio, I've also had luck with the Delta 410 (which has 8 analog outs or
4 stereo).  I imagine the 1010LT would also work but I've never had a
1010LT.

The main drawback - since they're no longer made you're stuck with
finding the product used.  Also they are a full size PCI card, many new
computers don't have PCI slots any more.



> 
> 
> Jimmy, I might have missed an earlier posting, but what audio interface are
> you using?
> 
> Also, other than the recommended (and very superb) ASI cards, what kind of
> success (ie, quality, stability...) can anyone else report with other
> multi-output audio devices?
> 
> *A.*
> 
> 
> 
> 
> On Thu, Apr 13, 2017 at 11:52 AM, Lorne Tyndale 
> wrote:
> 
> > Hi,
> >
> > Check your cartslots output settings in rdadmin --> Manage Hosts -->
> > Cartslots
> >
> > Each slot can be set to go to a different output.  There is a pull-down
> > that you can change to each slot number, you can set the output (and
> > input).
> >
> > Lorne Tyndale
> >
> >
> > >
> > > I have a strange happening on one of our air machines.  RDCart Slots is
> > set
> > > to output on Card 0 Port 1, which it does on the first row but the other
> > 7
> > > output on Card 0 Port 0 which mixes with RDAirplay.  I think this is the
> > > only station that uses Cart Slots and the DJ leaves Airplay running,
> > fades
> > > out on the board and up on Cart Slots on another channel.
> > > Running Centos 7 and the latest version of Rivendell.  Previous versions
> > of
> > > Centos 5 & 6 didn't have this problem and I don't think 7 started off
> > with
> > > the problem.  Will replace the machine so I can play with this problem
> > but
> > > any thoughts would be appreciated.
> > >
> > > Thanks,
> > > Jimmy
> > > WRN___
> > > 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
> >
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Building a music library.

2017-04-28 Thread Lorne Tyndale
Hi,

I do agree with what Andy's said.  To add a few thoughts:

1.  On the 44.1/48 question, the only time I'd use 44.1 in this day and
age is if 44.1 has already previously been set as a standard in a
facility or there is some other compelling reason to use 44.1 (for
example, some sound cards won't support 48, but in that case if you have
a sound card that won't do 48 my recommendation would be to find a
better sound card).  Otherwise use 48.  You can always convert down to
44.1 later if there is the need.

2.  While Rivendell does have the ability to store audio files in
compressed mp2 format, due to the fact that hard disk space is
relatively cheap these days, I'd stick with linear PCM.  No point
compressing those audio files.

3.  If you do - despite recommendations to avoid it - decide to use mp2,
then use the highest bitrate option

4.  It is certainly possible to do batch imports with Dropboxes and such
- where Rivendell will automagically import audio into its music library
/ database from either an audio file, ripping directly  from CD to the
library, etc.  You can do this and you'll end up with a functional music
library in Rivendell.  However it is worth considering that the best
sounding stations out there are the ones where a producer in a
production studio has gone through and listened to every track, set
things such as the segue and talk markers, custom-tweaked the audio so
it will sound best after it has gone through the audio chain being used
on air at the station, etc.  Of course this does take a skilled producer
- one who is intimately familiar with the sound of the station, what
effects the audio chain being used can have on the audio, and what
listens expect, etc.  It takes a lot of time and effort to go through
every track this way, while this used to be a standard practice in the
industry, these days many stations don't bother with the time and
effort.

Lorne Tyndale



> 
> Hi,
> 
> As you say, this is a major undertaking, so you need to get this right from 
> the beginning.  You don't want to be making any mistakes.  
> 
> My tips would have to be.
> 1) Make sure you start off at the right bit rate.  Do you use 44100 or 48000? 
>  Part of this will depend on how you are going to be using the audio.  Will 
> you be feeding other kit (mixers etc) in the digital domain?  IE is your 
> output SPDIF,  AES/EBU, Livewire etc?  If so, it will be worth you using 48k. 
>  Don't just think about what you use now.  2 years down the line you don't 
> want to be having to convert the library to a different bit rate.
> 
> 2) Check your audio sources.  TWIRT did a very good programme that covered 
> this issue.  They were saying that a song might have been released on a large 
> number of different CDs.  These include remastered versions of Albums, but 
> also on compilation CDs.  However, the quality of the master used may vary.  
> For instance, the quality of a track on a compilation album might be really 
> bad in comparison to getting that track from an original release of the bands 
> album.  Another issue that you have with CDs is that a lot of the so called 
> "Remastered" releases have been dynamically compressed as part of the 
> loudness wars, and will be totally rubbish compared to the original release.  
> That is not to say that all Remastered CDs are bad.  In fact some are 
> positively great.
> 
> 3) Do not use MP3s (or AAC etc).  These are lossy formats.  You WILL lose 
> some of original quality of the recording.  Also, if your output goes through 
> a codec before it hits the listener then you might get the issue with 
> multiple compression / decompression stages.  Where an MP3 sounds OK in the 
> studio, it might go through another couple of compression / decompression 
> stages before it hits the listener and by this time it sounds awful.
> 
> 4) Pace yourself.  Don't overdo it.  There is a limit to how much you can do 
> in one session before you start making silly mistakes with the markers (Start 
> / End / Talktime / Segue).
> 
> There are probably many more tips, but these are my few.
> 
> Andy
> 
> 
> 
> 
>   On Fri, 28 Apr 2017 05:34:32 +0100 James Greenlee  
> wrote  
>  > Fair enoughBut if I were going to run a station unattended, there's 
> nobody to load CD's into players to play cuts off of a disc.  Thus the "on 
> Rivendell" part of the question. 
>  >  
>  > My assumption is that I would need to rip some CD's to files, import those 
> files to carts, and make sure all the meta data is there. 
>  >  
>  > - Original Message - 
>  > From: "Cowboy"  
>  > To: rivendell-dev@lists.rivendellaudio.org 
>  > Sent: Thursday, April 27, 2017 9:37:08 PM 
>  

Re: [RDD] Please fix this bug...

2017-05-16 Thread Lorne Tyndale
Rick,

I'm a little surprised here - I don't know why you would put a playback
machine on a network connection that has direct access to the internet. 
For best security practices it should be on a private network without
internet access.

Even though Linux is much more secure then other OSes, what you've
described is just asking for trouble.

Lorne Tyndale


> 
> 
> We are using the CentOS-6 that is part of the Rivendell Broadcast Appliance 
> system from Paravel Systems.  We have a paid-up support contract.  It’s 
> really great, and we love it a lot!  Thanks for all the wonderful features!
> 
> Now the problem:
> 
> The Rivendell 2.15.3-1 update appears along with more than 300 other updates 
> from Centos when we run “yum check-update”.  Some of those CentOS updates are 
> important security fixes.  So far as I know, there are no security issues 
> with the Rivendell 2.15.3-1 package.  
> 
> However, if we hold off installing the Rivendell 2.15.3-1 update because we 
> don’t want to deal with the bug in the attached mail from Fred Gleason, 
> discovered by Ryan Williams, we are also holding off on installing all the 
> security (and other) fixes from CentOS.
> 
> We have two alternatives, as I see it.
> 
> 1) What we’re doing now: hold off on any updates until the attached bug is 
> fixed by Paravel Systems.
> 
> or 
> 
> 2) Disable the Paravel Systems repo in the yum configuration files, thereby 
> preventing the Rivendell 2.15.3-1 update from being applied — along with 
> everything else from Paravel.  We’ve never done this before (never needed 
> to!) and we don’t know what it might break if we try it.  If it breaks 
> something in the Rivendell system, that will take us off the air, which we 
> don’t want to do.
> 
> So…
> 
> Please fix the attached bug!
> 
> Thanks!
> Rick Thomas
> SysAdmin, KPTZ 91.9 FM, Port Townsend, WA
> 
> 
> On May 16, 2017, at 1:26 PM, Scott Spillers  wrote:
> 
> > Rick,
> > We do not have any influence over development of the CentOS Linux 
> > distribution, only the Rivendell code.  What version of CentOS are you 
> > using?  CentOS 5 has reached end of life and is no longer updated.  You may 
> > want to consider updating to CentOS 7 if your version of the distro is no 
> > longer supported.
> > 
> > Scott Spillers
> > sco...@paravelsystems.com
> > 
> > On May 16, 2017 12:10 PM, "Rick Thomas"  wrote:
> > Dear Rivendell developers,
> > 
> > We’ve been holding off installing the Rivendell2.15.3-1 update, hoping to 
> > see a fix for this bug.
> > 
> > But with all the activity over the NSA zero-day exploits released a few 
> > months ago, it’s becoming imperative that we get the security updates from 
> > CentOS that this is blocking.
> > 
> > Please bump up the priority on this one…
> > 
> > Thanks,
> > Rick Thomas,
> > SysAdmin KPTZ, 91.9 FM Port Townsend, WA
> > 
> > 
> > > -- Forwarded message -
> > > From: Fred Gleason 
> > > Date: Tue, Mar 28, 2017 at 8:05 AM
> > > Subject: Re: [RDD] Rivendell v2.15.3
> > > To: User discussion about the Rivendell Radio Automation System 
> > > 
> > >
> > > On Mar 28, 2017, at 10:57, Ryan Williams  wrote:
> > >> I'm having an regression with the most recent release. If I open 
> > >> RDLogEdit and try to add to a log's description it does not save. We use 
> > >> the field field to add "READY" to the end of the description when the 
> > >> log is cleared for air, so this one is going to sting a lot.
> > > Partially confirmed here.  If you use the ‘Save’ button, the updated 
> > > Description is indeed lost.  However, clicking ‘OK’ (without clicking 
> > > ‘Save’ first) appears to work normally.
> > >
> > > Cheers!
> > >
> > > |--|
> > > | Frederick F. Gleason, Jr. |  Chief Developer |
> > > |   |  Paravel Systems |
> > > |--|
> > > |  A room without books is like a body without a soul. |
> > > | -- Cicero|
> > > |--|
> > >
> > > ___
> > > 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Upgraded to 2.15.3 and no longer sees Jack...

2017-05-29 Thread Lorne Tyndale
Hi,

I don't know about Linux Mint, but on Lubuntu after compiling from
source I need to do a:

sudo chmod -s /usr/local/bin/caed /usr/local/bin/ripcd
/usr/local/bin/rdcatchd

Then kill the daemons (if they're running)

Start up Jack, start up the Rivendell daemons (the chmod allows the
daemons to run as the logged in user that starts Jack - otherwise the
daemons run as root), and it finds Jack.



> 
> In the past Qjackctl started jack and was part of my startup apps. I was able 
> to find the info that jack needs the same user as RD (root in my case). 
> 
> I did try to get Jack to run by RD in RD admin but didn't get much success 
> (haven't tried too much). I did a "sudo qjackctl" & that started jack ad root 
> & all is well. 
> 
> I'll play some more later. 
> 
> Thanks for the response. 
> 
> Regards Richard.  
> 
> Sent from my iPhone
> 
> > On May 29, 2017, at 16:24, drew Roberts  wrote:
> > 
> > Richard,
> > 
> > are you letting Rivendell start jack? (rdadmin) If not, how are you 
> > starting jack and who (which user) is starting it?
> > 
> > all the best,
> > 
> > drew
> > 
> >> On Mon, May 29, 2017 at 3:28 PM, Richard Gorbutt  
> >> wrote:
> >> Hi all,
> >> 
> >> I was finally able to sort out a QT3 dependency issue and finally was able 
> >> to compile RD 2.15.3. However it no longer sees Jack. Jack is running and 
> >> happy, but when I look in Audio Resources I see no card. 
> >> 
> >> When I did the ./configure I did have Jack Support enabled. Restarting the 
> >> deamons after a while still does not make Jack show in RD nor does it 
> >> appear in the JAck connects. 
> >> 
> >> I've upgraded from 2.11 to 2.15.2 on Linux Mint 17.
> >> 
> >> Audio Resources show JACK Audio Connection Kit [Generic] as supported, but 
> >> Card 0: Not present.
> >> 
> >> Any thoughts? (googling brings up a few red herrings but nothing positive 
> >> yet.)
> >> 
> >> Thanks, Richard
> >> 
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >> 
> > 
> > 
> > 
> > -- 
> > Enjoy great Bahamian Music at:
> > Bahamain Or Nuttin - 
> > http://www.bahamianornuttin.com___
> 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


Re: [RDD] Remote "Board Op" from within RDAirPlay

2017-06-01 Thread Lorne Tyndale
Hi,

I think you're making this more difficult then it needs to be.

What I'd do:

-Have the audio coming from your remote on a separate channel on your
console in your on-air studio

-Have that channel set up so that Rivendell can turn that remote channel
on / off via GPIO's

-For your remote site gear, since you're going to have a computer
already (to be able to see the on-air machine RDAirplay via VNC) use a
Linux box, install a "remote" copy of Rivendell on it that includes your
music bed audio

-At your remote site connect your mic and your "remote computer" audio
into a small mixer (or if you use something like a Tieline
Commander/iMix or Comrex Access with the mixer add on, just use the
inputs on that).  If needed you can usually find inexpensive Bheringer
or Mackie's that have 4 to 8 channels that'll work for this type of
application

When you want to go live from the remote site, you can have the remote
computer send the RML back to your studio computer to trigger your GPO
to turn on your "remote" channel.  It can stop your playout from the
on-air studio Rivendell system or you could even have it set up that
when you want to go live from remote it'll insert an item with a "stop"
as the next item in the log (that is if you don't want to schedule the
breaks in the log before the remote, which might be easier).  Do the
mixing of the voice / bed at the remote site with the mixer you have
there (you can have that audio on the remote site's Rivendell box) and
send all that audio back to your studio.  When you want the studio to
resume playout send another RML down the pipe to turn the "remote"
channel back off and do a Play Next in Rivendell.  Your audio starts
back up coming from your on-air Rivendell machine.

The biggest concern would be if your network drops for some reason - you
could end up with dead air.  But the same situation could happen with
the setup you've described below.  As a backup it might be an idea to
tie it all into a silence detector which would - after a certain amount
of time - send your on-air machine a "play next" command in the event
that something like that happens.

Lorne Tyndale


> 
> Hi,
> 
> I am looking for thoughts on possible ways to do this.
> 
> Let's say we go on a remote and have no one in the air studio.
> 
> We can remote into (say vnc over an ssh tunnel) the rdairplay machine to
> control things.
> 
> We can monitor the broadcast signal from an FM receiver at the remote
> location.
> 
> We can set a music bed on an RDAirPlay sound panel button.
> We can set a music bed on an RDPanel sound panel button.
> We can set a music bed in an RDCartSlot cart slot.
> 
> We can set up a macro to go to a remote break and put it on  an RDAirPlay
> sound panel button.
> We can set up a macro to come back from a remote break and put it on  an
> RDAirPlay sound panel button.
> 
> Consider:
> 
> a macro with this command:
> 
> RN /home/rduser/goremote.sh!
> 
> will fire the following bashscript
> 
> #!/bin/bash
> # goremote.sh
> # rml commands to go to start a remote
> 
> rmlsend PS\ 1\!
> rmlsend PP\ S1\ 1\ 1\!
> 
> and:
> 
> a macro with this command:
> 
> RN /home/rduser/endremote.sh!
> 
> will fire the following bashscript
> 
> #!/bin/bash
> # endremote.sh
> # rml commands to go to end a remote
> 
> rmlsend PT\ S1\ 1\ 1\!
> rmlsend PN\ 1\!
> 
> When you are ready to go to a break, you switch to LiveAssist mode and
> click on the goremote button on the sound panel in rdairplay when the
> current cart is almost over. the cart will end and the music bed will start.
> 
> When you are ready to end the remote segment, you switch to Automatic mode
> and click on the endremote button on the sound panel in rdairplay.
> 
> Crude and nasty but it can kind of work.
> 
> ***IMPORTANT*** This currently ignores the very important issue of how we
> get the remote audio into rdairplay to play over the top of the music bed
> in the first place but that is for a later discussion.
> 
> To make this better:
> 
> 1. How can we FADE DOWN the LOG machine and FADE UP the BED when going into
> the remote break?
> 2. How can we loop the bed so that we can use a shorter audio file in the
> BED cart? (If we cannot do this, we will need a bed that is longer than any
> break we will ever have.
> 3. How can we FADE DOWN the BED and FADE UP the LOG machine when coming out
> of the remote break?
> 
> What questions should I be asking that I am not?
> What are better ways to do this?
> 
> Would it be better to put the macro carts for going into and out of the
> breaks into the log in the correct spot rather than firing manually from
> the sound pane

Re: [RDD] Remote "Board Op" from within RDAirPlay

2017-06-04 Thread Lorne Tyndale
Fred,

So am I correct in understanding - if you use the option to have a
workstation use caed on another host, will the instance of caed that is
actually playing the audio out to the sound card use the /var/snd that
it sees on its local machine, or will the "remote" rdairplay (running on
the thin client or similar) still be accessing the audio files and
sending them back to the centralized caed?

Just looking for clarification.

Thanks!

Lorne Tyndale




> 
> On Jun 3, 2017, at 22:31, drew Roberts  wrote:
> 
> > This is  not the route we are planning or currently testing but it is 
> > intriguing enough that I want to experiment with it at some point. What 
> > version did this option appear in?
> 
> v2.0.0beta1, released 10/11/2010. Look in the ‘System Services’ section in 
> RDAdmin->ManageHosts under the relevant host to configure it.
> 
> The primary current use for this mode is virtualization setups —e.g. 
> centralize all of the audio I/O on a central host and then run AirPlay 
> instances on thin clients or virtual hosts.  In that mode, it’s pretty mature 
> at this point.  I don’t know of anyone who has used it to separate the 
> caed(8) and GUI components over a WAN as yet, but it should be doable.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|___
> 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


Re: [RDD] Audio Science Mixer & RdLibrary Multiple Cart Selection

2017-06-21 Thread Lorne Tyndale
Rich,

Check the "Allow Cart Drag" check box in rdlibrary.

If the Allow Cart Drag is selected, then you can only select a single
cart - the idea is that you'll only want to drag a single cart from
RDLibrary to insert into something else (like rdairplay, logedit,
cartslots, etc).

If  that is selected then unselect it and your multiple cart select
option will probably come back.

Lorne Tyndale



> 
> 
> Fred:
> 
> Thanks for reaffirming Rdadmin\Host\Audio Ports.
> 
> Can you comment on multiple cart selection in RdLibrary? It seems to 
> have gone away. I checked my keyboard and
> mouse just to make sure, and they are OK. I need multiple cart 
> selection, for one example, to move carts to a TEMP
> group so I can run rdmarkerset on those carts, and then move the carts 
> back to their proper group.
> 
> Thanks,
> Rich
> 
> 
> On 6/21/2017 04:15, Fred Gleason wrote:
> > On Jun 21, 2017, at 06:57, Cowboy  > <mailto:c...@cwf1.com>> wrote:
> >
> >> Yes, download from the ASI web site.
> >
> > Windows-only, however.  See Stan’s prior post in this thread for how 
> > to tweak levels using RDAdmin.
> >
> > Cheers!
> >
> >
> > |--|
> > | Frederick F. Gleason, Jr. |  Chief Developer |
> > |   |  Paravel Systems |
> > |--|
> > | A room without books is like a body without a soul. |
> > | -- Cicero |
> > |--|
> >
> >
> > ___
> > 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Segfault in RDSelect

2017-07-04 Thread Lorne Tyndale
Hi,

So I tried to set up RDSelect for the first time today, and I think I
set up the configuration files correctly.  In a folder /etc/rivendell.d/
I put 2 configuration files, each with a different Label parameter and
such.

I ended up with a segfault, core dump.  I'm running 64-bit Lubuntu 14.04
with Rivendell with 2.16.0 built from source, and the Tryphon QT3
packages.  I went ahead and set up the same configuration on another
test machine running the Broadcast Appliance, and rdselect worked as
expected, so I suspect this is something strange that happened with the
Lubuntu build.  

Anyone have thoughts on where the issue could be? I did run it as root.
I probably should just migrate the boxes that might need rdselect to the
broadcast appliacne.

Anyways, here's my back-trace:

Starting program: /usr/local/bin/rdselect 
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x7f188e565680 in QString::QString(QString const&) ()
   from /usr/share/qt3/lib/libqt-mt.so.3
(gdb) bt
#0  0x7f188e565680 in QString::QString(QString const&) ()
   from /usr/share/qt3/lib/libqt-mt.so.3
#1  0x7f1890801e2d in RDConfig::mysqlDriver (this=this@entry=0x21)
at rdconfig.cpp:144
#2  0x7f18908f1c61 in RDDbValid (config=0x21, 
schema=schema@entry=0x7ffce6ee55ac) at rdstatus.cpp:70
#3  0x004069cb in MainWidget::SetCurrentItem (
this=this@entry=0xe31910, id=-1) at rdselect.cpp:330
#4  0x004082bd in MainWidget::MainWidget (this=0xe31910, 
parent=) at rdselect.cpp:190
#5  0x004061ba in main (argc=1, argv=)
at rdselect.cpp:377
(gdb) 

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


Re: [RDD] Segfault in RDSelect

2017-07-05 Thread Lorne Tyndale
Thanks Fred!

These are from my test system where I've tried to keep it as simple as
possible.  Note that on production systems I have changed passwords, but
for testing it is easiest to leave all with defaults.

rd.conf:

[Identity]
AudioOwner=lorne
AudioGroup=rivendell
Password=letmein
Label=Default

[mySQL]
Hostname=192.168.0.40
Loginname=rduser
Password=letmein
Database=Rivendell
Driver=QMYSQL3

[AudioStore]
MountSource=/var/snd
MountType=
MountOptions=defaults
CaeHostname=
XportHostname=

[Logs]
Facility=Syslog
LogDirectory=/home/rd/rdlogs
CoreDumpDirectory=/home/rd/rdlogs
LogPattern=%n-%Y%M%d.log
LogXloadDebugData=No

[Alsa]
PeriodQuantity=4
PeriodSize=1024
ChannelsPerPcm=-1

[Tuning]
UseRealtime=Yes
RealtimePriority=9

[Format]
Channels=2


-

rd-standby.conf

[Identity]
AudioOwner=lorne
AudioGroup=rivendell
Password=letmein
Label=StandbyServer

[mySQL]
Hostname=192.168.0.100
Loginname=rduser
Password=letmein
Database=Rivendell
Driver=QMYSQL3

[AudioStore]
MountSource=/mnt/var/snd
MountType=
MountOptions=defaults
CaeHostname=
XportHostname=

[Logs]
Facility=Syslog
LogDirectory=/home/rd/rdlogs
CoreDumpDirectory=/home/rd/rdlogs
LogPattern=%n-%Y%M%d.log
LogXloadDebugData=No

[Alsa]
PeriodQuantity=4
PeriodSize=1024
ChannelsPerPcm=-1

[Tuning]
UseRealtime=Yes
RealtimePriority=9

[Format]
Channels=2


Unless I'm missing something obvious (which I could be), I can't see any
reason why the 2 above wouldn't work.  

Thanks,

Lorne Tyndale



> 
> 
> > On Jul 4, 2017, at 14:26, Lorne Tyndale  wrote:
> > 
> > So I tried to set up RDSelect for the first time today, and I think I
> > set up the configuration files correctly.  In a folder /etc/rivendell.d/
> > I put 2 configuration files, each with a different Label parameter and
> > such.
> > 
> > I ended up with a segfault, core dump.  I'm running 64-bit Lubuntu 14.04
> > with Rivendell with 2.16.0 built from source, and the Tryphon QT3
> > packages.  I went ahead and set up the same configuration on another
> > test machine running the Broadcast Appliance, and rdselect worked as
> > expected, so I suspect this is something strange that happened with the
> > Lubuntu build.  
> > 
> > Anyone have thoughts on where the issue could be? I did run it as root.
> > I probably should just migrate the boxes that might need rdselect to the
> > broadcast appliacne.
> > 
> > Anyways, here's my back-trace:
> 
> Thanks.  Could you post your ‘rd.conf’ as well?
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|___
> 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


Re: [RDD] Segfault in RDSelect

2017-07-06 Thread Lorne Tyndale
Thanks for your suggestions.

I checked - I'm not running the HWE kernel, so that isn't it.

I went ahead and compiled QT3 from source, and then did a full recompile
of Rivendell 2.16.0, and ran into the same issue.  Backtrace is the
same:




Program received signal SIGSEGV, Segmentation fault.
0x7f63656d1e10 in QString::QString(QString const&) ()
   from /usr/local/qt3/lib/libqt.so.3
(gdb) bt
#0  0x7f63656d1e10 in QString::QString(QString const&) ()
   from /usr/local/qt3/lib/libqt.so.3
#1  0x7f63677b7e2d in RDConfig::mysqlDriver (this=this@entry=0x21)
at rdconfig.cpp:144
#2  0x7f63678a7c61 in RDDbValid (config=0x21, 
schema=schema@entry=0x7ffeacc5af7c) at rdstatus.cpp:70
#3  0x004069db in MainWidget::SetCurrentItem (this=this@entry=
0x1eeb6b0, id=-1) at rdselect.cpp:330
#4  0x004082cd in MainWidget::MainWidget (this=0x1eeb6b0, 
parent=) at rdselect.cpp:190
#5  0x004061ca in main (argc=1, argv=)
at rdselect.cpp:377



>  Original Message 
> Subject: Re: [RDD] Segfault in RDSelect
> From: Nick Andre 
> Date: Thu, July 06, 2017 1:29 am
> To: Lorne Tyndale , Fred Gleason
> ,  User discussion about the Rivendell Radio
> Automation System 
> 
> 
> You have to uninstall the HWE kernel if you have it or compile QT3 from
> source.
> On Wed, Jul 5, 2017 at 06:45 Lorne Tyndale  wrote:
> 
> > Thanks Fred!
> >
> > These are from my test system where I've tried to keep it as simple as
> > possible.  Note that on production systems I have changed passwords, but
> > for testing it is easiest to leave all with defaults.
> >
> > rd.conf:
> >
> > [Identity]
> > AudioOwner=lorne
> > AudioGroup=rivendell
> > Password=letmein
> > Label=Default
> >
> > [mySQL]
> > Hostname=192.168.0.40
> > Loginname=rduser
> > Password=letmein
> > Database=Rivendell
> > Driver=QMYSQL3
> >
> > [AudioStore]
> > MountSource=/var/snd
> > MountType=
> > MountOptions=defaults
> > CaeHostname=
> > XportHostname=
> >
> > [Logs]
> > Facility=Syslog
> > LogDirectory=/home/rd/rdlogs
> > CoreDumpDirectory=/home/rd/rdlogs
> > LogPattern=%n-%Y%M%d.log
> > LogXloadDebugData=No
> >
> > [Alsa]
> > PeriodQuantity=4
> > PeriodSize=1024
> > ChannelsPerPcm=-1
> >
> > [Tuning]
> > UseRealtime=Yes
> > RealtimePriority=9
> >
> > [Format]
> > Channels=2
> >
> >
> > -
> >
> > rd-standby.conf
> >
> > [Identity]
> > AudioOwner=lorne
> > AudioGroup=rivendell
> > Password=letmein
> > Label=StandbyServer
> >
> > [mySQL]
> > Hostname=192.168.0.100
> > Loginname=rduser
> > Password=letmein
> > Database=Rivendell
> > Driver=QMYSQL3
> >
> > [AudioStore]
> > MountSource=/mnt/var/snd
> > MountType=
> > MountOptions=defaults
> > CaeHostname=
> > XportHostname=
> >
> > [Logs]
> > Facility=Syslog
> > LogDirectory=/home/rd/rdlogs
> > CoreDumpDirectory=/home/rd/rdlogs
> > LogPattern=%n-%Y%M%d.log
> > LogXloadDebugData=No
> >
> > [Alsa]
> > PeriodQuantity=4
> > PeriodSize=1024
> > ChannelsPerPcm=-1
> >
> > [Tuning]
> > UseRealtime=Yes
> > RealtimePriority=9
> >
> > [Format]
> > Channels=2
> >
> >
> > Unless I'm missing something obvious (which I could be), I can't see any
> > reason why the 2 above wouldn't work.
> >
> > Thanks,
> >
> > Lorne Tyndale
> >
> >
> >
> > >
> > >
> > > > On Jul 4, 2017, at 14:26, Lorne Tyndale 
> > wrote:
> > > >
> > > > So I tried to set up RDSelect for the first time today, and I think I
> > > > set up the configuration files correctly.  In a folder
> > /etc/rivendell.d/
> > > > I put 2 configuration files, each with a different Label parameter and
> > > > such.
> > > >
> > > > I ended up with a segfault, core dump.  I'm running 64-bit Lubuntu
> > 14.04
> > > > with Rivendell with 2.16.0 built from source, and the Tryphon QT3
> > > > packages.  I went ahead and set up the same configuration on another
> > > > test machine running the Broadcast Appliance, and rdselect worked as
> > > > expected, so I suspect this is something strange that happened with the
> > > > Lubuntu build.
> > > >
> > > > Anyone have thoughts on where the issue could be? I did run it as root.
> 

Re: [RDD] Audio Adapter Issue

2017-07-13 Thread Lorne Tyndale
You can always try running it through Jack.  

The other option is to add the rate line into your /etc/asound.conf file
to try and force the card to 44100

I've had situations where either / both of the above have worked for me.

Lorne Tyndale



> 
> I would like to try but not sure I can identify what needs rolled back.
> Sounds like I need to wipe the drive and start over.
> 
> On Thursday, July 13, 2017, Steve Varholy  wrote:
> > I had a similar issue with my appliance. The upgrade of the appliance
> caused an update to the driver for the built-in soundcard. The updated
> driver no longer supported 44.1. The only way to get it to work was run 48k
> sample rate and everything ran fast/not at all.
> >
> > Ended up getting another soundcard.
> >
> > Can you roll back just the driver?
> >
> > Steve Varholy
> > President and General Manager
> >
> > 
> >
> > The Historic Barringer Building
> >
> > 1338 Main Street - Suite 202
> >
> > Columbia, South Carolina 29201
> >
> > Office: (803) 753-7260 x 251
> >
> > Direct: (803) 404-5535
> >
> > Cell: (703) 585-2101
> >
> > A Service of the Independent Media Foundation
> >
> > 
> > From: rivendell-dev-boun...@lists.rivendellaudio.org <
> rivendell-dev-boun...@lists.rivendellaudio.org> on behalf of Frank White <
> frankwhitetechnol...@gmail.com>
> > Sent: Thursday, July 13, 2017 10:45:57 AM
> > To: rivendell-dev@lists.rivendellaudio.org
> > Subject: [RDD] Audio Adapter Issue
> >
> > I am hoping someone on the list can point me in the right direction with
> an audio adapter issue.  While trying to make the GPIO system work I needed
> to update to the latest version of Rivendell.  I was on 2.5.5.  Along with
> the Rivendell update I updated the other software.  Now on version 2.16.0.
> Originally loaded the software using the Paravel Appliance Software.  I
> have always had to add "rate 44100" to the asound.conf file.  But after the
> update the sound adapter would not be recognized by Rivendell.  Changed
> System Settings in RDADMIN to 44100 and the adapter shows up again.  But
> now the audio will play for about 2 seconds and then sound like white
> noise.  Anyone have any ideas?
> >
> > --
> > Frank White
> > Frank White Technology
> >
> 
> -- 
> Frank White
> Frank White Technology___
> 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


Re: [RDD] Manage Replicators

2017-08-04 Thread Lorne Tyndale
Hi,

It all depends on what exactly you're trying to achieve.  Are you trying
to have this "outside" system tied in / connected to your main system at
the station, or is it going to be a stand-alone?

Replicating the system is fairly straight forward - have Rivendell
installed on your target machine.  Copy over your /var/snd to your new
machine.  Copy over the database.  Make sure your new machine is listed
/ set up in the rivendell hosts in rdadmin and has access to the service
/ library / etc that you want it to have access to.  You're then up and
running with a stand alone machine which has the same music library /
clocks / etc.

Lorne Tyndale
> 
> Hello,
> 
> We'd like to copy our Rivendell to a light version in a computer for 
> outside animation (without show specific carts)
> 
> I found an old mail 
> (http://caspian.paravelsystems.com/pipermail/rivendell-dev/2011-December/014270.html)
>  
> talking about Replicators.
> 
> It seems that it answers our concern but I don't know if the feature 
> has been developped since
> 
> Is it the right explanation ?
> 
> Thanks :-)
> 
> PVB
> RUN
> ___
> 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


Re: [RDD] Manage Replicators

2017-08-05 Thread Lorne Tyndale
Hi,

Sounds like you're looking for rivendell_filter

rivendell_filter will copy carts and database entries for a cart group,
or a range of carts (or a single cart) to another system.  I did this
not too long ago to use a laptop as a demo of Rivendell, I wanted to
grab a sample set of carts as opposed to an entire library.  You can
search the Wiki, here's the direct link:

http://rivendell.tryphon.org/wiki/RIVENDELL_FILTER.txt_-_Usage_Notes_for_the_%27rivendell_filter%27_Import_Script.

What I did for my setup:

1. Installed a fresh copy of Rivendell in stand alone mode on my demo
laptop, got it all up and running, made sure I could play a test file
and such. Tested a local import and made sure that worked, etc.

2. Created the groups on my demo system that I wanted to bring over

3. Temporarily mounted my /var/snd on my Source Rivendell server to a
folder in the home folder on my demo machine with read only access to
the source (so I mounted the source /var/snd to a folder that I created
/home/demo/mnt )

4.  Made sure I had enough disk space, and then ran from a shell:

rivendell_filter -h 192.168.0.100 -u rduser -p letmein -A /home/demo/mnt
-g MUSIC1

It took some time, but imported the entire MUSIC1 group on to my demo
laptop.

Note, it does not import things such as clocks, logs, etc. This script
only deals with carts in the library, so if you want that to come across
you'll need to use one of the methods to do this.  But it sounds like it
this may be what you're looking for.

Lorne Tyndale


> 
> 
> Hello,
> 
> A stand alone but I need only one or two groups of carts. 
> Unfortunately, the carts numbers are too mixed in differents so I can't 
> rely on these
> 
> My /var/snd is too big for this computer :-)
> 
> In RDAdmin -> 'Manage Replicators' you can choose groups but it doesn't 
> seem to export to another Rivendell.
> 
> If there is no easy way, I'll do it with a SQL request but I don't want 
> to reinvent an existing procedure :-)
> 
> Thx
> 
> PVB
> Le 2017-08-04 22:09, Lorne Tyndale a écrit :
> > Hi,
> >
> > It all depends on what exactly you're trying to achieve.  Are you 
> > trying
> > to have this "outside" system tied in / connected to your main system 
> > at
> > the station, or is it going to be a stand-alone?
> >
> > Replicating the system is fairly straight forward - have Rivendell
> > installed on your target machine.  Copy over your /var/snd to your 
> > new
> > machine.  Copy over the database.  Make sure your new machine is 
> > listed
> > / set up in the rivendell hosts in rdadmin and has access to the 
> > service
> > / library / etc that you want it to have access to.  You're then up 
> > and
> > running with a stand alone machine which has the same music library /
> > clocks / etc.
> >
> > Lorne Tyndale
> >>
> >> Hello,
> >>
> >> We'd like to copy our Rivendell to a light version in a computer for
> >> outside animation (without show specific carts)
> >>
> >> I found an old mail
> >> 
> >> (http://caspian.paravelsystems.com/pipermail/rivendell-dev/2011-December/014270.html)
> >> talking about Replicators.
> >>
> >> It seems that it answers our concern but I don't know if the feature
> >> has been developped since
> >>
> >> Is it the right explanation ?
> >>
> >> Thanks :-)
> >>
> >> PVB
> >> RUN
> >> ___
> >> 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


Re: [RDD] NetJack

2017-08-15 Thread Lorne Tyndale
I did manage to get Rivendell working with Netjack years ago, but then
abandoned it due to finding that Netjack was not as reliable as I'd
like.

For what you're looking to do, you could always use Jack with the dummy
driver option, then Glasscoder to encode the audio for icecast
streaming.

Lorne Tyndale



> 
> Has anyone managed to get Rivendell to play nicely with NetJack? I'm
> looking at a solution where we would have 2 or 3 Riv playout machines as
> VM's without physical soundcards... And would like to just pipe the audio
> out for streaming over the network...
> 
> TIA
> Nathan
> 
> -- 
> 
> Nathan Lawson___
> 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


Re: [RDD] Rivendell - StereoTool Plugin

2017-08-24 Thread Lorne Tyndale
Emir,

Of course you can do as you wish, but what you've described is going to
reduce your audio quality.  Uncompressing from an already compressed
audio format, performing destructive modification of the file, and then
compressing back to a lossy format.  I doubt I'd want to put that on the
air, especially when you can pick up a system that will have enough
processing power to run stereotool and rivendell in real time for
relatively low cost.

Just something to think about.

Lorne Tyndale

> Yes Drew you're right but i didn't like the sound running real time, it
> also uses so much ram and cpu.
> I decided to do:
> 
> Copy main version of files to a new place,
> Convert files from mpeg2 to wave with ffmpeg (i'm using mpeg2 in
> RDLibrary),
> Process in stereotool cli and then convert to mpeg2 again.
> 
> 
> 
> 24 Ağu 2017 Per, saat 03:49 tarihinde drew Roberts  şunu
> yazdı:
> 
> > AFAIK,
> >
> > you need the jack gui to do realtime processing with ST. You can use the
> > commandline ST to preprocess your audio though. I have done that on a pi as
> > the gui ST was too much when I tested things. Not as good but it worked.
> >
> > If you find out different, let us know.
> >
> > all the best,
> >
> > drew
> >
> > On Wed, Aug 23, 2017 at 6:59 PM, Emir Yapıcı  wrote:
> >
> >> Nope. I want to use like command line tool, because gui and real time
> >> processing needs much power.
> >>
> >>
> >> *Emir YAPICI*
> >>
> >>
> >> On Thu, Aug 24, 2017 at 1:57 AM, drew Roberts  wrote:
> >>
> >>> If you use Rivendell with jack, ST can be put in the chain.
> >>>
> >>> Is that what you are asking?
> >>>
> >>> drew
> >>>
> >>> On Wed, Aug 23, 2017 at 4:41 PM, Emir Yapıcı 
> >>> wrote:
> >>>
> >>>> Hi!
> >>>>
> >>>> Is there a plugin to use StereoTool connected with Rivendell or should
> >>>> i use command line version of StereoTool?
> >>>>
> >>>> *Best Regards*
> >>>> *Emir YAPICI*
> >>>>
> >>>>
> >>>> ___
> >>>> Rivendell-dev mailing list
> >>>> Rivendell-dev@lists.rivendellaudio.org
> >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Enjoy great *Bahamian Music* at:
> >>> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> >>> <http://www.bahamianornuttin.com/>
> >>>
> >>
> >>
> >
> >
> > --
> > Enjoy great *Bahamian Music* at:
> > Bahamain Or Nuttin - http://www.bahamianornuttin.com
> > <http://www.bahamianornuttin.com/>
> >
> -- 
> 
> *Emir YAPICI*___
> 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


Re: [RDD] Audio over IP

2017-09-19 Thread Lorne Tyndale
Hi,

I've done this with James Harrison's OpenOB before.  OpenOB is
essentially a set of scripts to start a gstreamer pipe to a remote site,
but makes things easy.  It'll work with JackAudio, so just pipe the
Rivendell output to the OpenOB input with Jack.  OpenOB can be tweaked
to have extremely low latency if you have a decent  link.

https://jamesharrison.github.io/openob/

You will need a "decoder" computer at the receiving end.  It could be
done with something like a PI.  Onboard sound on the PI is poor, but
I've read that some folks have managed to get decent quality audio out
of the HDMI port on the PI using an HDMI --> Audio converter/extractor
box.  Otherwise there's the add-on audio cards for the PI that have been
reported to work well.

If you want something more robust then a PI (I'm still not sure I'd
trust a PI as a main component in something mission critical such as the
primary airchain) you could use a PC.  This would open up additional
audio card options too.

Doing this also makes it easy to send additional data such as RDS
information, etc.

I know there are codecs (Tieline, Comrex) that support OPUS, I admit
that I've never tried one of these with an OpenOB stream.  Not sure if
it would work.

Lorne Tyndale

> 
> Greetings all,
> 
> Wondering if anyone has had some elegant ideas on how to output from
> rdairplay directly to a ip audio to the waiting decoder at the transmitter
> site?
> Realizing that some on board software encoder would have to be present on
> the rdairplay machine.
> Would like to decode on the other end with a hardware decoder so some
> standard encoder format would be necessary.
> 
> I have done this with darkice for streaming and can do air quality with
> opus but the latter lacks any (known to me) hardware decoder other that a
> computer at the transmitter site.
> 
> Any thoughts?
> 
> Cheers___
> 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


Re: [RDD] Rivendell v2.17.0

2017-10-12 Thread Lorne Tyndale
Fred,

Thank you so much for this release and all the work that you do.  I am
always impressed by the thought and attention to detail put into each
release.

I've been trying out the new experimental "render log" option.  I'm
impressed with this idea and thus far with my testing it seems to be
functioning well.

One question I have - is there an option to have the playout content
details of the resulting audio file available somewhere?  I'm thinking
of something like a playout log - something with the start and end time
of each track in the resulting file (or cart/cut),
title/artist/additional info, etc.  

Something like this would seem to be very useful for situations where
one station is generating programming for use on other stations, such as
syndication type situations.  One could just generate a log of a
programme, render the log to a single audio file, and then you'd have
your single file along with a track list for distribution.

An XML file would probably make the most sense for this - similar to the
XML files that can be generated with RDExport.  

Anyways, I'm not sure if this type of option exists, or if it is a
feature suggestion.

I'm really impressed! Thanks again!

Lorne Tyndale

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


Re: [RDD] USB audio with appliance dvd

2017-10-16 Thread Lorne Tyndale
Tim,

The issues I've run into with USB-based audio are:

1.  If there is an onboard audio card, sometimes I have to disable it in
the system BIOS

2.  If using just straight ALSA then in the /etc/asound.conf file I have
to manually add a rate line to set the sample rate.  So it might look
something like this:

pcm.rd0 {
  type hw
  card 0
  device 0
  rate 48000
}
ctl.rd0 {
  type hw
  card 0
}

Of course the device and such will need to point to whatever your USB
audio shows up as.

3.  If I'm using Jack, then for most USB audio I find that I have to add
the -S option for the alsa back end to force it to configure the card
for 16 bit samples.  Note the "S" has to be capital (the lower case s
does something different)

Also on CentOS / the appliance DVD with the default setup caed and jackd
end up running as different users.  In order for jackd and caed to talk
to each other they need to run under the same user id.  Depending on how
things are starting up this may be creating difficulties there.

One thought - see if you can even get Jack to work with the sound card. 
Make sure that caed is not running and start up your jack server, then
use something simple like jack.play to try and play one of your audio
files (if you've used PCM as your audio library then jack.play can play
any of the files in /var/snd).  You'll have to manually connect the
client to your output in the jack connections, but at least it'll tell
you if you 're even getting audio out.  If you can get audio to play
with something simple, but Rivendell still won't see Jack, then it is
likely that the daemons and jackd are running under different users.

Lorne Tyndale


> 
> Greetings,
> 
> Unless someone can offer a solution I guess I'm going to have to stay on
> Ubuntu.
> I have tried for hours to get centos 6 to recognize my USB audio interface
> to no avail.
> 
> Works without hesitation on Ubuntu and Debian both in alsa and with Jack.
> 
> 
> In centos
> 
> Alsa says it's there.
> Jack says it's there
> 
> Neither will use it, nor will rivendell.
> 
> Just pulled the last batch of hair.
> 
> Cheers
> 
> Tim Camp
> WZEW___
> 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


Re: [RDD] Compiling from source and apache

2017-10-17 Thread Lorne Tyndale
Tim,

When I bild on a Ubuntu box the conf I use is:

./configure --libexecdir=/var/www/rd-bin
--sysconfdir=/etc/apache2/conf-available

then when all is said and done I make sure there is a link to
rd-bin.conf from the /etc/apache2/conf-available folder
/etc/apache2/conf-enabled so that when I restart apache it'll find the
config for Rivendell.

Lorne Tyndale

> 
> Greetings,
> 
> When running ./configure
> Should the flag --libexecdir point to the localhost website folder, for
> example on my machine this is /var/www/html
> 
> Thanks
> 
> Cheers
> 
> Tim Camp___
> 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


Re: [RDD] Compile on Antergos

2017-10-23 Thread Lorne Tyndale
Hi,

I've found in the past that the directions for Ubuntu Xenial seems to
work well for compiling QT3.

http://rivendell.tryphon.org/wiki/UbuntuXenial

I don't know if that'll work on Antergos, but at a minimum it might give
you a pointer in the right direction, along with URL's for the needed
sources.



> 
> 
> On Sun, 22 Oct 2017, Gary Hodder wrote:
> 
> > did that and all went well until rdadmin cannot connect to mysql 
> > database. Duh qt3 does not compile drivers by default. Wrestling with 
> > finding the qt3 mysql driver source, I think Luke has left the 
> > building...
> 
> I did it on a Hummingboard (Israeli Raspberry Pi clone) a couple yars 
> ago, but I forget where I found the qt3-mysql driver.
> 
> 
> Rob
> 
> -- 
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.___
> 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


Re: [RDD] Log Render metadata [WAS: Rivendell v2.17.0]

2017-10-26 Thread Lorne Tyndale
Fred,

I admit that those are good questions, XML may not be the best format. 
Embedding the information in the audio file may not be the best option. 
I prefer to have an external file generated for a number of reasons, it
could be a text file (or CSV or something similar).

My main thought would be the ability to generate an output report
similar to a playout report which could be included with the rendered
audio file (in the situation where you are rendering to a file).  That
way for example if I put together a 2 hour program that is to air on
another station I can render it to a file and send both the audio file
and a track list file to whomever I am sending it to.

I do see how some of that information can be gathered with the --verbose
option and then it is possible to do a database lookup to pull any
additional track / cart information that I might want to include in my
track list.  I'm just looking to see if there is a more elegant option.

Lorne Tyndale




> > 
> > An XML file would probably make the most sense for this - similar to the
> > XML files that can be generated with RDExport.  
> 
> I agree that generation of a separate manifest file containing the details 
> you mention would make a lot of sense.  Embedding it into the audio file begs 
> the question of how to structure the containing data chunk.  To just say 
> ‘XML’ is not a sufficient specification; what DTD should be used?  Are there 
> any tools out there already that are capable of reading such data?  We could 
> just write the whole thing as a text block (say, into the TagText structure 
> of a CartChunk), but are there other, more structured, formats that would 
> make more sense?
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  You can never tell which way the train went by looking at the   |
> |  tracks. |
> |  -- Kramer's Law |
> |--|___
> 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


Re: [RDD] Log Render metadata [WAS: Rivendell v2.17.0]

2017-10-26 Thread Lorne Tyndale
I would think to do this you'd simply set up your log, and then (if
doing the renderr from the GUI) highlight the hour you want, export Hour
1. Highlight hour 2, export hour 2.  etc.

In the command line version you can specify either start / end times to
render or start / end line numbers from your log.  

Lorne


> Silly me, I clicked reply which makes it reply to the last person that sent 
> an email in the same thread instead of replying to the group. 😖
> 
> > On Oct 26, 2017, at 10:08 PM, Matthew Chambers  
> > wrote:
> > 
> > I’d be curious how a person could use this feature to generate a log into 
> > not one large file but say, hour long blocks to distribute for rebroadcast. 
> > That way the end station can import them and play their legal ID at the top 
> > of the hour between the :59:50ish long audio files if one created their log 
> > that way. 
> > 
> > What I’m thinking is that I could generate a log for say a 4 hour show with 
> > voice track markers in it based on clocks I create in Rivendell, then use 
> > the log-editor to record and segue the voice tracks and then render the 
> > thing and upload it for radio stations to download and import. 
> > 
> > Matthew A. Chambers
> > 660-346-0703
> > 
> > Day job 1
> > Director - Macon County Office of Emergency Management
> > 101 Washington St, Macon MO 63552
> > 
> > Day job 2
> > M Chambers Communications Engineering
> > Broadcast Engineering and Icom 2-Way Radio Sales & Service
> > 
> > Side job
> > Firefighter - Atlanta Volunteer Fire Department
> > 
> > Night job
> > Co-host Macon Tiger Football on True Country KLTI 93.3, 102.7, 106.5 FM and 
> > 1560 AM
> > And online at kltiradio.com
> > 
> >> On Oct 26, 2017, at 9:28 AM, Lorne Tyndale  wrote:
> >> 
> >> Fred,
> >> 
> >> I admit that those are good questions, XML may not be the best format. 
> >> Embedding the information in the audio file may not be the best option. 
> >> I prefer to have an external file generated for a number of reasons, it
> >> could be a text file (or CSV or something similar).
> >> 
> >> My main thought would be the ability to generate an output report
> >> similar to a playout report which could be included with the rendered
> >> audio file (in the situation where you are rendering to a file).  That
> >> way for example if I put together a 2 hour program that is to air on
> >> another station I can render it to a file and send both the audio file
> >> and a track list file to whomever I am sending it to.
> >> 
> >> I do see how some of that information can be gathered with the --verbose
> >> option and then it is possible to do a database lookup to pull any
> >> additional track / cart information that I might want to include in my
> >> track list.  I'm just looking to see if there is a more elegant option.
> >> 
> >> Lorne Tyndale
> >> 
> >> 
> >> 
> >> 
> >>>> 
> >>>> An XML file would probably make the most sense for this - similar to the
> >>>> XML files that can be generated with RDExport.  
> >>> 
> >>> I agree that generation of a separate manifest file containing the 
> >>> details you mention would make a lot of sense.  Embedding it into the 
> >>> audio file begs the question of how to structure the containing data 
> >>> chunk.  To just say ‘XML’ is not a sufficient specification; what DTD 
> >>> should be used?  Are there any tools out there already that are capable 
> >>> of reading such data?  We could just write the whole thing as a text 
> >>> block (say, into the TagText structure of a CartChunk), but are there 
> >>> other, more structured, formats that would make more sense?
> >>> 
> >>> Cheers!
> >>> 
> >>> 
> >>> |--|
> >>> | Frederick F. Gleason, Jr. |  Chief Developer |
> >>> |   |  Paravel Systems |
> >>> |--|
> >>> |  You can never tell which way the train went by looking at the   |
> >>> |  tracks. |
> >>> |  -- Kramer's Law |
> >>> |

Re: [RDD] GPI device

2017-11-27 Thread Lorne Tyndale
Hi,

I've been using a PC with a serial port for years - gives you up to 4
inputs and 2 outputs per serial port.

My advice is to make sure it is a real serial port and not a USB to
RS232 dongle.  The dongles I've found to be more trouble then they are
worth and not what I would recommend for a production / mission critical
environment.

Lorne Tyndale

> 
> Hi,
> Can anyone help me with a recommendation for a stable device to use as gpi 
> for 3 inputs?
> I have some problems with a "gentleman" who when he heard of the "joystick" 
> said he is not "pro"  :-)
> I just need to get open/closed contact.
> Thanks!
> 
> mIRCea___
> 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


Re: [RDD] GPI device

2017-11-27 Thread Lorne Tyndale
Hi,

I've posted this to the list before, but I can post it again.

To enable it in Ubuntu / Debian, first add your user to the dialout
group (at least I think the Dialout group exists within Debian) with:

sudo adduser username dialout

If you are running the Broadcast Appliance, you'll still need to add the
user running the Rivendell daemons to the dialout group.

usermod -a -G dialout exampleusername


Then log off and log back in.

Next, go to RDAdmin --> Manage Hosts --> Select your host

If you have not already done so, enable your serial port.  Click Serial
Ports, select the port ID (in my case I'm using Serial0), select the
Enable box, and then for the TTY Device, put in the TTY Device of your
serial port - in my case I put:

/dev/ttyS0 

Because I'm using the first serial port on my system (Com1 from the old
DOS / Windows days).  Of course if you're using a different serial port 
you'll need to enter the appropriate information.

Next, click on Switchers GPIO, then click ADD.  Select a Matrix number
and at the bottom of the Switcher Type pull-down list, find "Serial Port
Modem Control Lines"

On the next screen, you can give it a description, and you can configure
the GPI's (you'll have 4 of them), and GPO's (you'll have 2 of them). 
You can assign macros to the ON and the Off transitions for each control
line.

The device then will be in the matrix under the device matrix ID you
assigned, you can control the GPO's with macros and such.  It'll also
show up in rdgpimon if you run that to monitor.

I can't recall if I had to restart the daemons or not, if it initially
doesn't show up try restarting the daemons.

For testing, the important parts of the pinout on the 9 pin serial port
is:

CD (Carrier Detect / GPI ) - Pin 1
DSR (Data Set Ready / GPI) - Pin 6
CTS (Clear to Send / GPI) - Pin 8
RI (Ring Indicate / GPI) - Pin 9

DTR (Data Terminal Ready / GPO) - Pin 4
RTS (Request to Send / GPO) - Pin 7

Ground - Pin 5

The GPI's are just looking for a positive or negative voltage, if I
recall correctly the specification calls for 3 to 25 volts (+ or -). 
When I tested I just built a little box that held 2 AA batteries (its
actually the remains of an old flashlight), with the negative to ground
and the positive alternating between pins 1, 6, 8, and 9, it was enough
to trigger the GPI and I could see it responding on rdgpimon, with
RDAirplay responding the way I'd built the macros that I'd assigned to
the GPI's to respond

The GPO's will trigger a voltage, when testing just write a couple
of macros to turn them on and off and put them on the panel, then just
watch with a voltage on my multimeter.

So in my setup I have the Serial port set up on Matrix 0.  To turn on
Output 1, I can issue a:

GO 0 O 1 1 0!

To turn it back off, I can issue a: 

GO 0 O 1 0 0!

If I want to just toggle output 1 for a half second, it is a:

GO 0 O 1 1 500!

I've been using a serial port for years and it has all functioned as
expected.

In my case I use a 6-volt (DC) wall-wart to provide the power for my
inputs which I 
salvaged from the wall-wart graveyard box.  The ground on the 6 volt
output hooks 
up to the ground on the serial port, the +  side gets shared to 4
buttons, with the 
other side of each button going to pin 1, 6, 8, or 9.  Press the button
and 
it'll put +6VDC into the appropriate input, Rivendell sees the GPI and
responds 
based on the macro that I've assigned in RDAdmin --> Manage Hosts -->
Switchers / GPIO

For the GPO's I've got the output lines (pin 4 or 7) connected to a
transistor circuit that I wired
up which fires one of those little Raspberry PI dual-relay boards that
you can find for around $20.

It did take me a bit to figure it all out, but once I got it working it
has been rock-solid stable.

Lorne Tyndale



> 
> I’ve thought of using a serial port too. Do you have a schematic on how to 
> make it work and where the voltage
> comes from?
> 
> For $$ that ethernet GPIO device looks awesome.
> 
> 
> > On Nov 27, 2017, at 11:11 AM, Lorne Tyndale  wrote:
> > 
> > Hi,
> > 
> > I've been using a PC with a serial port for years - gives you up to 4
> > inputs and 2 outputs per serial port.
> > 
> > My advice is to make sure it is a real serial port and not a USB to
> > RS232 dongle.  The dongles I've found to be more trouble then they are
> > worth and not what I would recommend for a production / mission critical
> > environment.
> > 
> > Lorne Tyndale
> > 
> >> 
> >> Hi,
> >> Can anyone help me with a recommendation for a stable device to use as gpi 
> >> for 3 inputs?
> >> I have some problems with a "gentleman" who when he heard of 

Re: [RDD] OT. anyone done Linux/stereotool/ASI card? (ASI6622)

2017-12-16 Thread Lorne Tyndale
Hi,

I don't have a spare ASI card to experiment with, but I seem to recall
from previous discussions on the topic that the difficulty is that the
ASI card uses its own drivers rather then interfacing with the ALSA
drivers.  Since Jack likes to use the ALSA driver on the back end, this
is where the difficulty is.

Lorne Tyndale

> 
> 
> Hey Cowboy,
> 
> thanks for the response.
> 
> On Sat, Dec 16, 2017 at 11:25 AM, Cowboy  wrote:
> 
> > On Saturday 16 December 2017 10:34:36 am drew Roberts wrote:
> > > I am looking to build a tempoirary processor while an optimod gets
> > repaired.
> > >
> >
> >  No, but since it's temporary I'll tell you what I *have* done !
> >
> >  SoX !
> >  You can do multi-band, single band, fast, slow, aggressive, or not.
> >  The thing is, you'd have to do it.
> >  It's been a while, else I'd send you the command lines for both
> >  a 5 band and a three band. The 5 band wasn't significantly better,
> >  and the 3 band is less taxing on the system.
> >  It can be quite taxing on the system, causing some latency, but since
> >  it's temporary, and requires nothing you don't already have...
> >  Simple BASH pipe.
> >  I know, that's not what SoX is for, but it does work !
> >
> 
> As I said to Hoggins, I am having trouble trying to toggle capture on in
> alsamixer for the ASI card. I never the the ---'s that indicate it is
> possible to toggle capture for a control for the ASI card...
> 
> all the best,
> 
> drew
> 
> >
> > --
> > Cowboy
> >
> > http://cowboy.cwf1.com
> >
> > Just as most issues are seldom black or white, so are most good
> > solutions seldom black or white.  Beware of the solution that requires
> > one side to be totally the loser and the other side to be totally the
> > winner.  The reason there are two sides to begin with usually is
> > because neither side has all the facts.  Therefore, when the wise
> > mediator effects a compromise, he is not acting from political
> > motivation.  Rather, he is acting from a deep sense of respect for the
> > whole truth.
> > -- Stephen R. Schwambach
> >
> 
> 
> 
> -- 
> Enjoy great *Bahamian Music* at:
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> <http://www.bahamianornuttin.com/>___
> 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


Re: [RDD] [RDP] glasscoder/glassgui shout from alternate source?

2017-12-19 Thread Lorne Tyndale


Last time I tried Glasscoder, it just acted as a Jack client, you could
route anytihng within Jack to it.

The first thing I'd check is if Jackd is running under a different user
then classcoder.  They both need to be running under the same user
account or they won't see each other.




> 
> Can glasscoder/glassgui be used to shout from a source other than
> rivendell? If so, what are the source settings to get it to show up in the
> jack graph in qjackctl?
> 
> I have it telling me it is connected but it is not showing up for me to
> make the connections.
> 
> This is on centos 7.
> 
> all the best,
> 
> drew
> -- 
> Enjoy great *Bahamian Music* at:
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> ___
> Rivendell-prog mailing list
> rivendell-p...@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-prog
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] resampling

2018-01-18 Thread Lorne Tyndale
Maybe I'm missing some part of the discussion, but is there any real
need to resample to 44.1?

For sure 48 takes a little bit more storage space, but if you're already
running mpeg compression you've already reduced your storage space
needed.  And storage is cheap.

Most sound cards can play either 44.1 or 48.  And the few that have
difficulty with one or the other sample rate are not worth using in a
production environment (just my opinion of course).  Even the cheap USB
($5 and sometimes less) audio dongles can handle both sample rates.

Just something to consider before spending time and effort to resample
or re-import.

Lorne Tyndale

> thank you all, I just didn't want to re-import because of all the cue
> points I already had set. But oh well, something to do on sleepless nights.
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] resampling

2018-01-18 Thread Lorne Tyndale
If it were me I'd set Jack to 48 and have the streaming encoder resample
to my streaming bitrate.  Actually I'd generate several streams at
different bitrates using Liquidsoap to send to the streaming server so
that I could have a "super low bandwidth" for smartphones on 3G or folks
on dialup, and a "medium rate" for those on links such as slower DSL,
and a "high rate" for those on high speed / fibre / etc.

All can be done with a library encoded at 48

> 
> 
> No. I use Rivendell with jack. If i set jack at 44.1k songs play at the
> wrong pitch.
> 
> On Jan 18, 2018 9:41 AM, "Fred Gleason"  wrote:
> 
> > On Jan 18, 2018, at 12:33, jorge soto  wrote:
> >
> > I stream through shoutcast and they require 44.1k in order to trigger some
> > features.
> >
> >
> > So you’re somehow streaming these files directly, rather than playing them
> > through Rivendell?
> >
> > Cheers!
> >
> >
> > |--|
> > | Frederick F. Gleason, Jr. |  Chief Developer |
> > |   |  Paravel Systems |
> > |--|
> > |  A room without books is like a body without a soul. |
> > | -- Cicero|
> > |--|
> >
> >
> > ___
> > 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Using 2.17 with jack

2018-01-21 Thread Lorne Tyndale
Tim,

If you are running on a Debian based distribution - I've run into this
very issue on my LUbuntu machines - then the only way I've been able to
make Rivendell --> Jack --> Other Jack stuff work is to do a

sudo chmod -s caed rdcatchd ripcd

In which ever folder those 3 files are located.  On my Lubuntu machines
(compiled from source) they end up in:

/usr/local/bin/

But they might be in 

/usr/bin/

The "s" flag is what causes the daemons to run as root, once removed
they'll run as the logged in user.

You'll need to modify your init script to ensure that Jack is running
before caed, otherwise caed will grab the sound card.  You'll also need
to ensure your init script sets up the /var/run/rivendell folder since
that'll vanish on a reboot.  At one point there was an init script
written for Debian-based builds which would do just this.

I know that Fred has previously pointed out that this isn't the correct
way to run caed - that it should be running as root and not as the
logged in user for security reasons. But when you're running caed as
root on a debian based system it is almost impossible to get it to talk
to jack and have it useful - since other applications (audacity, ardour,
etc) need to run as the logged in user and also need to see Jack.  I'm
not sure what the "correct" answer is.

Lorne Tyndale



> 
> 
> Temporary indeed
> There has to be a better solution to this.
> Again I have never had this problem with Jack before.
> Got to be something in the way init is starting Rivendell.
> 
> More hair pulling
> 
> Cheers
> 
> Tim
> 
> 
> On 21 Jan 2018 10:33, "David Klann"  wrote:
> 
> > Hey Tim,
> >
> > That is a temporary "fix": /var/run (which is a symbolic link to /run)
> > is a so-called "ephemeral" directory; that is, it is created on system
> > boot by one of the system daemons (varies depending on your startup
> > system (SysV Init or systemd).
> >
> > You'll have to add a line to one of your startup scripts if you want to
> > continue using this technique and have it survive a reboot. For CentOS 6
> > variants, you might add your chown call to /etc/rc.d/rc.local. Things
> > are a bit more complex for CentOS 7 -- I do not quite have a good
> > solution for that...
> >
> > Hope this helps!
> >
> >   ~David Klann
> >
> > On 01/21/2018 10:25 AM, Tim Camp wrote:
> > > Chown /var/run/rivendell now works.
> > >
> > > Never had to ever do anything like that before.
> > >
> > > Thanks all
> > >
> > > Cheers
> > >
> > > Tim
> > >
> > >
> > > On Jan 21, 2018 9:44 AM, "Tim Camp"  > > <mailto:t...@dotcom1.net>> wrote:
> > >
> > > Well have tried all suggestions and still can only register
> > > rivendell as a jack client if jackd is started as root. Can start
> > > rivendell as user, start jack as user, no client. Start rivendell as
> > > user, start jack as Root, we have client.
> > > The of course all other programs can't use jack unless they are
> > > started as root.
> > >
> > > This is a production room machine, so I have to have Ardour and
> > > Audacity working with jack as well as rivendell.
> > >
> > > User is part of real-time so I don't have to have root to run jack.
> > >
> > > Gonna look at /var/run/rivendell, that has to be where the problem
> > is.
> > >
> > > This is Debian btw, not Ubuntu
> > >
> > > Thanks for all the help
> > >
> > > Tim Camp
> > > WZEW-FM WNSP-FM
> > > Mobile, Al.
> > >
> > >
> > > On Jan 20, 2018 2:31 PM, "Tim Camp"  > > <mailto:t...@dotcom1.net>> wrote:
> > >
> > > Greetings,
> > >
> > > I have one machine where rivendell refuses to show up as a
> > > client for jack.
> > > here are the facts
> > >
> > > rivendell audio works fine using alsa connection directly to card
> > > jack will start from command line or qjackctl and all other
> > > audio programs will use it.
> > > same command put in rdadmin/jack configuration will not start
> > jack.
> > > jack is started rt @ 44100 - rivendell sample rate of card is
> > 44100
> > > If I start jack server manually before rivendell daemons when
> > > rivendell daemons are s

Re: [RDD] New audio server

2018-02-02 Thread Lorne Tyndale
Sounds like a permissions thing on /var/snd.  Double check the
permissions and that the users/groups are set up correctly.

Also make sure that the machine running your Apache server and the
rivendell cgi has the needed permissions and can see your new /var/snd

Lorne Tyndale



> 
> Btw
> I can delete carts in rdlibrary but not directly in var snd
> 
> Tim
> 
> 
> On 2 Feb 2018 10:27, "Tim Camp"  wrote:
> 
> > Greetings,
> >
> > We just installed a new nfs server for /var/snd.
> > Redirected all clients.
> > Now on any client you can record, you can import into a already existing
> > cart, but you cannot create a new cart.
> >
> > Error is unable to create destination file
> >
> > I know this is in my brain but after a all nighter I'm not able to pull it
> > out.
> >
> > Cheers
> >
> > Tim Camp
> > WZEW-FM
> >
> >___
> 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


Re: [RDD] Lost Audio After Video Card swap out.

2018-02-26 Thread Lorne Tyndale
Hi, 

It is difficult to know with your description what your "original"
configuration was.  But based on your description I would agree that it
likely has something to do with an HDMI audio out.

If you do  a:

cat /proc/asound/modules

It'll list the audio cards on your system.

If you also do:

cat /etc/asound.conf

On a basic system with a single sound card you've probably got pcm.rd0
and ctl.rd0 defined to use a particular card number.

You'll want the card number in /etc/asound.conf to correspond to the
audio card that you want to use.  

So for example, on my system:
# cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_dummy

Card 0 is my on-board card, 1 is the snd-dummy driver.  To have audio
come out my onboard, my /etc/asound.conf looks like this:

# cat /etc/asound.conf

pcm.rd0 {
  type hw
  card 0
  device 0
rate 48000
}
ctl.rd0 {
  type hw
  card 0
}

To edit /etc/asound.conf you'll need to be root (use sudo on ubuntu to
be able to edit it).

Also note - my onboard audio is an intel-based card which requires me to
specify the sample rate that I'm using in asound.conf - if I don't
specify this then the card is not recognized by Rivendell.

Set all of that, restart your daemons, and see if it works.

Hope this helps.





> 
> 
> Hello all.. 
> 
> I did an upgrade on my Riv box in my home studio and my sound is gone. I’m 
> thinking because this new card has HDMI that Ubuntu replaced my sound cards 
> with the HDMI. 
> 
> I ran rdalsaconfig and it showed that all the card that is in there (CA106) 
> is not selected. So I selected it, restarted and it seem to disappear. 
> 
> I checked /proc/asound/ and I see there is a symlink for card0 that is linked 
> to NVidia. 
> 
> Not sure what I should be doing to get it back to my original config. 
> 
> I’m running Riv 2.10.3 and Ubuntu 12.04
> 
> Any ideas? 
> 
> Sent from my iPhone
> ___
> 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


Re: [RDD] caed not starting

2018-03-04 Thread Lorne Tyndale
Rich,

>From looking at your debug output, it looks like you are using ALSA and
have one of the audio cards that needs to have the sample rate defined
in /etc/asound.conf

>From the debug:

> caed: Starting ALSA Capture Device rd0:
> 
> caed:   Format = 32 bit little-endian
> 
> caed:   Asked for sample rate 48000, got 96000
> 
> caed:   Sample rate unsupported by device

Edit your /etc/asound.conf file and add in a rate line, similar to the
following:

pcm.rd0 {
 type hw
 card 0
 device 0
 rate 48000
}

You will need to be root to edit this file, be sure to save the file.

Kill all the Rivendell daemons and restart them - I suspect you will
find that caed will start.

Lorne Tyndale

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


Re: [RDD] Install

2018-03-08 Thread Lorne Tyndale

Your best bet for Ubuntu these days is to compile from source.

Lorne Tyndale




> 
> 
> Buenos días, ¿alguien sabe como instalar Rivendell correctamente en
> debian 9 y Ubuntu 16.10 en adelante?
> 
> Cada ves que instalo desde los repos no funciona.
> 
> 
> 
> Good morning, does anyone know how to install Rivendell correctly on
> Debian 9 and Ubuntu 16.10 onwards?
> 
> Every time I install from the repos does not work
> 
> ___
> 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


Re: [RDD] Audio problem HP machine

2018-03-31 Thread Lorne Tyndale
Hi,

No sound on an HP based system is a common issue if you are using the
onboard audio with ALSA and it is easy to fix.  The problem is that the
Intel based audio chipset does not get the proper sample rate when caed
starts it up, so you end up with no audio.

You will need to be root and edit the file /etc/asound.conf by adding a
rate line.  If you are using a sample rate of 48000 (for example) the
the /etc/asound.conf file should look like this:

pcm.rd0 {
  type hw
  card 0
  rate 48000
}
ctl.rd0 {
  type hw
  card 0
}

Of course if you are running 44100 as your sample rate then make the
line 44100 instead of 48000.

Save the file and restart your daemons (or reboot).  You should have
audio.  If you still don't have audio, then run alsamixer and make sure
the audio card is not muted and the various channels are turned up.

Lorne Tyndale


>  Original Message 
> Subject: [RDD] Audio problem HP machine
> From: admin@catronscreekfm.online
> Date: Sat, March 31, 2018 11:01 am
> To: rivendell-dev@lists.rivendellaudio.org
> 
> 
> Our station is planning a switch from Windows 10 based RadioDJ software 
> to Rivendell.  I burned the LiveCD for RRAbuntu and tried to boot it on 
> a HP desktop and had no luck.  It progressed to just a blank screen and 
> sat there for hours.  I took the liveCD and booted on a HP laptop fine.  
> Except for one problem.  No audio.  Can someone point me to a post that 
> discusses audio problems with HP machines?
> Many Thanks!
> ___
> 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


Re: [RDD] Top-of-the-hour news question

2018-04-04 Thread Lorne Tyndale
Just as an added comment to Fred's note below, I think the
play-while-record also only works if you're using Linear audio for your
file format. I don't think it works if you're using mp2.


> 
> On Apr 4, 2018, at 13:55, Cowboy  wrote:
> 
> > If you start playing BEFORE it starts recording, you are definitely
> > playing old news, even though the new news is recording correctly.
> > We use that for intentional delays.
> > 
> > If you start playing AFTER recording starts, you should be playing
> > what's currently being recorded.
> > If there is a record problem for any reason, you should have a buffer
> > under run, and things could get ugly, otherwise should work fine !
> 
> Correct, with one additional caveat: the record event in question must *not* 
> be set to normalize or auto-trim the audio. Doing so requires RDCatch to 
> perform two passes on the audio data and hence short-circuits the 
> play-while-recording logic.
> 
> Cheers!
> 
> 
> |--|
> | Frederick F. Gleason, Jr. |  Chief Developer |
> |   |  Paravel Systems |
> |--|
> |  A room without books is like a body without a soul. |
> | -- Cicero|
> |--|___
> 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


Re: [RDD] Anyone Tried This?

2018-04-04 Thread Lorne Tyndale
Hi,

I've never done it on CentOS, but I have done it on Lubuntu / Ubuntu
after installing Liquidsoap from the repos.  In fact the machine I am
typing  this email on is one that I use as a fancy jukebox in my house -
a Ubuntu box running Rivendell (compiled from source), Jack, Calf audio
plugins (to add in that FM sound), Liquidsoap, and Icecast. Works like a
charm.

Lorne Tyndale

> 
> Hi;
> 
>  
> 
> Has anyone tried running Rivendell on the same server with Liguidsoap???
> Using Centos 6.x.
> 
>  
> 
> Best
> 
> Joe Panarello
> 
>  
> 
> |--|___
> 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


Re: [RDD] Audio Cards

2018-05-14 Thread Lorne Tyndale
I've got a USB audio card that works fine with CentOS 6.9 (an updated
broadcast appliance) with the latest 2.19.2 updated from Paravel.

Lorne Tyndale

> 
> 
> Is anyone able to use USB audio cards on their units still under the new
> update?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RdAirplay causing system reboot

2018-05-17 Thread Lorne Tyndale
Chester,

I've never run into something like you've described, it could be any
number of things.  Sounds like it is time for you to check your syslog
and see if there is any hint there as to what might have crashed.

Lorne Tyndale


> 
> 
> I am attempting to get an install on an ubuntu based system using kxstudio.
> 
> The distribution that I am testing is http://qianastudio.tumblr.com/ which
> is an audio tuned system based on linux mint.
> 
> I followed the instructions on
> http://wiki.rivendellaudio.org/index.php/UbuntuXenial to install qt3 and
> rivendell both from source, omitting the patching steps of rivendell.
> 
> I ended up with a system that is working with Cadence, rdlibrary works fine
> and imports and plays.
> 
> RdAirplay will play the test tones from the Sound panel on the right side
> of Airplay, but if I try and put the test tones on the left side of
> RdAirplay and play it it causes the system to immediately reboot.
> 
> Anybody have any ideas of what might cause this behavior?
> 
> Chester Graham
> WGTT___
> 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


Re: [RDD] Github being "assimilated" by the evil empire of Redmond

2018-06-04 Thread Lorne Tyndale
Hi,

I think the trick to make this work would be to only run the GUI on a
Windows box and leave all the file and audio handling, all the daemons
on a Linux box.

If all the file handling that is done by the GUI (such as RDAirplay,
RDLibrary, etc) is routed through the Apache service, and with all the
audio stuff being done through CAED, then I would think that for a
Windows box it *should* be possible to specify to put those services on
a Linux box, only run the GUI on Windows (we do have QT3 on Windows). 
The limitation would be that audio and file handling would need to be on
a Linux server.

At the moment we're almost there - in rdadmin you can already specify
the location of caed and apache.  But as I understand it there are areas
in the code which don't work fully this way.

The other way to accomplish something like this with the current code is
to run X on Windows talking to a Linux box (xming or similar) or VNC and
remote desktop to the Linux box.

Lorne Tyndale


> > WSL = Windows Subsystem for Linux.  Optional free component of Windows that
> > provides a fully compatible *command-line* Ubuntu system.  Other distros
> > are potentially available, depending on their maintainers.
> 
>  Al sent me the URL, so now I know.
> 
> > I can see where WSL could be used for the services part of Rivendell, but
> > not the graphic displays?
> 
>  I still think not, because...
> 
> > On Mon, Jun 4, 2018 at 3:30 AM Cowboy  wrote:
> 
> > >  2. Rivendell uses certain file system attributes that M$
> > >   not only lacks, but explicitly subverts, so I don't see how
> > >   this would even be possible ?
> 
> -- 
> Cowboy
> 
> He has never been known to use a word that might send a reader to the 
> dictionary.
> 
> ___
> 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


Re: [RDD] mp3's that won't import

2018-06-07 Thread Lorne Tyndale
Some malformed MP3's need to be run through mp3val before import.  In
fact I've adopted that as a standard practice when dealing with mp3's -
if mp3val doesn't find any issues it'll leave the file alone.  If it
finds an issue it'll fix it.

Lorne Tyndale

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


Re: [RDD] Network clilent audio playback problem

2018-06-12 Thread Lorne Tyndale
A few things to look at:

-For the client, make sure it has a static IP, and be sure you have
added the client in rdadmin --> Hosts

-If you are running a standard onboard (or otherwise) sound card - using
ALSA - have you set up the card in /etc/asound.conf  on the client?  You
can use rdalsaconfig for this

-Check RDAdmin --> Manage hosts --> (click on host) --> Audio adapters.
Are there any items listed under Audio Adapters?

-If you are trying to use an on-board sound card (and some inexpensive
sound cards that are not onboard also require this) you *might* need to
add your sample rate (the sample rate that Rivendell uses in rdadmin -->
System Settings) into your /etc/asound.conf - here's an example from one
of my systems:

/etc/asound.conf

# *** Start of Rivendell configuration generated by rdalsaconfig(1) ***
pcm.rd0 {
  type hw
  card 0
  device 0
rate 48000
}
ctl.rd0 {
  type hw
  card 0
}

# *** End of Rivendell configuration generated by rdalsaconfig(1) ***

Make the above addition for each of your pcm entries in /etc/asound.conf
(you will need to be root to edit this file), save your file and restart
your daemons or reboot.  Check in rdadmin --> Manage Hosts --> Audio
Adapters and see if your sound card shows up.  

While in rdadmin --> Manage Hosts check each module (rdairplay,
rdlibrary, etc) and make sure your card and port is selected for the
outputs and inputs

Hopefully one of those will point you in the right direction.

Lorne Tyndale


> 
> 
> I've been following this thread online
> 
> http://caspian.paravelsystems.com/pipermail/rivendell-dev/2016-July/024729.html
> 
> but I'm having trouble getting the client machine to actually play any audio.
> 
> Everything else works fine, it can access the mysql server and can get into 
> rdadmin but no audio plays. Neither does the level meter move. If I try to 
> play an item in rdairplay it just disappears when the start button is pushed. 
> In rdlibrary the play button illuminates in the audio editor and I can see 
> all the cue points etc  but that's as far as it goes. The server plays audio 
> no problem
> 
> Anyone got any ideas?
> 
> 
> 
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] RDSelect Segfault Ubuntu

2018-06-18 Thread Lorne Tyndale
Hi,

I know I've posted this before, but it has come up again for me, so I
thought I'd see if anyone had ideas.

I suspect this error is the same issue as the rdselect segfault on
Ubuntu 18.04, as referenced at:

https://github.com/ElvishArtisan/rivendell/issues/213

On Ubuntu 14.04 - with QT compiled from source, RDSelect does a core
dump segfault.  Here's the backtrace:

Starting program: /usr/local/bin/rdselect 
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x7fe330602680 in QString::QString(QString const&) ()
   from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0x7fe330602680 in QString::QString(QString const&) ()
   from /usr/lib/libqt-mt.so.3
#1  0x7fe3328a3bcd in RDConfig::mysqlDriver (this=this@entry=0x21)
at rdconfig.cpp:174
#2  0x7fe3329d3781 in RDDbValid (config=0x21, 
schema=schema@entry=0x7fffc29969bc) at rdstatus.cpp:70
#3  0x00406a3b in MainWidget::SetCurrentItem (this=this@entry=
0x132a0a0, id=-1) at rdselect.cpp:331
#4  0x00408375 in MainWidget::MainWidget (this=0x132a0a0, 
parent=) at rdselect.cpp:191
#5  0x0040622a in main (argc=1, argv=)
at rdselect.cpp:378
(gdb) 


and here is my /etc/rivendell.d/rd-default.conf file


[Identity]
AudioOwner=rduser
AudioGroup=rivendell
Password=letmein
Label=Default (Local)

[mySQL]
Hostname=192.168.0.100
Loginname=rduser
Password=letmein
Database=Rivendell
Driver=QMYSQL3

[AudioStore]
MountSource=/var/snd
MountType=
MountOptions=defaults
CaeHostname=
XportHostname=

[Logs]
Facility=Syslog
LogDirectory=/home/rd/rdlogs
CoreDumpDirectory=/home/rd/rdlogs
LogPattern=%n-%Y%M%d.log
LogXloadDebugData=No

[Alsa]
PeriodQuantity=4
PeriodSize=1024
ChannelsPerPcm=-1

[Tuning]
UseRealtime=Yes
RealtimePriority=9

[Format]
Channels=2


Any ideas?



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


[RDD] RDLogManager daily grid - set to half hour points?

2018-07-01 Thread Lorne Tyndale
I don't know if there has been any thought to this, as it is outside of
the conventional thinking in radio programming, but has there ever been
any thought to allow for RDLogManager to set up schedules in its weekly 
programming grid for programming that ends on the half hour mark?

I work with a non-profit station were we have a number of shows that are
either 30 minutes in length or 90 minutes in length which end or start
at the half-past the hour point.  While it is possible to develop what I
refer to as a half and half clock (each half hour is a different show)
in rdlogmanager, in some ways it would make life easier if it were
possible to specify a 30 minute block in the programming grid - allowing
to develop a "30 minute" clock (where only the first 30 minutes of the
clock has anything in it) that would only apply to one particular show. 
Then if / when the overall weekly programming grid gets changed (each
month about 1 to 2 shows get shuffled to a new time slot) it would make
it easier to move this type of programming around the weekly grid.

Anyways, I don't know if there is an easy way to do this or not, but I
just thought I'd put the question out there.

Lorne Tyndale

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


Re: [RDD] RDLogManager daily grid - set to half hour points?

2018-07-01 Thread Lorne Tyndale
Hi,

Yes, using fill music can work, but I'd almost like a way that I can
specify the half-past mark.  Just looking at our schedule we have a
dozen or so 30 minute long shows throughout the week.

Anyways, just a thought I had.

Lorne Tyndale




> 
> 
> I can see some value in this, as we too have many programs that fit into 1/2 
> hour slots. 
> But we don’t change out programs nearly as frequently, so it’s less of an 
> issue. 
> One of our ‘standard’ format clocks is basically a long form (1/2 hour or 
> more) show at the top of the hour, followed by music the rest of the hour, so 
> that’s an easy clock to adapt for a new program.
> 
> in His service,
> BJ Mora for GraceRadio at graceradio.net
> KGCE-LP/Modesto NOW at FM 107.9!
> 
> 
> 
> 
> 
> > 
> > Message: 1
> > Date: Sun, 01 Jul 2018 10:46:57 -0700
> > From: "Lorne Tyndale"  > <mailto:ltynd...@tyndaleweb.com>>
> > To: "User discussion about the Rivendell Radio Automation System"
> >  > <mailto:rivendell-dev@lists.rivendellaudio.org>>
> > Subject: [RDD] RDLogManager daily grid - set to half hour points?
> > Message-ID:
> > 
> > <20180701104657.3b45a8e840b89c853b94d34027fab3e4.7f47bcaae1@email06.godaddy.com
> >  
> > <mailto:20180701104657.3b45a8e840b89c853b94d34027fab3e4.7f47bcaae1@email06.godaddy.com>>
> > 
> > Content-Type: text/plain; charset="utf-8"
> > 
> > I don't know if there has been any thought to this, as it is outside of
> > the conventional thinking in radio programming, but has there ever been
> > any thought to allow for RDLogManager to set up schedules in its weekly 
> > programming grid for programming that ends on the half hour mark?
> > 
> > I work with a non-profit station were we have a number of shows that are
> > either 30 minutes in length or 90 minutes in length which end or start
> > at the half-past the hour point.  While it is possible to develop what I
> > refer to as a half and half clock (each half hour is a different show)
> > in rdlogmanager, in some ways it would make life easier if it were
> > possible to specify a 30 minute block in the programming grid - allowing
> > to develop a "30 minute" clock (where only the first 30 minutes of the
> > clock has anything in it) that would only apply to one particular show. 
> > Then if / when the overall weekly programming grid gets changed (each
> > month about 1 to 2 shows get shuffled to a new time slot) it would make
> > it easier to move this type of programming around the weekly grid.
> > 
> > Anyways, I don't know if there is an easy way to do this or not, but I
> > just thought I'd put the question out there.
> > 
> > Lorne Tyndale___
> 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


Re: [RDD] Sound cards

2018-07-05 Thread Lorne Tyndale
Hi,

As an FYI, I have never been able to get the "V2" version of that card
working in Linux.  But the "HR" version has worked well for me in Linux
with ALSA.

Lorne Tyndale

>  Original Message 
> Subject: Re: [RDD] Sound cards
> From: Luigino Bracci 
> Date: Thu, July 05, 2018 7:01 pm
> To: Brandon ,  Rivendell Dev List
> 
> 
> 
> Thanks you. I tested a Digigram VX222-V2 a long time ago (maybe 2010) using
> Ubuntu, but this card was too unstable at the moment. Maybe I should test
> it again.
> 
> 2018-07-05 17:16 GMT-04:00 Brandon :
> 
> > One station is running on Debian 8 Jessie... and another station is
> > running Mint 17.1.
> >
> > Both run Rivendell (GASP!) 2.10.3 with the older Tryphon packages for ease
> > and stability with Debian.
> >
> > Both machines are mission critical, so I'll probably migrate them over
> > when I feel like the latest RD is
> >
> > stable in the Debian environment without things breaking (mostly QT and
> > SQL issues, not directly related to RD --
> >
> > I don't have the time to compile from scratch and troubleshoot.)
> >
> >
> >
> > On Wed, Jul 4, 2018 at 7:32 AM, Luigino Bracci  wrote:
> >
> >> What Linux distro are you using?
> >>
> >> 2018-07-03 21:27 GMT-04:00 Brandon :
> >>
> >>> We're using the Digigram VX222-HR PCI Soundcard with 2+2 Analog+AES/EBU
> >>> balanced XLR i/o.
> >>>
> >>> Probably one of the best sub $500 broadcast soundcards. Standard alsa
> >>> drivers work out of the box.
> >>>
> >>>
> >>>
> >>> On Tue, Jul 3, 2018 at 6:14 PM, al davis  wrote:
> >>>
> >>>> On Tue, 3 Jul 2018 14:29:55 -0400 (EDT)
> >>>> Rob Landry <41001...@interpring.com> wrote:
> >>>> > What are folks using these days for sound cards, particularly on
> >>>> machines
> >>>> > with only PCI express slots?
> >>>>
> >>>> My favorite so far for that is the ASUS Xonar DX.
> >>>>
> >>>> Sound quality is better than most .. quieter than most, a little higher
> >>>> output than most, has an extra cable inside for analog power.
> >>>>
> >>>> Full 7.1 analog .. that Rivendell can use as 4 separate stereo outputs.
> >>>> (cue/library, rdairplay, rdcatch, panel).
> >>>> ___
> >>>> Rivendell-dev mailing list
> >>>> Rivendell-dev@lists.rivendellaudio.org
> >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Brandon Anjeleno
> >>> Subliminal Radio <http://subliminalradio.net/popup-player>
> >>>
> >>>
> >>> ___
> >>> 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] rdairplay audio dropouts

2018-07-06 Thread Lorne Tyndale
Microsoft has made an NFS client for a while, I admit I have not tried
it and I don't know how well it works.

For Windows 7 or later it can be found in Control panel -> Programs and
Features -> Turn Windows features on or off, then scroll down the list
to find "services for NFS"

In XP and earlier it was a download from Microsoft.

Lorne Tyndale


> On Friday 06 July 2018 12:31:01 pm Tim Camp wrote:
> > Machine network interface is totally overwhelmed from a windows traffic
> > machine which is attaching to a nfs share on the same box. This doesn't
> > happen all the time but when it does as you can imagine panic ensues.
> 
>  How did you get windows to do NFS ??
> 
>  That's a new one, and although you're having problems, I can see
>  where it might be useful at times.
> 
> -- 
> Cowboy
> 
> http://cowboy.cwf1.com
> 
> The greatest dangers to liberty lurk in insidious encroachment by men
> of zeal, well-meaning but without understanding.
>   -- Justice Louis D. Brandeis
> ___
> 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


Re: [RDD] rdairplay audio dropouts

2018-07-07 Thread Lorne Tyndale
For option one, it is possible to just set the speed of the Windows
based NIC in the adapter properties. Usually the speed is one of the
settings in the "advanced" tab of the NIC hardware properties in
windows.  Setting its speed to 100 full (assuming your rivendell is a
gigabit card) and see if the problem goes away might be a quick and
dirty thing to try.

Lorne Tyndale


> 
> On Fri, 6 Jul 2018 13:47:56 -0500
> Tim Camp  wrote:
> 
> > Well we had previously used a cifs connection to the windows box, but the
> > mount point being in the user directory would cause the file manager
> > sometimes 15 minutes to populate waiting on the windows box. This made it
> > rdlogmanger lockup when trying to create a log as it was looking for that
> > mount point
> > for traffic import. we thought going the other way would stop this problem
> > (which it did) but now we have this problem.
> > 
> > As I said it only happens during the day when that mount point  is being
> > used by the traffic system.
> > 
> > rivendell only needs that share for the short time it takes to import
> > traffic, but of course the traffic system needs to see it all the time.
> > 
> > Wondering if I am going to have to go back to the old way of just sending
> > the log over via ftp, which was the method years ago.
> > 
> > maybe I can write a short batch file for the traffic girl to run after she
> > finishes the log.
> 
>  Gave it some thought.
> 
>  If I understand correctly, the Rivendell problem is that the *network* is
>  saturated, thus preventing the real time transfer of priority stuff, like 
> audio.
> 
>  Everything else works.
> 
>  OK, here's two solutions...
> 
>  A gigabit card in the Riv. machine, AND a 100BaseTx card in the M$ machine.
>  Hardware will limit M$ to 10% max of what's available to Riv.
> 
>  A second card in the Riv. machine, and a super private point-to-point LAN
>  between the Riv. machine and M$ via a cross-over cable.
> 
>  Network cards are cheap enough these days, and if you have one in the junk 
> box,
>  then the only cost is a little time. Probably less time than most any other
>  solution we could invent.
> 
> -- 
> Cowboy 
> 
> He was a fiddler, and consequently a rogue.
>   -- Jonathan Swift
> ___
> 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


Re: [RDD] Using the on-board serial port as a GPIO

2018-07-16 Thread Lorne Tyndale
You may be out of luck or need to upgrade.  From the News file, the
serial port modem control lines GPIO driver was not added until version
2.10.3:

v2.10.3 --  2/24/2015

Changes:
...

   Modem Lines Switcher Driver.  Added support for using RS-232C modem
handshake lines for GPIO.

...

Lorne Tyndale

> 
> 
> System is a Rivendell 2.5.5 Appliance on CentOs 6 - upgrade is not an option
> 
> We have a near immediate need to use the serial port on the back of
> the Dell Optiplex 990 as a quick and dirty GPIO.  I know it's
> possible, having read many different articles on the web.
> 
> However, I am having a frustrating time trying to get my unit to
> accept the Port as a GPIO.  I know I have missed some little
> something, and was wondering if anyone has the magic info wand to set
> me free (by solving this)?
> 
> The settings:
> Jones is both the name of the computer and the name of the RD host
> 
> 
> [rd@Jones ~]$ dmesg | grep tty
> console [tty0] enabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> :00:16.3: ttyS1 at I/O 0x30e0 (irq = 17) is a 16550A
> 
> RDAdmin > Manage Hosts > Jones (host name)
>   default user = user
>   IPA=127.0.0.2
>   >Serial Ports:
>   Serial0=/dev/ttyS0 [9600,n,8,1,n] enabled
>   Serial1=/dev/ttyS1 [9600,n,8,1,n] enabled
>   >Switcher/GPIO
>   Matrix0 Sound Card as Switcher
>   Matrix1 serial port - Local GPIO
>   Device=ttyS0GPIs: 5  GPOs: 2 (neither GPIs nor GPOs 
> have been
> assigned yet
>   Using Device = ttyS0, Serial0, /dev/ttyS0, 
> ttyS1, Serial 1, and
> /dev/ttyS1 have not worked.
> 
> RDGpiMon v2.5.5 - User: User  Matrix 1
>   shows 4 grey boxes on inputs and 2 grey boxes on outputs
> 
> On the 9 pin d-sub connector pin 5 is ground
> GPI on pins 1, 6, 8, and 9
>   pins 4 and 7 are for GPOs to operate relays
> 
> 
> choices for type switcher
> Local GPIO
> Generic GPO
> Generic Serial
> SAS 32000
> SAS 64000
> Wegner Unity 4000
> Broadcast Tools SS8.2
> Broadcast Tools 10x1
> SAS 64000-GPI
> Broadcast Tools 16x1
> Broadcast Tools 8x2
> Broadcast Tools ACS 8.2
> SAS User Serial Interface
> Broadcast Tools 16x2
> Broadcast Tools SS12.4
> Local Audio Adapter
> Logitek vGuest
> Broadcast Tools SS16.4
> StarGuide III
> Broadcast Tools SS4.2
> LiveWire LWRP Audio
> Quarts type 1
> Broadcast Tools SS4.4
> Broadcast Tools SRC-8 III
> Broadcast Tools SRC-16
> Harlond Virtual Mixer
> Sine ACU-1 (Prophet)
> LiveWire Multicast GPIO
> 360 Systems AM-16/B
> LiveWire LWRP GPIO
> ___
> 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


Re: [RDD] question on relationship /var/snd and database

2018-07-20 Thread Lorne Tyndale
For copying from 1 rivendell install to another, the easiest is to use
rivendell_filter

It will copy carts (including audio) from one Rivendell machine to
another.  A few things to keep in mind though.

-It will use the same cart numbers on the destination machine as the
source machine.  So if you already have carts on your destination
machine with the same cart numbers, they will be over-written

-It does not do any audio processing.  It simply will copy the audio
files as-is and copy across the needed database entries

-The 2 machines need to be networked and you'll have to mount your
/var/snd from your source machine to somewhere on your destination
machine other then /var/share for the purpose of copying your audio
(once the audio is copied over you can unmount the source /var/share)

-The database on the source machine needs to be accessible over the
network

For syntax, do a:

rivendell_filter --help

Hope this helps.

Lorne Tyndale



> 
> 
> I have an existing RD install on which I would like to replace /var/snd 
> by a different from another server. That means I would have to import 
> cards and cuts also from that install. Any other tables that need to be 
> replaced?
> ___
> 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


Re: [RDD] "unable to create destination file" - Debian 8 fresh install

2018-07-23 Thread Lorne Tyndale
All I can say is...

PC Load Letter


> 
> 
> On Mon, 23 Jul 2018 10:17:57 -0400 (EDT)
> Rob Landry <41001...@interpring.com> wrote:
> 
> > I hate, hate, hate error messages like this. The message should say: 
> > "unable to create destination file: /path/to/filename".
> 
>  It could be worse.
>  "They" could have specified the error text as...
> 
>  "Like dude, something went wrong."
> 
>  Or the once popular..
>  "I can't do that, Dave."
> 
>  Or, the currently popular...
>  "Tell Google about this problem"
> 
> -- 
> Cowboy
> 
> today, n.:
>   A nice place to visit, but you can't stay here for long.
> ___
> 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


Re: [RDD] Easiest to install .. and update later on ?

2018-08-01 Thread Lorne Tyndale
Couple of things.

It sounds like you don't have cgi enabled in Apache.  To enable it try
this from a command prompt:

a2enmod cgi

And then restart apache.

Lorne Tyndale

> 
> 
> Guys,
> 
> Rdairplay has been running for some time now, with no problems.
> 
> But rdimport is not working, creates carts but no audio converted.
> also rdlibrary importing carts returns 'audio converter error :ok',
> edit markers returns  'Rivendell Web service' with message 'unable to
> download peak data' error was : 'RDXport service returned an error'
> Peakdata is also not shown in voicetracker
> 
> I check the permissions for /var/snd ... Should be ok.
> And checked http://localhost/rd-bin/addcart.html => shows a page
> 
> I think still it has something to do with httpd / apache .. but i
> can't get my finger on it.
> 
> Since our old system has crashed last saturday (we had a heatwave), it
> has suddenly become a priority to get the new system functional.
> 
> Regards,
> Peter
> 
> 
> 2018-07-08 11:14 GMT+02:00 Robert Jeffares :
> > Try selecting first 100 results which will make mysql search faster.
> >
> > As your database gets bigger the search will take longer.
> >
> > copy & paste into the search bar works well.
> >
> > R
> >
> >
> >
> > On 08/07/18 10:29, Peter Claes wrote:
> >>
> >> Succes. Those command lines did the trick.
> >>
> >> I did notice something odd thoo. When typing fast in the searchbox, i
> >> sometimes get a pop-up 'please wait'.
> >> But the search result follow as fast as I am typing, everything keeps
> >> responding normally.
> >> The pop-up window doesn't close.
> >>
> >> Any idea's what might cause this ?
> >>
> >> Regards
> >> Peter
> >>
> >>
> >>
> >>
> >>
> >> 2018-07-07 14:40 GMT+02:00 Rob Landry <41001...@interpring.com>:
> >>>
> >>> On Sat, 7 Jul 2018, Peter Claes wrote:
> >>>
> >>>> I tried the install via Centos7 minimal,worked like a charm.
> >>>> Within 30 minutes I had rdairplay playing the testone.
> >>>
> >>>
> >>>> But I ran into some trouble when I wanted to get our database (2.10)
> >>>> scheme 207 into the system.
> >>>> I used to do this via Rdadmin => 'Database restore' on our old 2.10
> >>>> system, worked well when we stayed in the same version.
> >>>
> >>>
> >>> Here's what I would try:
> >>>
> >>> sudo service rivendell stop
> >>>
> >>> mysql -uroot -p[whatever]
> >>>
> >>> drop database Rivendell;
> >>>
> >>> create database Rivendell;
> >>>
> >>> 
> >>>
> >>> mysql -uroot -p[whatever] Rivendell < [backed-up-rd-2.10-database].sql
> >>>
> >>> That will install a copy of your old Rivendell database.
> >>>
> >>> Run rdadmin. You should get a message saying the database needs to be
> >>> upgraded. Respond to the prompt, and Rivendell should upgrade the
> >>> database
> >>> to the current schema.
> >>>
> >>>
> >>> Rob
> >>>
> >>> --
> >>> Я там, где ребята толковые,
> >>> Я там, где плакаты "Вперёд",
> >>> Где песни рабочие новые
> >>> Страна трудовая поёт.
> >>
> >> ___
> >> 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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Easiest to install .. and update later on ?

2018-08-02 Thread Lorne Tyndale

Well you'll need to do some searching then to figure out how to make
sure that CGI is enabled in Aapche within the build of Linux you are
running.  Usually the a2enmod command works, but it might require making
a symlink as suggested in another reply.

Google is your friend.


Lorne Tyndale


> 
> 
> Tried to run the command a2enmod cgi but it is unknown  ?
> 
> 
> 2018-08-02 6:07 GMT+02:00 Lorne Tyndale :
> > Couple of things.
> >
> > It sounds like you don't have cgi enabled in Apache.  To enable it try
> > this from a command prompt:
> >
> > a2enmod cgi
> >
> > And then restart apache.
> >
> > Lorne Tyndale
> >
> >>
> >>
> >> Guys,
> >>
> >> Rdairplay has been running for some time now, with no problems.
> >>
> >> But rdimport is not working, creates carts but no audio converted.
> >> also rdlibrary importing carts returns 'audio converter error :ok',
> >> edit markers returns  'Rivendell Web service' with message 'unable to
> >> download peak data' error was : 'RDXport service returned an error'
> >> Peakdata is also not shown in voicetracker
> >>
> >> I check the permissions for /var/snd ... Should be ok.
> >> And checked http://localhost/rd-bin/addcart.html => shows a page
> >>
> >> I think still it has something to do with httpd / apache .. but i
> >> can't get my finger on it.
> >>
> >> Since our old system has crashed last saturday (we had a heatwave), it
> >> has suddenly become a priority to get the new system functional.
> >>
> >> Regards,
> >> Peter
> >>
> >>
> >> 2018-07-08 11:14 GMT+02:00 Robert Jeffares :
> >> > Try selecting first 100 results which will make mysql search faster.
> >> >
> >> > As your database gets bigger the search will take longer.
> >> >
> >> > copy & paste into the search bar works well.
> >> >
> >> > R
> >> >
> >> >
> >> >
> >> > On 08/07/18 10:29, Peter Claes wrote:
> >> >>
> >> >> Succes. Those command lines did the trick.
> >> >>
> >> >> I did notice something odd thoo. When typing fast in the searchbox, i
> >> >> sometimes get a pop-up 'please wait'.
> >> >> But the search result follow as fast as I am typing, everything keeps
> >> >> responding normally.
> >> >> The pop-up window doesn't close.
> >> >>
> >> >> Any idea's what might cause this ?
> >> >>
> >> >> Regards
> >> >> Peter
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> 2018-07-07 14:40 GMT+02:00 Rob Landry <41001...@interpring.com>:
> >> >>>
> >> >>> On Sat, 7 Jul 2018, Peter Claes wrote:
> >> >>>
> >> >>>> I tried the install via Centos7 minimal,worked like a charm.
> >> >>>> Within 30 minutes I had rdairplay playing the testone.
> >> >>>
> >> >>>
> >> >>>> But I ran into some trouble when I wanted to get our database (2.10)
> >> >>>> scheme 207 into the system.
> >> >>>> I used to do this via Rdadmin => 'Database restore' on our old 2.10
> >> >>>> system, worked well when we stayed in the same version.
> >> >>>
> >> >>>
> >> >>> Here's what I would try:
> >> >>>
> >> >>> sudo service rivendell stop
> >> >>>
> >> >>> mysql -uroot -p[whatever]
> >> >>>
> >> >>> drop database Rivendell;
> >> >>>
> >> >>> create database Rivendell;
> >> >>>
> >> >>> 
> >> >>>
> >> >>> mysql -uroot -p[whatever] Rivendell < [backed-up-rd-2.10-database].sql
> >> >>>
> >> >>> That will install a copy of your old Rivendell database.
> >> >>>
> >> >>> Run rdadmin. You should get a message saying the database needs to be
> >> >>> upgraded. Respond to the prompt, and Rivendell should upgrade the
> >> >>> database
> >> >>> to the current schema.
> >> >>>
> >> >>>
> >> >>> Rob
> >> >>>
> >> >>> --
> >> >>> Я там, где ребята толковые,
> >> >>> Я там, где плакаты "Вперёд",
> >> >>> Где песни рабочие новые
> >> >>> Страна трудовая поёт.
> >> >>
> >> >> ___
> >> >> 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
> ___
> 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


Re: [RDD] Problem with RRAbuntu

2018-08-04 Thread Lorne Tyndale
Hi Dave,

RRABuntu is extremely old, both the OS and Rivendell version.

You would be better off to go with a newer version of CentOS with
Rivendell, following the directions at:

http://static.paravelsystems.com/rivendell-install/rivendell-install-rhel7.html

Then you'll get a supported OS, and Rivendell will pull the latest
version direct from Paravel.

Lorne Tyndale


> 
> 
> Hi
> 
> I have limited experience of working with Linux and have therefore been
> looking to install Rivendell from the RRAbuntu live CD.
> 
> I am using a new machine (i3, 8GB, 1TB) which has uefi rather than bios
> although I have disabled the secure boot and am able to boot from the CD
> using the startup menu. It also has Windows 10 installed that I have no
> interest in keeping
> 
> When the CD boots it leaves me in a terminal mode and I cannot seen the GUI
> screen that should lead me to the installation and associated scripts.
> 
> I am not a Linux expert by any means but was hoping that RRAbuntu might
> help with a straightforward installation of Rivendell.
> 
> Any help anyone can provide would be much appreciated.
> 
> Dave___
> 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


Re: [RDD] rdairplay dies, out of memory

2018-08-14 Thread Lorne Tyndale
Something to check,

The last machine that I had which experienced random "out of memory"
errors and lockups had bad capacitors on the motherboard.  Once I
replaced them the problems went away.

Have a look - any bulging or burst capacitors on the motherboard (or in
the power supply for that matter), replace them.  Especially if this is
older hardware.

Lorne Tyndale


> A station emailed me just now to report that rdairplay died in the middle 
> of a piece of music.
> 
> /var/log/messages shows that the OS ran out of memory and killed 
> rdairplay.
> 
> This is RD 2.16 running under CentOS 6 on older hardware with 1 GB RAM. 
> The machine doesn't do anything but run Rivendell with no manual 
> intervention. It's been running for at least a year with no problems.
> 
> What would cause the OS to run out of memory, I wonder? The machine has an 
> AudioScience ASI5111 card that was almost certainly bought in 2007; I've 
> seen these cards go bad after this many years, but differently than this; 
> they've stopped producing audio and/or ceased to be recognized by 
> Rivendell. This card still works; the client restarted rdairplay and it's 
> running fine now.
> 
> Any thoughts from the list?
> 
> 
> Rob
> 
> -- 
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.___
> 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


Re: [RDD] Moving RD to another system

2018-09-27 Thread Lorne Tyndale
Hi,

As far as I understand the Restore in rdadmin does not do a schema check
/ update, so it will work if you are staying at the same version of
Rivendell.  In your case you were going from an older version to a newer
version.  In that situation it is best to do the restore from the
command line so that it will do the schema check / update when rdadmin
is run.

Lorne Tyndale

> 
> Hi drew. Thanks.
> owner:group are ok. Double checked (Linux user since 2003 ;) )
> Did MySQL backup from source PC using rdadmin
> Then did restore on target PC using rdadmin.
> But not worked. Launched rdadmin from terminal and saw several errors about
> QMYSQL3.
> So logged in into MySQL and were no tables inside Rivendell database!
> Maybe restore is not working with previous versions?
> 
> Used command line:
> mysql -u rduser -p letmein -h localhost -D Rivendell < rivendell.sql
> 
> Checked tables: ok.
> Ran rdadmin again and now I saw scheme migration message.
> I think is working now.
> 
> That's all for now. Next I'll have to figure out how todo use two
> soundcards + jack.
> 
> Thanks again.
> Diego
> 
> El mié., 26 de sep. de 2018 19:01, drew Roberts 
> escribió:
> 
> >
> >
> > On Wed, Sep 26, 2018 at 3:42 PM Diego  wrote:
> >
> >> Hi, this is my first post. I've tried to search the web on this issue,
> >> but didn't find anything useful. Maybe you can point me in the right path.
> >>
> >> I have a linux distro called 'EterTics' [0]. It's a Frankenstein distro
> >> (sadly), Devuan based, with Rivendell 2.10.3-1 version from tryphon.eu
> >> (not online right now); repos from ubuntu, too messy. I didn't built it.
> >>
> >> It worked fine, but recently we needed to update some packages and seems
> >> RD broked in the process. Macros wont work, neither rmlsend, RDLibrary
> >> crashes first time but second attemp work... sigh... I not looking for a
> >> solution for this.
> >>
> >> I'm already installed Centos7 64bits on another PC following official
> >> instructions and ran rivendell-install script. I plan working with this
> >> stable installation [1]
> >>
> >> My first attemp was export /var/snd and MySQL from original installation
> >> (using rdadmin), and put into this new CentOS. Both PC have same hostname,
> >> same IP (on different location).
> >>
> >> But importing mysql broke RD. I think because I'm trying to move from
> >> rivendell/mysql to different versions.
> >>
> >> Is there a way to move data to new PC? Is there some missing steps I not
> >> doing? I don't want to create carts, nor schedule everything again.
> >>
> >
> > On the new machine:
> >
> > ls -la /var/snd
> >
> > Make a note of this info as after to copy/move files from the old machine
> > you may have to make everything match the owner/group and permission that
> > the new machine wants.
> >
> > Do a Backup Database from rdadmin on the old machine. Do a Restore
> > Database from rdadmin on the new machine. Copy / move all the files from
> > /var/snd on the old machine to /var/snd on the new machine.
> >
> > On the new machine:
> >
> > ls -la /var/snd
> >
> > Do the just copied/moved files match what you had before? If not you need
> > to fix this with chown and chmod.
> >
> >>
> >> Thank you in advance.
> >> Diego Rucci
> >>
> >
> > You are most welcome.
> >
> > all the best,
> >
> > drew
> >
> >
> >>
> >> [0] https://gnuetertics.org/
> >> [1]
> >> http://static.paravelsystems.com/rivendell-install/rivendell-install-rhel7.html
> >>
> >> <http://jinetedeldragon.wordpress.com>
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>
> >
> >
> > --
> > Enjoy great *Bahamian Music* at:
> > Bahamian Or Nuttin - http://www.bahamianornuttin.com
> > <http://www.bahamianornuttin.com/>
> >___
> 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


Re: [RDD] Using Jack + 2 soundcards

2018-09-27 Thread Lorne Tyndale
Hi,

If you want to get both cards working under Jack, you'll need to start
up Jack using one of your cards, and for the other use alsa_in and
alsa_out 

alsa_in and alsa_out will allow you to create in's and out's in Jack's
connection list for a second (or third, fourth, fifth, however many
sound cards you have) card.

But for it to work you'll need to make sure that nothing else has
grabbed that sound card.  Also alsa_in and alsa_out need to run as the
same user as Jackd.  

If you are running Rivendell and want to do all your in / out through
Jack for all your sound cards then it means you will need to remove all
your sound cards from rdalsaconfig.  Configure Rivendell to start up the
Jack server pointing to one of your sound cards.  Use the option to have
the Rivendell daemons start up the Jack alsa_in and alsa_out clients. 
Restart your daemons and and you'll need to build a macro to route your
audio the way you want it all routed.

For starters to figure out the command line options you'll need and such
I'd suggest playing around with Jackd, alsa_in, and alsa_out from the
command line.  Then you can start up qjackctl and see what's happening
in the connection window.

Another option that I did once on a 2 sound card machine - I left one
sound card as ALSA available to Rivendell and the other one I ran
through Jack.  I don't recall how but I was able to get Rivendell to see
2 audio cards in the "audio resources" section this way - one card the
ALSA card, the other was Jack.

For getting it all working on boot, if you can get Rivendell to start up
Jack and all the Jack clients you need, have a macro that runs to create
all your Jack connections (use the Startup Cart option) then that should
cover what you need.  The trick is figuring out the configuration you
need in the first place.

Lorne Tyndale


> 
> 
> Hi again. /me bothering. again
> I have Rivendell running on CentOS7 with two soundcards.
> Rivendell + Alsa *is working*. I can assign one card to main playlist
> and another to aux1 playlist (so I can get CUE)
> Audio Resources show two cards( Card 0: Intel, Card 1: USB)
> 
> BUT...
> 
> I also need to launch a stream using VLC. We take some online radios
> (mainly news). Problem is rivendell grabbing alsa devices so no other
> app can use sound cards.
> 
> I did:
> # systemctl stop rivendell
> # /usr/bin/jackd -R -dalsa -dhw:Intel -r44100 -p1024 -n2 &
> # systemctl start rivendell
> I open rdadmin and I see just 1 Audio Resource (Card 0: JACK)
> On audio ports I see 1 card (Jack) and the rest is UNKNOWN.
> 
> How can I get the two cards working with jack?
> Also, how can I get this working on boot?
> 
> Thanks!
> ___
> 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


Re: [RDD] Jack, again.

2018-10-30 Thread Lorne Tyndale
Hi,

Jack and Rivendell's daemons all need to be running as the same user or
else they won't see each other.

If you are running the appliance CD / CentOS you can use the option in
rdadmin to have Rivendell start Jack with rdadmin --> Manage Hosts -->
Jack settings.  Doing this it'll start both caed and jack as the same
user (root) and it'll all see each other.  But the challenge is if you
want to use other Jack based applications on the same workstation  - you
would normally want to run these as the logged in user rather then root.
 If run as the logged in user they won't see Jack when it is all started
this way.

You could have Rivendell start up Jack and also start up all the Jack
based applications that you want to run.  You can do this with the "jack
clients to start" option.  But this might not be what you want - as it
will start those clients as root.  It'll also start them all up when
Rivendell starts up which is probably not what you want.

I should also note that on some of the versions of Ubuntu / Debian
having Rivendell start Jack doesn't always work as expected.

Another option that has been used (specifically on some of the
documentation out there about getting Rivendell running on Ubuntu) has
been to run the rivendell daemons as the logged in user rather then as
root.  If you delay the start of the 3 daemons until after Jack is
started, running Jack as the logged in user and then starting up the
Rivendell daemons as the logged in user, it'll all see each other and
you'll be able to launch other Jack-aware apps.  However as Fred has
pointed out on numerous occasions this is not the recommended way of
running the daemons, both from a security standpoint and from a
standpoint that some other things don't work as they should.

Lorne Tyndale


> 
> 
> Sorry, I meant pulseaudio-jack (Pulsaudio-module-jack...)
> 
> On Tue, Oct 30, 2018 at 9:53 PM drew Roberts  wrote:
> 
> > Pedro,
> >
> > shut rivendell down.
> >
> > shut all riovendell applications.
> > from a terminal:
> > sudo killall caed
> > sudo killall ripcd
> > sudo killall rdcatchd
> >
> > start jack. (via qjackctl?)
> > make sure you can get some sound out of it with some jack aware audio
> > player that is not related to rivendell.
> >
> > let me know the results.
> >
> > all the best,
> >
> > drew
> >
> > On Tue, Oct 30, 2018 at 1:46 PM Pedro Picoto 
> > wrote:
> >
> >> Forgot to mention... thanks for your interest!
> >> But still banging my head... :-)
> >>
> >> On Tue, Oct 30, 2018 at 12:21 PM drew Roberts  wrote:
> >>
> >>> Pedro,
> >>> On Mon, Oct 29, 2018 at 9:46 PM Pedro Picoto 
> >>> wrote:
> >>>
> >>>> I managed install the packages supplied by the fellow member group
> >>>> successfully on Ubuntu 18.04.
> >>>> But I'm stuck and running in circles 'cause I not getting audio played.
> >>>> I'm using Jack/PulseAudio, as I used to do 3 years ago.
> >>>> - Rdalsaconfig gives me the cards available and already activated
> >>>> (active sound devices)
> >>>> - Audio resources:
> >>>>
> >>>> SUPPORTED AUDIO DRIVERS
> >>>>   AudioScience HPI [not active]
> >>>>   JACK Audio Connection Kit [Generic]
> >>>>   Advanced Linux Sound Architecture (ALSA) [1.1.3]
> >>>>
> >>>> SUPPORTED IMPORT FORMATS
> >>>> Free Lossless Audio Codec (FLAC)
> >>>> MPEG Layer 1
> >>>> MPEG Layer 2
> >>>> MPEG Layer 3
> >>>> OggVorbis
> >>>> PCM16 Linear
> >>>> PCM24 Linear
> >>>>
> >>>> SUPPORTED EXPORT FORMATS
> >>>> Free Lossless Audio Codec (FLAC)
> >>>> MPEG Layer 2
> >>>> MPEG Layer 3
> >>>> OggVorbis
> >>>> PCM16 Linear
> >>>> PCM24 Linear
> >>>>
> >>>> AUDIO ADAPTERS
> >>>>   Card 0: Not present
> >>>>
> >>>>   Card 1: Not present
> >>>>
> >>>>   Card 2: Not present
> >>>>
> >>>>   Card 3: Not present
> >>>>
> >>>>   Card 4: Not present
> >>>>
> >>>>   Card 5: Not present
> >>>>
> >>>>   Card 6: Not present
> >>>>
> >>>>   Card 7: Not present
> >>>>
> >>>> For sure I'm missing something pretty basic...
> >>>>
> >>>> Need your input, please...
> >>>>
> >>>
> >>> from a terminal, what does:
> >>>
> >>> aplay -l
> >>>
> >>> show you?
> >>>
> >>> all the best,
> >>>
> >>> drew
> >>> --
> >>> Enjoy great *Bahamian Music* at:
> >>> Bahamian Or Nuttin - http://www.bahamianornuttin.com
> >>> <http://www.bahamianornuttin.com/>
> >>>
> >>
> >
> > --
> > Enjoy great *Bahamian Music* at:
> > Bahamian Or Nuttin - http://www.bahamianornuttin.com
> > <http://www.bahamianornuttin.com/>
> >___
> 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] EBUR128 normalize - was RE: re-normalize a batch of carts?

2018-11-02 Thread Lorne Tyndale
Andy,

The script you are thinking of is python-rivendell, at:

https://github.com/sebleblanc/python-rivendell

It was referenced in a message:

http://caspian.paravelsystems.com/pipermail/rivendell-dev/2016-February/023931.html

It can use libebur128 to do a normalization.

At one point there was some discussion surrounding including R128
normalization as an option in Rivendell, but I don't believe it ever got
much past the discussion phase.

Lorne Tyndale


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


<    1   2   3   4