Re: [RDD] Weather and Time Announcements

2020-12-24 Thread David Klann
Lorne,

> David,
> 
>> This is brilliant! It never even occurred to me to load all the time
>> cuts into a cart and then daypart each cut. Fabulous! Thanks for this!
> 
> Yup, the only reason I recommend doing 2 carts - one for AM and the
> other for PM - is because there is a limit of 999 cuts per cart, so it
> isn't possible to load the full 1440 cuts into a single cart.
> 
> Lorne Tyndale
> 

Ah. Good point, Lorne!

Thanks for that additional detail!

   ~David Klann

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


[RDD] Possible feature - Play cut in a cart based on a variable value, set variable from a shell script

2020-12-24 Thread Lorne Tyndale
Hi,

I was just thinking about Michael's request regarding automatic
temperature announcements, and it brought to mind a potential for a new
(and I think it would be powerful) feature.

I think it would be useful to have the ability to play a cut based on a
variable's value and have the ability to set a variable's value from a
macro.

We already have the ability to define a variable and its value in
Rivendell. 

If the 2 additional features were added then in the case of something
like automating a temperature announcement you could define a variable
(perhaps call it something like %CURRENT_TEMP%) and set up a cart with
different cuts that play depending on the value of %CURRENT_TEMP%.  The 
you'd simply need a shell script to grab the current temperature, pass
it the defined variable, and the cart/cut would play the appropriate
audio for that variable's value.

I could see this being used beyond things like temperature
announcements.  

Thoughts?

Lorne Tyndale

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


Re: [RDD] Weather and Time Announcements

2020-12-24 Thread David Klann
Holy Cow Lorne!

On 12/24/20 3:13 PM, you wrote:
> 
> Hi Michael,
> 
> For getting the Time part, one way that I looked at in the past (but
> never implemented due to the work requried) is to record an audio cut
> for each minute of the day.  To cut down on the amount of recording it
> is possible to re-use the AM and PM recordings if you don't specify AM
> or PM in the audio.  So for example, you could use the same audio for
> saying "It's 12:42" for both 12:42 am and 12:42 pm, leaving it to the
> listeners to figure out if it is AM or PM.
> 
> You'll want to make 2 carts, one for AM and one for PM, each with 720
> cuts of audio representing each minute of that time block.  Daypart each
> cut for the minute of time that it represents.
> 
> When you want the time of day to play on the air, just schedule the
> appropriate cart (or both carts back to back).  It'll only play the cut
> that is dayparted for that specific minute.
> 
> It takes a bunch of effort to get this type of thing set up, but once
> set up it should just work.  Furthermore it is all internal to Rivendell
> so if someone needs to figure it out in the future it should be fairly
> straight forward to figure out.
> 
> Lorne Tyndale
> 

This is brilliant! It never even occurred to me to load all the time 
cuts into a cart and then daypart each cut. Fabulous! Thanks for this!

I'm also playing with festival(1) and flight(1) to get the times and 
temperatures pre-recorded with voices sounding as human as possible with 
a synthesizer. Of course, nothing beats real, actual human voice 
recordings, but there are some pretty nice sounding "fake" voices 
available these days...

   ~David Klann
broadcasttool.com

>>
>> This station I am moving to Rivendell is currently running on a Windows
>> system. They somehow download the local weather from a NOAA site and
>> cull the local temperature from it. They have a Windows text-to-speech
>> program that reads the .txt file with the temp and creates a short mp3
>> file with the current temperature. They have a whole list of mp3 files
>> covering temps from 0-115 degrees. They also have a bunch of time files
>> with 0-12 hours, 0-59 minutes, and am/pm. I can't seem to find anything
>> in the existing Windows computer that actually performs this function.
>>
>> The previous engineer who set all this up basically evaporated leaving
>> no documentation. The current staff knows it happens, but no idea how it
>> works. I found the time and temp audio files and an exe text2speech app,
>> but nothing else.
>>
>>
>> Is there anything in Rivendell or Linux I could use to provide this
>> functionality?
>>
>>
>> --
>> 73,
>> Michael WA7SKG
>>
>> "Any day you do not learn one new thing is a wasted day."
>> ___
>> 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] Rivendell Technical and Administration Guide

2020-12-24 Thread wa7skg
I find numerous references to this document, however, I am unable to 
find it.


Does this exist? Is it publicly available? If so, where might I find it?


--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Weather and Time Announcements

2020-12-24 Thread David Klann
Hi again Michael,

On 12/24/20 12:35 PM, you wrote about time & temp automation:
> 
> This station I am moving to Rivendell is currently running on a Windows
> system. They somehow download the local weather from a NOAA site and
> cull the local temperature from it. They have a Windows text-to-speech
> program that reads the .txt file with the temp and creates a short mp3
> file with the current temperature. They have a whole list of mp3 files
> covering temps from 0-115 degrees. They also have a bunch of time files
> with 0-12 hours, 0-59 minutes, and am/pm. I can't seem to find anything
> in the existing Windows computer that actually performs this function.
> 
> The previous engineer who set all this up basically evaporated leaving
> no documentation. The current staff knows it happens, but no idea how it
> works. I found the time and temp audio files and an exe text2speech app,
> but nothing else.
> 
> 
> Is there anything in Rivendell or Linux I could use to provide this
> functionality?
> 
> 

I recently wrote a ZSH shell script that might satisfy your desire to 
accomplish this. As you explain, this script requires all the "raw" 
audio files to previously exist (preferably in WAV format, but that's 
not a hard requirement).

My script is attached to this message, and is also available at 
https://github.com/opensourceradio/ram/blob/master/usr/local/bin/btd-time-temp

It uses a few ZSH-specific things, as well as ffmpeg(1) to concatenate 
multiple audio files together on the fly. And it uses xmlstarlet(1) to 
parse the output and extract the current temperature from the US 
National Weather Service current conditions XML feed. This command 
installs the basic requirements:

sudo yum install -y zsh ffmpeg xmlstarlet

Current(ish) FFMPEG packages are hosted at the Nux Dextop CentOS 
repository. More details at http://li.nux.ro/repos.html

Activate the script using your favorite timed job scheduler (e.g., cron, 
systemd, etc.). In order to be timely, I recommend running the script 
every minute, but you can adjust the frequency to match your scheduled 
"time and temp" Events in your logs. Since they are updated hourly, the 
script fetches the current conditions from the NWS only once per hour 
regardless of how often you run it.

Complete setup documentation is in the script comments. Usage 
documentation is available with "btd-time-temp --help".

Hope you find it useful!

   ~David Klann
broadcasttool.com
#!/bin/zsh
# shellcheck shell=bash disable=SC2016,SC2154,SC2162
# SC2016: The single quotes are inside a double-quoted string
# SC2154: I know about all the referenced but not assigned variables
# SC2162: I do not care about read and its backslashes

# This script complies with Semantic Versioning: http://semver.org/
vMajor=0
vMinor=2
vPatch=3
vHash='$Hash: 942035a$'

##
##
##
## rd-time-temp.sh
##
## Provide current time and temperature audio snippets to Rivendell.
##
## This script uses the current system time (please make sure the
## system time is synchronized to a working network time protocol
## (NTP) service) and the United States National Weather Service (NWS)
## (based on a pre-configured location) to import audio files into a
## specific audio Cart in the Rivendell Library.
##
## Audio files containing time readings can contain any meaningful
## sounds, and must be named using four digits like this: HHMM. You
## should at least provide audio files for every minute of every hour
## between midnight () and noon (1200). More "sophisiticated" time
## announcement files may include the "am" and "pm" suffixes (or
## simply "a" or "p") in order to differentiate the time of day.
##
## Similarly, audio files containing temperature readings are named
## for the numeric temperature. (There is no distinction between
## Farenheit and Celcius.) Temperature readings are retrieved using
## the NWS four character location codes (see
## https://w1.weather.gov/xml/current_obs/seek.php?Find=Find for the
## state-by-state lists of locations). This script uses the XML file,
## not the RSS file. The URL is formed using the four-character code
## inserted into this string (substituting for ""):
## https://w1.weather.gov/xml/current_obs/.xml
##
## Specify the NWS location code using the "-l" (or "--location")
## command line parameter. See usage() for more details.
##
##
##

##
##
##
## REQUIREMENTS
##
## Network: This script requires access to both the local LAN (for NTP
## synchronization), and the Internet (for current temperature
## retrieval).

Re: [RDD] Filling Time with Music

2020-12-24 Thread wa7skg
I have incorporated these suggestions. I have run into an issue I may 
have missed mention of. We want to start each hour with the teaching 
program starting right at the top of the hour. We want to end each hour 
exactly at 59:50 with a legal ID, all of which are 10 seconds.


Following the provided examples, I over fill the hour with music. My 
problem is the last song before the Legal ID. The song may be anywhere 
from a couple seconds to a minute or two into it when the time for the 
legal ID comes and the song is very abruptly cut off to play the LID.


Is there any way to at least fade down or something before the ID? The 
sudden chop sound pretty bad.


Thanks,
Michael


David Klann wrote on 12/23/20 4:52 AM:

On 12/23/20 6:04 AM, erm...@studioplume.com wrote:


On 2020-12-22 23:24, wa7skg wrote:

What is the best way to fill a block of time with music? We start
pretty much each hour with a teaching program for about 26 minutes.
I'd like to fill the rest of the hour with music. Is there a way to
create an event that just pulls songs sort of randomly to fill X
number of minutes? Or do I have to create a dozen or so events to each
pull one song?


You can certainly create an event that randomly picks carts from a
group.
About scheduling and generating logs, this page
https://thebrettblog.wordpress.com/2009/12/31/rivendell-how-to-schedule-music/
covers the entire process in a thorough and illustrated manner.
That's what kickstarted me when converting my station to rivendell 10
years ago.

. leo


There is also a more up-to-date tutorial on music scheduling on the
Rivendell wiki at http://wiki.rivendellaudio.org/index.php/Log_Creation
with links to the reference manual.

~David Klann
 broadcasttool.com


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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread David Klann
Hi Michael,

On 12/24/20 12:18 PM, you wrote:
> 
> Please forgive my ignorance and feeble memory. I can't seem to figure
> out how to use rdalsaconfig.
> 
> I open it with sudo rdalsaconfig. A box pops up with three devices
> 
> HDAudio Generic - ALC1150 Analog[01]
> HDAudio Generic - ALC1150 Analog[02]
> HDAudio Generic - ALC1150 Analog[03]
> 
> I can select or unselect each one. There are Save and Cancel buttons at
> the bottom of the list.
> 
> Do those represent my onboard sound? If I select them then hit Save,
> nothing really happens. Nothing changes in my available Audio Resources.
> 
> Michael

Yes, those represent the different entities within your on-board audio 
devices. Clicking on a line "selects" that device (i.e., makes it 
available for use as a Rivendell audio device). You'll need to have 
create and/or write permissions on the file /etc/asound.conf in order to 
save your choices in rdalsaconfig(1). Clicking the "Save" button saves 
your choices.

I recommend playing with it -- try selecting just one line (like, the 
first one) and see if you can hear audio with headphones or a speaker 
plugged into the output of the on-board audio jack.

   ~David


> 
> 
> 
> 
> David Klann wrote on 12/24/20 10:04 AM:
>> Michael,
>>
>> On 12/24/20 11:12 AM, you wrote:
>>>
>>> Is there any way to use the computer onboard sound for the audition output?
>>>
>>
>> Yes, absolutely (as long as it is supported by ALSA).
>>
>> Once you configure your ALSA devices using rdalsaconfig(1) they will
>> appear as additional audio devices in the host's list of audio resources.
>>
>> In my experience, ASI cards always show up as the lower numbered cards
>> (starting with the first card, number Zero). ALSA devices show up as
>> higher-numbered cards.
>>
>> Note that running rdalsaconfig stops the currently playing audio in
>> RDAirplay...
>>
>>  ~David Klann
>>
>>
>>> Michael
>>>
>>>
>>> Fred Gleason wrote on 12/24/20 9:05 AM:
 On Dec 24, 2020, at 12:00, wa7skg >>> > wrote:

> Only have one host, so, yes. Single computer system for now.

 Interesting.

 Could you post the contents of the ‘Audio Resources Information’ dialog
 in rdadmin(1)?

 Cheers!

>>
>>

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


Re: [RDD] Weather and Time Announcements

2020-12-24 Thread Lorne Tyndale
David,

> This is brilliant! It never even occurred to me to load all the time 
> cuts into a cart and then daypart each cut. Fabulous! Thanks for this!

Yup, the only reason I recommend doing 2 carts - one for AM and the
other for PM - is because there is a limit of 999 cuts per cart, so it
isn't possible to load the full 1440 cuts into a single cart.

Lorne Tyndale

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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread David Klann
Michael,

On 12/24/20 11:12 AM, you wrote:
> 
> Is there any way to use the computer onboard sound for the audition output?
> 

Yes, absolutely (as long as it is supported by ALSA).

Once you configure your ALSA devices using rdalsaconfig(1) they will 
appear as additional audio devices in the host's list of audio resources.

In my experience, ASI cards always show up as the lower numbered cards 
(starting with the first card, number Zero). ALSA devices show up as 
higher-numbered cards.

Note that running rdalsaconfig stops the currently playing audio in 
RDAirplay...

   ~David Klann


> Michael
> 
> 
> Fred Gleason wrote on 12/24/20 9:05 AM:
>> On Dec 24, 2020, at 12:00, wa7skg > > wrote:
>>
>>> Only have one host, so, yes. Single computer system for now.
>>
>> Interesting.
>>
>> Could you post the contents of the ‘Audio Resources Information’ dialog
>> in rdadmin(1)?
>>
>> Cheers!
>>


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


Re: [RDD] WEB API not seeing group

2020-12-24 Thread Rich Lawrence
I sent a picture but the reply is awaiting moderation.. so I’ll just reply 
without...

I am using admin for testing and it is doing the same thing with the test pages 
as well. 

Sent from my iPhone

> On Dec 24, 2020, at 4:12 PM, Fred Gleason  wrote:
> 
> On Dec 24, 2020, at 15:57, Rich Gattie  wrote:
> 
>> Since my last email about cart and groups, I changed the cart numbers for 
>> TRAFFIC and imported some audio. Rivendell sees it no problem. 
>> 
>> When I use the WEB API, it doesn't see the group. I changed the carts form 
>> having leading "0"s to 20+
>> The web api still returns a 404. Checking the DB with DBeaver also sees the 
>> carts and the group associated with those carts. 
>> 
>> With the new cart numbers and even a restart of the system, it's still not 
>> seeing the group. What have I missed? Anything?
> 
> Does your user have permission to access the group? 
> (RDAdmin->ManageUsers->GroupPermissions)
> 
> How about when using the test harness? 
> (http://localhost/rd-bin/listcarts.html)
> 
> A good basic methodology when starting any new programming endeavor: start as 
> simple as possible, then work up!
> 
> 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


Re: [RDD] Weather and Time Announcements

2020-12-24 Thread Lorne Tyndale
Hi Michael,

For getting the Time part, one way that I looked at in the past (but
never implemented due to the work requried) is to record an audio cut
for each minute of the day.  To cut down on the amount of recording it
is possible to re-use the AM and PM recordings if you don't specify AM
or PM in the audio.  So for example, you could use the same audio for
saying "It's 12:42" for both 12:42 am and 12:42 pm, leaving it to the
listeners to figure out if it is AM or PM.

You'll want to make 2 carts, one for AM and one for PM, each with 720
cuts of audio representing each minute of that time block.  Daypart each
cut for the minute of time that it represents.

When you want the time of day to play on the air, just schedule the
appropriate cart (or both carts back to back).  It'll only play the cut
that is dayparted for that specific minute.

It takes a bunch of effort to get this type of thing set up, but once
set up it should just work.  Furthermore it is all internal to Rivendell
so if someone needs to figure it out in the future it should be fairly
straight forward to figure out.

Lorne Tyndale

> 
> This station I am moving to Rivendell is currently running on a Windows 
> system. They somehow download the local weather from a NOAA site and 
> cull the local temperature from it. They have a Windows text-to-speech 
> program that reads the .txt file with the temp and creates a short mp3 
> file with the current temperature. They have a whole list of mp3 files 
> covering temps from 0-115 degrees. They also have a bunch of time files 
> with 0-12 hours, 0-59 minutes, and am/pm. I can't seem to find anything 
> in the existing Windows computer that actually performs this function.
> 
> The previous engineer who set all this up basically evaporated leaving 
> no documentation. The current staff knows it happens, but no idea how it 
> works. I found the time and temp audio files and an exe text2speech app, 
> but nothing else.
> 
> 
> Is there anything in Rivendell or Linux I could use to provide this 
> functionality?
> 
> 
> -- 
> 73,
> Michael WA7SKG
> 
> "Any day you do not learn one new thing is a wasted day."
> ___
> 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] WEB API not seeing group

2020-12-24 Thread Fred Gleason
On Dec 24, 2020, at 15:57, Rich Gattie  wrote:

> Since my last email about cart and groups, I changed the cart numbers for 
> TRAFFIC and imported some audio. Rivendell sees it no problem. 
> 
> When I use the WEB API, it doesn't see the group. I changed the carts form 
> having leading "0"s to 20+
> The web api still returns a 404. Checking the DB with DBeaver also sees the 
> carts and the group associated with those carts. 
> 
> With the new cart numbers and even a restart of the system, it's still not 
> seeing the group. What have I missed? Anything?

Does your user have permission to access the group? 
(RDAdmin->ManageUsers->GroupPermissions)

How about when using the test harness? (http://localhost/rd-bin/listcarts.html)

A good basic methodology when starting any new programming endeavor: start as 
simple as possible, then work up!

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


[RDD] WEB API not seeing group

2020-12-24 Thread Rich Gattie
Since my last email about cart and groups, I changed the cart numbers for
TRAFFIC and imported some audio. Rivendell sees it no problem.

When I use the WEB API, it doesn't see the group. I changed the carts form
having leading "0"s to 20+
The web api still returns a 404. Checking the DB with DBeaver also sees the
carts and the group associated with those carts.

With the new cart numbers and even a restart of the system, it's still not
seeing the group. What have I missed? Anything?


-- 
-=:{ Rich Gattie, KB2MOB }:=-
Email: mob...@gmail.com
Web: http://x1radio.net
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Weather and Time Announcements

2020-12-24 Thread wa7skg
This station I am moving to Rivendell is currently running on a Windows 
system. They somehow download the local weather from a NOAA site and 
cull the local temperature from it. They have a Windows text-to-speech 
program that reads the .txt file with the temp and creates a short mp3 
file with the current temperature. They have a whole list of mp3 files 
covering temps from 0-115 degrees. They also have a bunch of time files 
with 0-12 hours, 0-59 minutes, and am/pm. I can't seem to find anything 
in the existing Windows computer that actually performs this function.


The previous engineer who set all this up basically evaporated leaving 
no documentation. The current staff knows it happens, but no idea how it 
works. I found the time and temp audio files and an exe text2speech app, 
but nothing else.



Is there anything in Rivendell or Linux I could use to provide this 
functionality?



--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg
Please forgive my ignorance and feeble memory. I can't seem to figure 
out how to use rdalsaconfig.


I open it with sudo rdalsaconfig. A box pops up with three devices

HDAudio Generic - ALC1150 Analog[01]
HDAudio Generic - ALC1150 Analog[02]
HDAudio Generic - ALC1150 Analog[03]

I can select or unselect each one. There are Save and Cancel buttons at 
the bottom of the list.


Do those represent my onboard sound? If I select them then hit Save, 
nothing really happens. Nothing changes in my available Audio Resources.


Michael




David Klann wrote on 12/24/20 10:04 AM:

Michael,

On 12/24/20 11:12 AM, you wrote:


Is there any way to use the computer onboard sound for the audition output?



Yes, absolutely (as long as it is supported by ALSA).

Once you configure your ALSA devices using rdalsaconfig(1) they will
appear as additional audio devices in the host's list of audio resources.

In my experience, ASI cards always show up as the lower numbered cards
(starting with the first card, number Zero). ALSA devices show up as
higher-numbered cards.

Note that running rdalsaconfig stops the currently playing audio in
RDAirplay...

~David Klann



Michael


Fred Gleason wrote on 12/24/20 9:05 AM:

On Dec 24, 2020, at 12:00, wa7skg mailto:wa7...@wa7skg.com>> wrote:


Only have one host, so, yes. Single computer system for now.


Interesting.

Could you post the contents of the ‘Audio Resources Information’ dialog
in rdadmin(1)?

Cheers!





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


Re: [RDD] Carts and Groups

2020-12-24 Thread Rich Gattie
That's what figured..

Thanks Fred.

Merry Christmas all!



On Thu, Dec 24, 2020 at 10:33 AM Fred Gleason 
wrote:

> On Dec 23, 2020, at 12:03, Rich Gattie  wrote:
>
> While trying my hand with some python code and the web api, I have come
> across an issue I am not sure how to resolve, other than something obvious
> I can do, but wanted to run this by the list and see what was the technical
> reason for it.
>
> I have some carts setup in the TRAFFIC group and they are just number
> 1 - 7. WHen trying to list them in my code, I get an error with the
> leading zeros:
>
>  "leading zeros in decimal integer literals are not permitted; use an 0o
> prefix for octal integers"
>
> I add the '0o' and try again and get a 404. Same thing for the demo page
> that comes with Rivendell, /rd-bin/listcart.html
> Nothing comes up when I do a GROUP_NAME list either, saying that group
> doesn't exist. I guess because of the numbering, that there is no relation
> to the group in the SQL and that is why I get a 404 when I run my code.
> I can see the carts in the DB using DBeaver, so they are there, and they
> do play when scheduled in the logs.
>
> Is there any way to see them with the web api other than reimporting them
> into the group with different cart numbers? There is only 7 of them, so
> it's not like it's a pain. But this is more for my own curiosity.
>
>
> It’s a common convention in many programming languages to treat a leading
> zero on an integer value as being octal (base 8). Likewise, integers that
> start with ‘0x’ are often assumed to be hexadecimal (base 16). To work
> around this, simply don’t use leading zeros when specifying those cart
> numbers.
>
> 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
>


-- 
-=:{ Rich Gattie, KB2MOB }:=-
Email: mob...@gmail.com
Web: http://x1radio.net
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg

Is there any way to use the computer onboard sound for the audition output?

Michael


Fred Gleason wrote on 12/24/20 9:05 AM:
On Dec 24, 2020, at 12:00, wa7skg > wrote:



Only have one host, so, yes. Single computer system for now.


Interesting.

Could you post the contents of the ‘Audio Resources Information’ dialog 
in rdadmin(1)?


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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg

SUPPORTED AUDIO DRIVERS
  AudioScience HPI [4.20.21]
  JACK Audio Connection Kit [Generic]
  Advanced Linux Sound Architecture (ALSA) [1.1.8]

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: AudioScience 6122 [1]
  Driver: AudioScience HPI
  Inputs 2
  Outputs 2

  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

  Card 8: Not present

  Card 9: Not present

  Card 10: Not present

  Card 11: Not present

  Card 12: Not present

  Card 13: Not present

  Card 14: Not present

  Card 15: Not present

  Card 16: Not present

  Card 17: Not present

  Card 18: Not present

  Card 19: Not present

  Card 20: Not present

  Card 21: Not present

  Card 22: Not present

  Card 23: Not present




Fred Gleason wrote on 12/24/20 9:05 AM:
On Dec 24, 2020, at 12:00, wa7skg > wrote:



Only have one host, so, yes. Single computer system for now.


Interesting.

Could you post the contents of the ‘Audio Resources Information’ dialog 
in rdadmin(1)?


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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg
And, for testing, I tried switching rdairplay to port 1 output. That 
does not work either. Audio still coming out of port 0.


Michael


wa7skg wrote on 12/24/20 9:00 AM:

Only have one host, so, yes. Single computer system for now.

Michael

Fred Gleason wrote on 12/24/20 8:23 AM:
On Dec 24, 2020, at 11:19, wa7skg > wrote:


I've restarted rdairplay and everything else. I've even restarted the 
computer several times. In rdadmin, Manage Hosts, the rdlibrary 
button shows input and output both using Card 0, Port 1, but anything 
I play in rdlibrary still comes out of Port 0.


Are you sure you’re changing the correct host profile?

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] Audioscience board outputs

2020-12-24 Thread Fred Gleason
On Dec 24, 2020, at 12:00, wa7skg  wrote:

> Only have one host, so, yes. Single computer system for now.

Interesting.

Could you post the contents of the ‘Audio Resources Information’ dialog in 
rdadmin(1)?

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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg

Only have one host, so, yes. Single computer system for now.

Michael

Fred Gleason wrote on 12/24/20 8:23 AM:
On Dec 24, 2020, at 11:19, wa7skg > wrote:


I've restarted rdairplay and everything else. I've even restarted the 
computer several times. In rdadmin, Manage Hosts, the rdlibrary button 
shows input and output both using Card 0, Port 1, but anything I play 
in rdlibrary still comes out of Port 0.


Are you sure you’re changing the correct host profile?

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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread Fred Gleason
On Dec 24, 2020, at 11:19, wa7skg  wrote:

> I've restarted rdairplay and everything else. I've even restarted the 
> computer several times. In rdadmin, Manage Hosts, the rdlibrary button shows 
> input and output both using Card 0, Port 1, but anything I play in rdlibrary 
> still comes out of Port 0.

Are you sure you’re changing the correct host profile?

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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread wa7skg
I've restarted rdairplay and everything else. I've even restarted the 
computer several times. In rdadmin, Manage Hosts, the rdlibrary button 
shows input and output both using Card 0, Port 1, but anything I play in 
rdlibrary still comes out of Port 0.


Michael


Fred Gleason wrote on 12/24/20 7:34 AM:
On Dec 23, 2020, at 16:46, wa7skg > wrote:


I have an ASI6122 board in my machine. I go into rdadmin > Manage 
Hosts > (MyHost) > rdlibrary. For both Input and Output, I select Card 
0, Port 1. I click OK, then close windows until I am out of rdadmin.


However, when I try to play a cut in rdlibrary, it still comes out on 
the over the air channel, not the audition speakers. Rdairplay is set 
to port 0. I go back and double check and rdlibrary is still set to 
port 1.


I am obviously missing something, but am at a loss as to what.


You’ll need to restart rdairplay(1) for those changes to get picked up.

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


Re: [RDD] Rivendell Facebook closed?

2020-12-24 Thread Gavin Stephens
I don't know about that, I love broadcast audio processing and the 
broadcasting club is useful. For Rivendell though, the mailing list is 
the first point of call.


I'll see if the admin is still around.

On 25/12/2020 5:08 am, wa7skg wrote:
That's the one I'm trying to join. Apparently the admin is no longer 
active to approve new members. Kind of worthless, like most everything 
else on Facebook.



Michael

Gavin Stephens wrote on 12/24/20 6:38 AM:

It's still active, I'm a member in the group.

This is the one I'm a member of:

https://www.facebook.com/groups/1739406449620107

Cheers,

Gavin.


On 24/12/2020 7:20 pm, wa7skg wrote:

Rivendell Open Source Automation Users



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


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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


Re: [RDD] Rivendell Facebook closed?

2020-12-24 Thread wa7skg
That's the one I'm trying to join. Apparently the admin is no longer 
active to approve new members. Kind of worthless, like most everything 
else on Facebook.



Michael

Gavin Stephens wrote on 12/24/20 6:38 AM:

It's still active, I'm a member in the group.

This is the one I'm a member of:

https://www.facebook.com/groups/1739406449620107

Cheers,

Gavin.


On 24/12/2020 7:20 pm, wa7skg wrote:

Rivendell Open Source Automation Users



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


Re: [RDD] Audioscience board outputs

2020-12-24 Thread Fred Gleason
On Dec 23, 2020, at 16:46, wa7skg  wrote:

> I have an ASI6122 board in my machine. I go into rdadmin > Manage Hosts > 
> (MyHost) > rdlibrary. For both Input and Output, I select Card 0, Port 1. I 
> click OK, then close windows until I am out of rdadmin.
> 
> However, when I try to play a cut in rdlibrary, it still comes out on the 
> over the air channel, not the audition speakers. Rdairplay is set to port 0. 
> I go back and double check and rdlibrary is still set to port 1.
> 
> I am obviously missing something, but am at a loss as to what.

You’ll need to restart rdairplay(1) for those changes to get picked up.

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


Re: [RDD] Carts and Groups

2020-12-24 Thread Fred Gleason
On Dec 23, 2020, at 12:03, Rich Gattie  wrote:

> While trying my hand with some python code and the web api, I have come 
> across an issue I am not sure how to resolve, other than something obvious I 
> can do, but wanted to run this by the list and see what was the technical 
> reason for it. 
> 
> I have some carts setup in the TRAFFIC group and they are just number 1 - 
> 7. WHen trying to list them in my code, I get an error with the leading 
> zeros:
> 
>  "leading zeros in decimal integer literals are not permitted; use an 0o 
> prefix for octal integers"
> 
> I add the '0o' and try again and get a 404. Same thing for the demo page that 
> comes with Rivendell, /rd-bin/listcart.html
> Nothing comes up when I do a GROUP_NAME list either, saying that group 
> doesn't exist. I guess because of the numbering, that there is no relation to 
> the group in the SQL and that is why I get a 404 when I run my code. 
> I can see the carts in the DB using DBeaver, so they are there, and they do 
> play when scheduled in the logs. 
> 
> Is there any way to see them with the web api other than reimporting them 
> into the group with different cart numbers? There is only 7 of them, so it's 
> not like it's a pain. But this is more for my own curiosity. 

It’s a common convention in many programming languages to treat a leading zero 
on an integer value as being octal (base 8). Likewise, integers that start with 
‘0x’ are often assumed to be hexadecimal (base 16). To work around this, simply 
don’t use leading zeros when specifying those cart numbers.

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


Re: [RDD] ID Scheduling Problem

2020-12-24 Thread Fred Gleason
On Dec 23, 2020, at 11:52, Mark Murdock  wrote:

> We just updated yesterday to 3.5, and just discovered that the schedules 
> created for the new year are putting all of the legal IDs at the end of the 
> log. We use Music1 for music and traffic scheduling, and the IDs are inserted 
> by RDLogManager. This has been working fine until now. If I look at the log 
> in RDLogEdit the Estimated Time for each song and item is there, but if I 
> bring up the log in the Voice Tracker all of the items are scheduled for 
> “00:00”00.” The text log generated by Music1 looks fine. In RDAirPlay the log 
> listing is blank in the field for Estimated Time. Obviously we need to 
> resolve this problem right away. Any ideas?

The schedule file parser in v3.5.0 has been significantly ‘tightened up’. It’s 
a long story, but in previous versions, there were two ways that placement for 
‘inline events’ (such as voice tracks, marker inserts and such) could be 
calculated: explicitly, or by relation to the surrounding events; with the 
parser automatically determining which approach to use. This approach turned 
out to be fraught and difficult to troubleshoot as one was never sure which 
approach was actually being used.

So, as of v3.5.0, you need to explicitly state which approach should be used, 
on a per-Service basis. You can find detailed information about these settings 
in the Operations Guide, online at:


http://opsguide.rivendellaudio.org/html/sect.rdadmin.manage_services.html#sect.rdadmin.manage_services.general.inline_event_scheduling_parameters

It’s quite likely that your issue will be solved by changing the Inline Event 
settings.

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


Re: [RDD] Rivendell Facebook closed?

2020-12-24 Thread Gavin Stephens

It's still active, I'm a member in the group.

This is the one I'm a member of:

https://www.facebook.com/groups/1739406449620107

Cheers,

Gavin.


On 24/12/2020 7:20 pm, wa7skg wrote:

Rivendell Open Source Automation Users


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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