Re: [RDD] Music bed question

2022-06-11 Thread ermina
another idea would be automate what you are currently manually doing in 
Audacity.
With sox or ffmpeg, mixing two files is easy. I'm pretty sure with some 
more involved scripting it should be doable to not only mix the two 
files, but to auto-duck the bed only while the voice file is playing.


On 2022-05-30 08:15, Marcin Marzec wrote:

Two approaches:

1. play wit panel buttons
Insert in playlist single Macro Cart instead of bed etc.
- stop playlist
- Press panel button A - bed
- SP 1000! (sleep 1000)
- duck panel i.e. -12 dB
- press panel button B - talk
- wait 29000 ms
- duck button A, B -50dB to emulate fadeout
- Play next in playlist

or
2. use the Aux log.
Insert Macro Cart before Bed (doesn't matter if it's bed mixed with
talk or bed with Cue Next in front)
In the Macro
- start playlist from Aux Log
- in the Aux Log insert Macro Cart with
  Sleep 3
  Play Next from playlist 1

Just a loose ideas, you need to test and tweak it.

Marcin

pt., 8 kwi 2022 o 00:51 Rob Landry <41001...@interpring.com>
napisał(a):


I have a station that plays weather forecasts on top of a music bed.

What we do now is open Audacity, pull in the forecast and the bed,
and
save the combination as a single cut that gets uploaded to
Rivendell.

What we'd like to be able to to is hard-code the bed into the log,
such
that we only have to upload the forecast and it always plays on top
of te
bed.

So far, I've conceived of two ideas:

1) The cart containing the bed is mapped to a SounPanel button,
which is
"pushed" by a script called weatherbed.sh invoked by a macro titled
"Weather start" that immediately precedes the westher forecast in
the log.
I test-ran this and it appears to work.

2) Set up the bed with a Segue cue a fraction of a second into its
audio,
with the End Segue cue at the end of the bed. Thus, the forecast
that
immediately follows the bed on the log will play on top of it.

The problem with both of these approaches is that I want the weather
to
always be exactly 30 seconds, the length of the bed, regardless of
how
short a file the weather guy may send us.

Will either of these methods produce that result? Or will the bed
end and
the next event on the log start right at the end of the weather
guy's
audio, if it's less than :30? On my test run, both were close enough
to
:30 that I couldn't tell.

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] Importing audio on new drive

2022-03-29 Thread ermina

Hi,

not sure how RD4 works yet, but if your installation is on a single 
computer, you can just edit /etc/fstab to bind the path where you 
actually store your files to /var/snd; ie add a line that says:


/media/rd/F00E70710E703328/var/snd/ /var/sndnone bind 0 0

Hope this helps.

. leo

On 3/26/22 8:09 PM, Seth Stevenson wrote:


I using the new ubuntu studio version of Rivendell with the 4.0 version 
of Rivendell. I was able to import files just fine with the standard setup.


However I needed to move /var/snd to a bigger second drive. I deleted 
the /var/snd and created one on the second drive. I give it permissions 
per normal. However rdimport now errors with "unable to create the 
destination file".


The path I'm using on the new drive is 
this /media/rd/F00E70710E703328/var/snd/


What  am I missing in order to get rivendell to see the new /var/snd 
location?


--
Seth Stevenson

___
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] bs1770gain script, and CHAIN TO LOG/Make Next

2021-02-14 Thread ermina

Hello,

1/
i use this .php script, run from the command line.
It uses the "loudness" tool that comes with this library: 
https://github.com/jiixyj/libebur128
To use bs1770gain --ebu it would just take to change how the $rawRes 
string is parsed to extract the integrated LUFS value.
It works with 2.5.1, but i don't think the database structure has 
changed with regards to the fields needed here.


// this script has been written in order to work with rivendell 2.1.4 
database

// use at your own risk.

// what it does:
// 1/ analyse CUTS in -cart, -group, -all CUTS added since some date
// 2/ adjust PLAY_GAIN value to reach -23LUFS
// do not use on cuts that are being recorded to, that hangs the 
analysis process


// config options
$PATH_TO_LIBEBUR128=""; // absolute path to the libebur128 'loudness' 
binary

$RIVENDELL_DB_IP="192.168.x.x"; // SQL server ip
$RIVENDELL_DB_NAME="Rivendell";
$RIVENDELL_DB_USER="";
$RIVENDELL_DB_PASSWORD="";

// choose on what you want to perform the replay gain change
$CART_TO_NORMALIZE="082899"; // single cart
$GROUP="TEMP"; // all cuts of all carts belonging to GROUP
$LAST_NORM_DATE="2013-01-30 19:44:00"; // all cuts that were imported 
after LAST_NORM_DATE


// uncomment the line corresponding to your needs
//$sqlRequest="SELECT * FROM CUTS WHERE CART_NUMBER = 
'$CART_TO_NORMALIZE'";// single cart
//$sqlRequest="SELECT * FROM CUTS,CART WHERE CART.NUMBER = 
CUTS.CART_NUMBER AND CART.GROUP_NAME = '$GROUP'"; // all cuts of all 
carts belonging to GROUP
//$sqlRequest="SELECT * FROM CUTS WHERE ORIGIN_DATETIME > 
'$LAST_NORM_DATE'"; // all cuts imported after LAST_NORM_DATE


$db = mysql_connect("$RIVENDELL_DB_IP", "$RIVENDELL_DB_USER", 
"$RIVENDELL_DB_PASSWORD") or die('connection failed ' . mysql_error());

mysql_select_db("$RIVENDELL_DB_NAME") or die(mysql_error());
$result = mysql_query($sqlRequest) or die(mysql_error());
mysql_close($db);
$rowCheck = mysql_num_rows($result);
if($rowCheck > 0)
{
while($row = mysql_fetch_array($result))
{
echo $row['CUT_NAME']." "; // print cut reference number
echo $row['PLAY_GAIN']." "; // print current replay gain
$cutName = $row['CUT_NAME'];
// analyse levels and get offset
$command = "$PATH_TO_LIBEBUR128"." scan 
/var/snd/".$row['CUT_NAME'].".wav";

$rawRes = shell_exec( $command." 2>&1" );
$LUFSValue = substr($rawRes,-11);
$LUFSValue = substr($LUFSValue, 0, 5);
echo $LUFSValue." ";
$gain = -23 - $LUFSValue;
$gain = $gain * 100;
echo " gain :".$gain."\n";
// write new replay gain
$req="UPDATE CUTS SET PLAY_GAIN = '$gain' WHERE CUT_NAME = '$cutName'";
$db = mysql_connect("$RIVENDELL_DB_IP", "$RIVENDELL_DB_USER", 
"$RIVENDELL_DB_PASSWORD") or die('connection failed : ' . 
mysql_error());

mysql_select_db("$RIVENDELL_DB_NAME") or die(mysql_error());
mysql_query($req) or die(mysql_error());
mysql_close($db);

}
}

//EOF

2/
I don't use CHAIN TO but run this script via crontab at 00:00:00

#!/bin/sh
NOWDATE=$(date +%Y%m%d)
rmlsend --to-host=192.168.x.x LL\ 1\ $NOWDATE\!
exit 0

Each log starts with a "make next" or "start immediately" event 
depending on days.


Cheers,
. leo

On 2021-02-14 19:18, Bemis, Andru wrote:


I have two questions for the fine wizards here:

1) Does someone have a script I can use to apply bs1770gain or some
equivalent to set the cut_gain for a group of carts in /var/snd?
Ideally, I'd like to be able to set a custom LUFS level (-26 LUFS, in
my case) to allow extra headroom and to be more consistent with RD's
visual meters.

2) Is there a  way to automatically make CHAIN TO LOG start at
23:59:59 as a "Make Next" event? I've found that if I over-book music
in the 11 PM hour, CHAIN TO LOG waits for the last track to finish
before firing. And if I try "Make Next" at midnight, it seems to lose
track of itself.

Thanks to all!

Andru Bemis
Producer & Host

THE CHENANGO SESSIONS
_World-class musicians recorded live in small rooms and intimate
spaces. Weekly one-hour broadcasts, syndicated worldwide through
Pacifica Radio & PRX._

- Website: chenangosessions.andrubemis.com [1 [1]]
- Pacifica:
audioport.org/index.php?op=series&series=WBDY+Chenango+Sessions [2 [2]]
- PRX: exchange.prx.org/series/39247-chenango-sessions [3 [3]]

_Message sent from andrubemis.com [4 [4]]_

Links:
--
[1] http://chenangosessions.andrubemis.com
[2] 
http://audioport.org/index.php?op=series&series=WBDY+Chenango+Sessions&;

[3] https://exchange.prx.org/series/39247-chenango-sessions
[4] http://www.andrubemis.com
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



Links:
--
[1] http://chenangosessions.andrubemis.com
[2] 
http://audioport.org/index.php?op=series&series=WBDY+Chenango+Sessions&

[3] https://exchange.prx.org/series/39247-chenango-sessions
[4] http://www.andrubemis.com___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.p

[RDD] 3.5.0 rdlibrary "add cut" behavior

2021-01-23 Thread ermina

Hi,

On Rivendell 3.5.0, i encounter what i believe is a broken/unintended 
behavior:


- open a cart in rdlibrary
- click "Add" to add a cut in that cart
- if this cut already contains cuts, find that the newly created cut is 
not added at the end of the list, but somewhere random* among existing cuts.


* actually it is not random but seems based on "filling in" cuts numbers 
like if you have a 095001_061 file and a 095001_063 file, it will create 
a 095001_062 file.


That makes it very difficult and counter-intuitive to find the latest 
added cut.


Given that we use some carts to record plenty of voice overs and other 
material for later editing, it is very important in our workflow that we 
find stuff in the chronological order it's been recorded.


NB: sorting by "ingest date" is useless since it sorts against a string 
containing the date in american format… with the month number first.


Did i overlook something ?

Cheers,

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


Re: [RDD] RMS normalization?

2021-01-10 Thread ermina
If you search this list's archives for "LUFS", "R128", or "BS1770" you 
will find that some (including myself) advocate for the use of loudness 
normalization, because that is what makes sense.


Now, it is not implemented in Rivendell, but since it runs on linux, you 
can always use external scripts (in bash or any other language) to 
analyse your cuts and edit the "PLAY_GAIN" value of each cut directly 
with an SQL request. It is less convenient but i wouldn't hold my breath 
about having the feature integrated anytime soon. I don't know why but 
the idea doesn't seem to gain traction in the Rivendell universe. 
Probably a dwarves vs elves thing ;)


Cheers,

. leo

On 2021-01-08 23:45, Bemis, Andru wrote:

Thanks for your response, Fred. I truly appreciate everything you and
the other developers have done to make such a useful and well-thought
out program.

I'm in the midst of importing a few thousand cuts (studio albums, live
recordings, and voice tracks) for a new Rivendell installation for our
local LP station. I've figured out a pretty good workflow, in which I
set levels while placing voice and segue marks, but RMS normalization
would certainly save a good deal of time in the long run, while
producing more consistent results than my quick eyes&ears check.
Ardour/Mixbus has an RMS normalization function which defaults to 0dB
peak normalization when RMS would otherwise introduce clipping.
Perhaps an approach like this would be helpful in RD. It's much easier
to fix occasional errant recordings after the fact than to have to
manually check levels for all.

I know you have plenty of things on your plate, and don't expect this
is the most pressing, but I did want to bring it up.

Have a great weekend, everyone.

Andru Bemis

557 Chenango Street, Binghamton, NY 13901, USA
(269) 767-8235
he/him

On Thu, Jan 7, 2021 at 11:05 AM
 wrote:


Send Rivendell-dev mailing list submissions to
rivendell-dev@lists.rivendellaudio.org

To subscribe or unsubscribe via the World Wide Web, visit

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
or, via email, send a message with subject or body 'help' to
rivendell-dev-requ...@lists.rivendellaudio.org

You can reach the person managing the list at
rivendell-dev-ow...@lists.rivendellaudio.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Rivendell-dev digest..."

Today's Topics:

1. RMS normalization? (Bemis, Andru)
2. Re: RMS normalization? (Fred Gleason)



--


Message: 1
Date: Wed, 6 Jan 2021 20:36:43 -0500
From: "Bemis, Andru" 
To: rivendell-dev@lists.rivendellaudio.org
Subject: [RDD] RMS normalization?
Message-ID:


Content-Type: text/plain; charset="utf-8"

I'm new to this list, so if this has been covered in the past (I
presume it
has), please forgive me. Does RD support RMS normalization, or only
peak?

*Andru Bemis*
*Producer & Host*
*THE CHENANGO SESSIONS*
*World-class musicians recorded live in small rooms and intimate
spaces.
Weekly one-hour broadcasts, syndicated worldwide through Pacifica
Radio &
PRX.*

- Website: chenangosessions.andrubemis.com [1]
- Pacifica:
audioport.org/index.php?op=series&series=WBDY+Chenango+Sessions [2]




- PRX: exchange.prx.org/series/39247-chenango-sessions [3]

- GCR2 Global Community Radio
- KAKU 88.5 FM Voice of Maui (Kahului, HI)
- KBOG 97.9 FM (Bandon, OR)
- KPSQ 97.3 FM Public Square Community Radio (Fayetteville, AR)
- KPOV 88.9 FM High Desert Community Radio (Bend, OR)
- KWSI 100.3 FM (Grand Junction, CO)
- KXCJ 105.7 FM Illinois Valley Community Radio (Cave Junction,
OR)
- WBDY 99.5 FM The Bundy (Binghamton, NY)
- WHPW 97.3 FM (Harpswell, ME)
- WOOL 91.5 FM Black Sheep Radio (Bellows Falls, VT)
- WPVM 103.7 FM (Asheville, NC)
- WXOJ 103.3 FM Valley Free Radio (Florence, MA)

557 Chenango Street
Binghamton, NY 13901, USA
(269) 767-8235
*he/him*

--
*Message sent from?andrubemis.com [4] *
-- next part --
An HTML attachment was scrubbed...
URL:





--

Message: 2
Date: Thu, 7 Jan 2021 08:57:36 -0500
From: Fred Gleason 
To: User discussion about the Rivendell Radio Automation System

Subject: Re: [RDD] RMS normalization?
Message-ID:

Content-Type: text/plain; charset="utf-8"

On Jan 6, 2021, at 20:36, Bemis, Andru  wrote:


I'm new to this list, so if this has been covered in the past (I

presume it has), please forgive me. Does RD support RMS
normalization, or only peak?

Peak only.

There have been discussions about implementing RMS normalization,
but it introduces some thorny questions ?e.g. handling exception
conditions, such as sample clipping.

Cheers!



|-|

| Frede

Re: [RDD] Filling Time with Music

2020-12-23 Thread ermina

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
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] [SOLVED] Re: 3.4.1 RN RML not executing

2020-12-17 Thread ermina

I finally compiled 3.5.0 and the RN macros now work as expected.

On 2020-12-18 01:19, erm...@studioplume.com wrote:

Well, it certainly has nothing to do with X.
A simple RN test.sh! containing 'echo "test" > test.txt' is not run.
I'm confused and stuck.

On 2020-12-17 17:42, ermina wrote:

Hi list,

using Rivendell 3.4.1 (on debian 10) i'm having a hard time getting
the RN RML command to actually execute something.

The logs show that the command is received:
ripcd: received rml: "RN rdlogin!" from 192.168.1.14

On that host, /etc/rd.conf has the RnRmlOwner and RnRmlGroup set as
the linux user currently logged in and running RDAirplay (from which i
ultimately want to fire a macro cart containing 'RN rdlogin!' from the
sound panel).
Running the rivendell-daemons as root or as the same user does not
change a thing.
Using the full path RN /usr/local/bin/rdlogin! does not change a 
thing.

Sending the RML commmand via rmlsend from another host does not change
a thing (the response is: "no response" although the log on
192.168.1.14 show "received rml").

I must say i am quite clueless as to what to look at next.
I suspect something about access to X server but since there is no
more information logged… (or is there a more verbose log than the
default ?)

Has anyone met and solved this ?

Cheers,

. leo
___
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] 3.4.1 RN RML not executing

2020-12-17 Thread ermina

Well, it certainly has nothing to do with X.
A simple RN test.sh! containing 'echo "test" > test.txt' is not run.
I'm confused and stuck.

On 2020-12-17 17:42, ermina wrote:

Hi list,

using Rivendell 3.4.1 (on debian 10) i'm having a hard time getting
the RN RML command to actually execute something.

The logs show that the command is received:
ripcd: received rml: "RN rdlogin!" from 192.168.1.14

On that host, /etc/rd.conf has the RnRmlOwner and RnRmlGroup set as
the linux user currently logged in and running RDAirplay (from which i
ultimately want to fire a macro cart containing 'RN rdlogin!' from the
sound panel).
Running the rivendell-daemons as root or as the same user does not
change a thing.
Using the full path RN /usr/local/bin/rdlogin! does not change a thing.
Sending the RML commmand via rmlsend from another host does not change
a thing (the response is: "no response" although the log on
192.168.1.14 show "received rml").

I must say i am quite clueless as to what to look at next.
I suspect something about access to X server but since there is no
more information logged… (or is there a more verbose log than the
default ?)

Has anyone met and solved this ?

Cheers,

. leo
___
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] 3.4.1 RN RML not executing

2020-12-17 Thread ermina

Hi list,

using Rivendell 3.4.1 (on debian 10) i'm having a hard time getting the 
RN RML command to actually execute something.


The logs show that the command is received:
ripcd: received rml: "RN rdlogin!" from 192.168.1.14

On that host, /etc/rd.conf has the RnRmlOwner and RnRmlGroup set as the 
linux user currently logged in and running RDAirplay (from which i 
ultimately want to fire a macro cart containing 'RN rdlogin!' from the 
sound panel).
Running the rivendell-daemons as root or as the same user does not 
change a thing.

Using the full path RN /usr/local/bin/rdlogin! does not change a thing.
Sending the RML commmand via rmlsend from another host does not change a 
thing (the response is: "no response" although the log on 192.168.1.14 
show "received rml").


I must say i am quite clueless as to what to look at next.
I suspect something about access to X server but since there is no more 
information logged… (or is there a more verbose log than the default ?)


Has anyone met and solved this ?

Cheers,

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


Re: [RDD] Mail list search?

2020-03-13 Thread ermina

Hi,

you can use google with an expression like this (without quotes):
"keywords site:http://caspian.paravelsystems.com/pipermail/rivendell-dev/";

. leo

On 03/13/2020 03:15 AM, Phil Biehl wrote:

I don’t want to ask questions that have been asked and answered already 
before I’ve had a chance to search the list archives. However, doing so seems 
laborious as there does not appear to be a search option when viewing the 
archive. Am I missing something?

Thanks,
Phil
___
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] solved Re: (debian) can't upgrade database scheme 220 to 314

2020-02-20 Thread ermina

hum. i was too fast reaching out in despair :D.
my problem is solved.

I stumbled upon the github issue 
(https://github.com/ElvishArtisan/rivendell/issues/515) prescribing a 
patch in updateschema.cpp
and utilizing that the update to version 314 worked, with a few warnings 
about "out of range value for column 'MINIMUM_TALK_LENGTH'".


Somehow i stopped my reading at the INSTALL file and my google-fu was 
not circulating well.


. leo

On 02/20/2020 05:03 PM, ermina wrote:


Hi list,

On my test machine running debian 10, i just updated rivendell 3 to 
yesterday's git version (3.2.1int2), from the 3.0-something version.

When running rddbconfig to upgrade the database schema, it fails.

So I took a backup from my running Rivendell 2.5 installation and went 
into rddbconfig to "restore" from this backup (database has schema 
version 220). Just before backing up the 220 db i ran rddbcheck on the 
system from where it comes.


I get a first dialog saying :

Database Restored Successfully
Restored Rivendell database form /path/to/file.sql

Then rddbconfig asks to upgrade the db schema.

Then (after ~15 minutes) the schema upgrade process fails with this 
error message:


Qt: Session management error: None of the authentication protocols 
specified are supported

rddbmgr: missing RULES table for clock "61z"
rddbmgr: missing RULES table for clock "s15"
DB connection re-established
invalid SQL or failed DB connection[Field 'STATION' doesn't have a 
default value QMYSQL: Unable to execute query]: insert into 
NEXUS_STATIONS set RD_SERVICE="Production"
rddbmgr: sql error: Field 'STATION' doesn't have a default value QMYSQL: 
Unable to execute query query: insert into NEXUS_STATIONS set 
RD_SERVICE="Production"


If i quit and restart rddbconfig then it displays db version as 309 and 
asks me again to upgrade to 314. The error message is then this one:


Qt: Session management error: None of the authentication protocols 
specified are supported

DB connection re-established
invalid SQL or failed DB connection[Duplicate column name 
'MINIMUM_TALK_LENGTH' QMYSQL: Unable to execute query]: alter table CART 
add column MINIMUM_TALK_LENGTH int unsigned default 0 after 
AVERAGE_HOOK_LENGTH
rddbmgr: sql error: Duplicate column name 'MINIMUM_TALK_LENGTH' QMYSQL: 
Unable to execute query query: alter table CART add column 
MINIMUM_TALK_LENGTH int unsigned default 0 after AVERAGE_HOOK_LENGTH



This is beyond my understanding to find out what's wrong.
Error logs from mysql is a simple:
2020-02-20 16:54:20 619 [Warning] Aborted connection 619 to db: 
'Rivendell' user: 'myuser' host: 'localhost' (Got an error reading 
communication packets)

which i believe is a consequence not a cause.

The database software is
mysql  Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnu (x86_64) 
using readline 5.2

OS is an up-to-date debian stable.

Can someone help me with this ? Should i file it as an issue in github ?
What could i do to help identify the problem ?

cheers,

. leo
___
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] (debian) can't upgrade database scheme 220 to 314

2020-02-20 Thread ermina



Hi list,

On my test machine running debian 10, i just updated rivendell 3 to 
yesterday's git version (3.2.1int2), from the 3.0-something version.

When running rddbconfig to upgrade the database schema, it fails.

So I took a backup from my running Rivendell 2.5 installation and went 
into rddbconfig to "restore" from this backup (database has schema 
version 220). Just before backing up the 220 db i ran rddbcheck on the 
system from where it comes.


I get a first dialog saying :

Database Restored Successfully
Restored Rivendell database form /path/to/file.sql

Then rddbconfig asks to upgrade the db schema.

Then (after ~15 minutes) the schema upgrade process fails with this 
error message:


Qt: Session management error: None of the authentication protocols 
specified are supported

rddbmgr: missing RULES table for clock "61z"
rddbmgr: missing RULES table for clock "s15"
DB connection re-established
invalid SQL or failed DB connection[Field 'STATION' doesn't have a 
default value QMYSQL: Unable to execute query]: insert into 
NEXUS_STATIONS set RD_SERVICE="Production"
rddbmgr: sql error: Field 'STATION' doesn't have a default value QMYSQL: 
Unable to execute query query: insert into NEXUS_STATIONS set 
RD_SERVICE="Production"


If i quit and restart rddbconfig then it displays db version as 309 and 
asks me again to upgrade to 314. The error message is then this one:


Qt: Session management error: None of the authentication protocols 
specified are supported

DB connection re-established
invalid SQL or failed DB connection[Duplicate column name 
'MINIMUM_TALK_LENGTH' QMYSQL: Unable to execute query]: alter table CART 
add column MINIMUM_TALK_LENGTH int unsigned default 0 after 
AVERAGE_HOOK_LENGTH
rddbmgr: sql error: Duplicate column name 'MINIMUM_TALK_LENGTH' QMYSQL: 
Unable to execute query query: alter table CART add column 
MINIMUM_TALK_LENGTH int unsigned default 0 after AVERAGE_HOOK_LENGTH



This is beyond my understanding to find out what's wrong.
Error logs from mysql is a simple:
2020-02-20 16:54:20 619 [Warning] Aborted connection 619 to db: 
'Rivendell' user: 'myuser' host: 'localhost' (Got an error reading 
communication packets)

which i believe is a consequence not a cause.

The database software is
mysql  Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnu (x86_64) 
using readline 5.2

OS is an up-to-date debian stable.

Can someone help me with this ? Should i file it as an issue in github ?
What could i do to help identify the problem ?

cheers,

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


Re: [RDD] Debian Buster error LibMusicBrainz not installed

2020-02-19 Thread ermina

Hi,

on Buster, you need to install libdiscid-dev, libmusicbrainz5-dev  and 
libcoverart-dev.


. leo

On 02/17/2020 04:57 PM, Thomas E wrote:

Hello,

I am trying to configure/ install on Debian Buster. I am getting the an 
error saying  LibMusicBrainz is not installed. I have used synaptic and 
installed every picard/musicbrainz lib file etc, that I could find. What 
am I missing? Any thoughts would be greatly appreciated.


Warm regards,

Thomas E

___
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 /var/snd over NFS

2020-01-22 Thread ermina




On 01/20/2020 08:10 PM, Steve wrote:
Is anyone using /var/snd over NFS for the server side in a server/client setup?  


Hello,

yes. Our audio cuts are stored on a FreeNAS machine, shared via NFS to 
various Rivendell machines, physical and virtual. Works great.


The FreeNAS also handles shared working directories (production files) 
and recent archives. ZFS filesystem allows to easily recover an 
accidentally deleted file (via snapshots, not that it's used often, but 
that's a handy feature). (don't forget periodical off-site backups).


++

. leo


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


Re: [RDD] Unexpected "Make Next" behavior

2019-11-25 Thread ermina
If i understand well, your problem is that the Make Next event behaves 
like a "Start Immediately" event ?
I seem to remember having encountered this behavior years ago on 2.x but 
i can't find a mention of it in my notes. I believe it had to do with 
several make next events "accumulating" while waiting for a cart to end.

I might have been something like:
55:00 a 7-minute long cart starts.
58:00 Timed Make Next Event n°1 starts waiting
59:00 Timed Make Next Event n°2 should start waiting but cuts everything 
before it and plays the next event immediately.


I'm not sure if the solution was anything else than avoiding this kind 
of situation.

I'll try to reproduce this when time allows.

. leo


On 2019-11-23 05:04, Matthew Chambers wrote:

So I am toying around with Rivendell after having not messed with it
for a couple years. I installed v2.19.3 from the Paravel repo onto
CentOS7.

I have a bunch of content ingested and created a pretty plain standard
clock, has music, and breaks and the last event is the TOH ID that is
set to Start Make Next at x:59:50, I use that to "clean up" any extra
songs from the hour and be ready to start the next hour. However when
x:59:50 arrives the currently playing song abruptly stops, the ID
plays and the next hour starts right at the top of the hour, instead
of floating and starting after the current event. Did some behavior
change for Make Next events that I missed, or maybe a bug that I
should upgrade to v3 for?

Matthew Chambers, CBT, NR0Q
Owner/Engineer
M CHAMBERS COMMUNICATIONS ENGINEERING LLC
PO BOX 311, Atlanta, MO 63530
Office (660)239-4911 Mobile (660)415-5620
www.mchambersradio.com [1]



Links:
--
[1] http://www.mchambersradio.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] DEVA mini RDS

2019-09-27 Thread ermina

Hi,

we use a Deva Smartgen 5 and we feed it the Now Playing data via telnet.
Relevant extract of the bash script:

{
sleep 1
echo TEXT=$RADIOTEXT
sleep 1
echo DPS=$DYNPS
sleep 1
echo exit
} | telnet 192.168.1.x 1024

Hope it helps

.e
On 09/26/2019 11:33 PM, jstinson wrote:
There was some discussion some time back about using a DEVA mini with 
Rivendell.  I bought one and have very unsuccessfully gotten it to spit 
out Now & Next.  Has anybody gotten one working and willing to share the 
info with me?


I would appreciate any help.

Thanks,
Jimmy


___
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] Slow SQL performance

2019-07-21 Thread ermina

Hi,

i think i have the same problem.
Friday i just installed the 3.0.1 release on a standalone machine 
running Debian 10.


After importing a dump of our production db (~250Mo) into MariaDB and 
upgrading the db to the current schema with rddbconfig, i just launched 
rdairplay and wanted to add a cart on a panel button.


In the dialog box, unchecking "show only first 100…" did trigger a 
pop-up window with a progress bar and it took a good moment to display 
all carts. I thought maybe it was doing some sort of cache for the first 
time, but each subsequent search (eg. typing a letter in the search 
field) triggered the same behavior.


The work week was over so i left it at that.

My guess is that it's about a setting in the default MySQL config on 
Debian.

If someone has a hint towards a solution, please help us :)

. leo

On 2019-07-20 20:04, Schwoon, newsletter wrote:

Hi

I've installed the latest 3.x release on Debian 9.
The server is running inside a KVM virtual machine without any
problem. Just like the server for the 2.x system. I've opened the
mariaDB Server to the local network with changing the bind address
line to 0.0.0.0. The audio ist shared with NFS.

Then i installed on a physical machine the first rd3 client. It looks
very good. But it seems that the SQL connection is very small.
Changing the "show only the 1st.100 Carts" to show all in rdlibrary
takes one minute. Open the "edit marker" dialog, too.

The network is a switched 1GB/s lan, all clients are connected to the
same switch.

Does anybody know how to improve the SQL speed.? Do i have made an
error in the sql config.?

While writing these lines, i let play a cart in the "marker edit"
dialog.  And every ~30 seconds the VU and the curser inside the
waveform stops moving. Thats curious... The music plays fine...


--
Rüdiger
___
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] Losing JACK on upgrade

2019-07-19 Thread ermina

Hi,

being just in the process of setting up a test machine with Rivendell 
3.0.1 to maybe upgrade our station still running 2.5.1 (!), i've just 
encountered this problem a few minutes ago.


My workaround so far has been to edit the 
/lib/systemd/system/rivendell.service

by adding
User=rduser
Group=rivendell
in the [Service] section of the file.

This way, rivendell services run as my rduser and can see jackd running 
as the same user.
There may be adverse effects which i'm not aware of, so i would wait for 
more seasoned sysadmins to confirm it's ok to do this before putting 
that box on the air.


++

. leo

On 07/19/2019 03:12 PM, Hoggins! wrote:

Hi list,

Upgrading from 2.19.3 to 3.0.1, I have an issue that has occurred
before, but somehow I had managed to get through. Now I'm stuck.

My jackd server runs as unprivileged user (like it normally should), but
Rivendell won't see it and connect to it unless I start a jackd (dummy
driver) instance as root user.

I remember several references of such an issue, stating that a first run
as root is necessary to detect jack and then it can be run as an
unprivileged user. This is not working anymore, and I'm kinda lost here.

Any idea?

Thanks!

     Hoggins!



___
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] Dealing with multi-hour carts (of variable length)

2017-07-04 Thread ermina

Hi,

my quick and dirty solution to that would be to
1/ stop playing the log in rdairplay and put it into manual mode
2/ play that variable length show with an external program (mplayer for 
example) using a cronjob to execute a bash script like below

3/ script resumes rdairplay when mplayer is done


#!/bin/bash
# rmlsend commands to stop log and manual mode (PS, PM 3)
mplayer -ao jack:port=[1-2] myFile.wav &&
# when mplayer ends, commands to resume rdairplay (SN, PM 1)

I use something like that when i have shows longer than 2h (because it 
happens twice a year and none of my import machines can import such long 
files (apache timeout or /tmp partition too small, i don't even want to 
know)).


. e


On 07/04/2017 05:05 AM, Dan (Interesting Radio) wrote:

Hi everyone,

I'm trying to work out how to build logs that contain multi-hour carts, 
but I'm having issues getting it lined up in my head.


My standard clock is a full hour of music, with a hard play at 00:00 
with a station ident and then a short (play-next) ident at 30:00.
If I replace the music with a cart of a show that is, say, 3 hours, I 
don't want the hard play at the top of the hour to run, until the 3 hour 
cart is finished, so it doesn't get interrupted. They're usually more 
like 3 hours 15 minutes or 2 hours 50 minutes, so the next hard play, to 
keep everything on schedule, would be at hour 4 or 3 respectively.


Is there any easy way to suspend the hard play while certain carts are 
playing? I don't want to do clocks without the hard plays for the hours 
where the long cart is playing as sometimes it might be 1 hour, 
sometimes 3, and I'm trying to get things as automated as possible!


Any help or pointers appreciated

Dan


___
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] Can I have two rivendell output clients in jack ?

2017-06-06 Thread ermina

Hi,

i have rivendell running in xen vms.
A third machine has the actual soundcard and runs jack.
The rivendell hosts running in the vms have that third machine defined 
as "core audio engine" in rdadmin/manage hosts/system services.

Then assign card/ports for each service/host accordingly.

.e

On 2017-06-06 20:57, Mircea Paun wrote:

Hi,
I can not figure out how to get it.
How can I have two rivendell audio clients in jack audio ?
I mean rivendell_1 and rivendell_2 ?
I use rivendell on vm (xen host) with 2 virtual loopback alsa.
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] Importing shows that use show #s

2017-04-05 Thread ermina

Hi,

yes. Here is my very basic take on that. It assumes that there is no 
discontinuity in the show's availability.



baseUrl="http://myradioshow.tld/files_folder/";
read -r fileIndice < '/home/studio/scripts/myRadioShow_indice'
newFileIndice=$((fileIndice+1))
echo $newFileIndice > /home/studio/scripts/myRadioShow_indice
cd /media/importExport/dropboxes/emissions/myRadioShow/
wget -r -nd -l1 --no-parent -A "${myRadioShow_indice}*.mp3" "${baseUrl}"

Cheers,
. e

On 04/03/2017 09:52 AM, Matthew Chambers wrote:

Has anyone wrote a bash script that can fetch a show mp3 file that uses
a incremental show number rather then date?



Matthew Chambers, CBT, NR0Q



___
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 log chain

2017-02-22 Thread ermina

Hi,

i don't use the log chain event. I seem to recall was bugged when i 
started putting rivendell into production years ago, so i went for a 
simple cronjob executed at 00:00 every day.

-- begin script
#!/bin/sh
NOWDATE=$(date +%Y%m%d)
rmlsend --to-host=rd.airplay.machine.ip LL\ 1\ $NOWDATE\!
exit 0
-- end script
The log template name for my service is %Y%m%d, so you might need to 
adapt but see the idea.
My 00h to 01h clocks usually start with a "make next" event to ditch all 
potentially remaining (overscheduled) events of the previous log.


cheers,

. e


On 02/20/2017 06:55 PM, Patrick wrote:

I'm having an intermittent problem with chaining to the next day's log. 
Sometimes it works, sometimes it doesn't.

Last night it just started the February 19 log over again.

I think this may have something to do with a timed event at the beginning of 
the log happening before the log clears
and hits the chain.

My first question, is it possible to make the automatic log chain a timed event 
so it dumps everything out at midnight?

Here's what my /var/log/messages looks like from last night:

Feb 19 23:58:53 rdhost caed: Play - 1
Feb 19 23:58:53 rdhost rdairplay: started audio cart: Line: 818  Cart: 11261  
Cut: 1 Pos: 0  Card: 0  Stream: 0  Port: 0
Feb 19 23:58:53 rdhost caed: Play - Card: 0  Stream: 0  Handle: 22  Length: 
223874  Speed: 10  Pitch: 0
Feb 19 23:58:54 rdhost rdairplay: finished event: Line: 817  Cart: 11187  Cut: 
1 Card: 0  Stream: 1  Port: 1
Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 21
Feb 19 23:58:54 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 21
Feb 19 23:58:54 rdhost caed: UnloadPlayback - Card: 0  Stream: 1  Handle: 21
Feb 20 00:02:36 rdhost caed: LoadPlayback  Card: 0  Stream: 1  Name: 
/var/snd/011232_001.wav  Handle: 23
Feb 20 00:02:36 rdhost rdairplay: started audio cart: Line: 819  Cart: 11232  
Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 1
Feb 20 00:02:36 rdhost caed: PlaybackPosition - Card: 0  Stream: 1  Pos: 168  
Handle: 23
Feb 20 00:02:36 rdhost caed: Play - 1
Feb 20 00:02:36 rdhost caed: Play - Card: 0  Stream: 1  Handle: 23  Length: 
227210  Speed: 10  Pitch: 0
Feb 20 00:02:37 rdhost rdairplay: finished event: Line: 818  Cart: 11261  Cut: 
1 Card: 0  Stream: 0  Port: 0
Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:02:37 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:02:37 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 22
Feb 20 00:06:15 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/060101_002.wav  Handle: 24
Feb 20 00:06:15 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 120  
Handle: 24
Feb 20 00:06:15 rdhost caed: Play - 1
Feb 20 00:06:15 rdhost rdairplay: started audio cart: Line: 2  Cart: 60101  
Cut: 2 Pos: 0  Card: 0  Stream: 0  Port: 0
Feb 20 00:06:15 rdhost caed: Play - Card: 0  Stream: 0  Handle: 24  Length: 
4344  Speed: 10  Pitch: 0
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: LoadPlayback  Card: 0  Stream: 2  Name: 
/var/snd/010583_001.wav  Handle: 25
Feb 20 00:06:19 rdhost rdairplay: started audio cart: Line: 3  Cart: 10583  
Cut: 1 Pos: 0  Card: 0  Stream: 2  Port: 1
Feb 20 00:06:19 rdhost caed: PlaybackPosition - Card: 0  Stream: 2  Pos: 2496  
Handle: 25
Feb 20 00:06:19 rdhost caed: Play - 1
Feb 20 00:06:19 rdhost rdairplay: finished event: Line: 2  Cart: 60101  Cut: 2 
Card: 0  Stream: 0  Port: 0
Feb 20 00:06:19 rdhost caed: Play - Card: 0  Stream: 2  Handle: 25  Length: 
193994  Speed: 10  Pitch: 0
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:19 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 24
Feb 20 00:06:23 rdhost rdairplay: finished event: Line: 819  Cart: 11232  Cut: 
1 Card: 0  Stream: 1  Port: 1
Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 23
Feb 20 00:06:23 rdhost caed: StopPlayback - Card: 0  Stream: 1  Handle: 23

—
Patrick
patr...@scnv.net




___
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] Help with SQL command

2016-12-13 Thread ermina
there you go (script in attachement). Remove the txt extension and 
execute on the command line with php. It will generate a txt file in the 
directory where you put and execute the script.

The SQL request also gets the play count and the date of import if needed.

Cheers,

. e

On 12/13/2016 07:51 AM, Morten Krarup Nielsen wrote:

Hi.

I need to output a text file that lists all my music from the SQL
database, can anyone help me?

It should include the following:

1. cart#
2. Artist name
3. Title name
4. Album name
5. Scheduler code

encoding should be UTF-8

-  each line contains of one entry for one file

-  each line consists of fields which are TAB separated (or
any other seperator)

-  each line is separated by LF or CRLF

Thank you!

Kind regards,

Morten
___
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] MySQL DB Creation

2016-11-16 Thread ermina

Hi,

> The issue with stable is Qt3, which is not supported in
> any Ubuntu or Debian release that is still supported by the respective
> projects.

Tryphon's Debian repo (http://debian.tryphon.eu/) provides qt3 
dependencies for debian 8.
I seem to recall having succesfully compiled and used (tested basic 
functionnality of) Rivendell on a debian 8 box 4-6 month ago.


Our production machines still run 2.5.1 (because, well, it just works, 
with all the features we need for now).


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


Re: [RDD] RDCatch normalize above -1dB?

2016-11-09 Thread ermina



On 11/09/2016 01:23 AM, al davis wrote:

It seems to me that peak normalization of -13 doesn't make sense,
because it is just throwing away 13 db of level with no real benefit.
There is a real loss when playing on a cheap sound card that has output
level too low to begin with, and maybe also has a noise level higher
than it should be.
Digital is not magnetic tape, the days of recording to the maximum 
available level to get the best signal-to-noise ratio are gone.
I dare hope that no one sends a signal to air with an D/A converter so 
old and cheap that its noise is a problem. Even 100$ USB interfaces do 
not have that problem.


To me peak normalization at -13dBFS makes sense in the way that a 
program or song with correct-to-small dynamic range will average close 
to -23LUFS when peak normalized at -13dBFS.


Your entire library and broadcast chain must be calibrated to a 
reference level that leaves headroom, lots of it.
If your standard overcompressed pop song sits at -2dBFS in your system 
then how can you deal with very dynamic programs ?

The answer is in the initial question, you can't.

The correct way is to shift the average level of everything to a 
reference low enough to accomodate every type of program.
The EBU R128 (or ITU-R BS.1770-2 for rest of the world) provides a norm 
to implement this.


This way, an overcompressed song will average output at REF_LEVEL, with 
peaks at (say) REF_LEVEL + 3dBFS.
A dynamic program will average at REF_LEVEL, with peaks at REF_LEVEL + 
20dBFS if need be.


It's not the dynamic program that's "lower than it should be".
It's the vast majority of music production and "amateur" made programs 
that are _way_ louder than they should.


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


Re: [RDD] Log report of actual played?

2016-10-27 Thread ermina


On 10/26/2016 11:55 PM, Tom Van Gorkom wrote:

With a quick try, it gives me an error
that it's unable to open the report file.


That's probably because the export path must include a filename 
template, in this form : /path/to/reports/%Y%m%d_report.txt


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


Re: [RDD] Audcity that can talk to Rivendell

2016-09-14 Thread ermina



On 09/14/2016 06:01 PM, al davis wrote:

The cart library is .wav files in /var/snd.  If you know the cart
number, you can open it in audacity, or any other sound file player or
editor.


There would be a need to update the cart duration in the rivendell 
database though.

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


Re: [RDD] Audio problems long Import

2016-09-01 Thread ermina

Also check that the partition wherever /tmp is has enough free space.
Upon importing, Rivendell does write 32 bits temporary files there.

On 09/01/2016 01:01 PM, Wayne Merricks wrote:

Possibly Apache time outs?

/etc/apache2/apache2.conf

Find:

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

Increase as required (1800 = 30minutes).




On 01/09/16 06:47, juan carlos navarro hernandez wrote:

I'm having trouble importing audio from an hour of time.

How I can fix it ?


___
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] Pause a recording in RDLibrary?

2016-07-28 Thread ermina

Hello,

On 07/28/2016 01:23 PM, Fred Gleason wrote:

Not so much complicated as out of scope.  I would argue that such
functionality really belongs on the production side of things, not in
the radio automation.


well actually it would be useful : we use rdlibrary to record in the 
studio, and i can think of many times where i would prefer to have an 
option to pause the recording.


When recording long sessions (itw, translations, etc.) there is always a 
time one needs a break or is interrupted for whatever reason.

And there is also a good reason for one session to be in one cut.

It's easier to hit pause than to handle GBytes of 32 bits silence around 
the network and into the production station.
While it's also easy to forget to "un-pause", that should be a per user 
option.


on the creative side that would allow to do some "tourné-monté" 
(in-camera editing) which is sometimes a fine strategy to do quick and 
efficient things.


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


[RDD] Timed(MakeNext) event behaving like Timed(Start) in 2.5.1

2016-06-16 Thread ermina

Hi,

i just witnessed something odd in RDAirplay behavior :
- main log was playing, a 55 minutes long cart, that started at 17h01 as 
defined in my 17h clock.
- in that same 17h clock, at 39:00 minutes, was scheduled an event with 
the following properties : SEGUE, Timed(MakeNext), Scheduler
The audio cart selected by the scheduler for that event had "no valid 
cut available".


At 17h39m00, that "make next" event just fired, interrupting the long 
audio cart that was previously playing.

If i understand correctly that behaviour is not what is expected.

Is this a known bug in 2.5.1 ?

And if so, i guess it has been corrected in most recent versions ? (That 
would be an incentive to upgrade)
I did some extensive search in the mailing lists and changelogs and did 
not see anything relevant.


Logs on the rdairplay machine are not very helpful :

…

Jun 16 17:39:00 gh-vm-rdairplay rdairplay: event failed: Line: 693 
Cart: 4 (<-line 693 was my make next event)


Jun 16 17:39:00 gh-vm-rdairplay rdairplay: started audio cart: Line: 694 
 Cart: 1  Cut: 4 Pos: 0  Card: 0  Stream: 0  Port: 0 (<- that is a 
short (6 seconds) audio cart that played)


Jun 16 17:39:00 gh-vm-rdairplay rdairplay: LogPlay::StartEvent(): no 
audio,CUT=


Jun 16 17:39:01 gh-vm-rdairplay rdairplay: finished event: Line: 676 
Cart: 10086  Cut: 1 Card: 0  Stream: 1  Port: 0 (<- line 676 was my 55 
minutes long audio cart that got  interrupted)


Jun 16 17:39:01 gh-vm-rdairplay /USR/SBIN/CRON[10694]: (root) CMD (  [ 
-x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ 
-d /var/lib/php5 ] && /usr/lib/php5/s$


Jun 16 17:39:07 gh-vm-rdairplay rdairplay: started audio cart: Line: 695 
 Cart: 10084  Cut: 1 Pos: 0  Card: 0  Stream: 1  Port: 0


Jun 16 17:39:07 gh-vm-rdairplay rdairplay: finished event: Line: 694 
Cart: 1  Cut: 4 Card: 0  Stream: 0  Port: 0


…

What should i look for to avoid that from happening again ?
Thanks for any pointers.

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


Re: [RDD] Desperately need help building clocks for Live Remote (outside broadcast)

2016-06-02 Thread ermina

Hi,

i go a simpler route (imho).
From the outside broadcasting place, we send the program to an icecast 
server. Then on the audio host at the station, we have a shell script:

#!/bin/bash
RDAIRPLAY_IP=192.168.x.x # rdairplay host ip
if [ "$1" = "onAir" ]
then
rmlsend --to-host=$RDAIRPLAY_IP LC\ red\ outside\ broadcasting\ 
live!

rmlsend --to-host=$RDAIRPLAY_IP RR\ 1!
rmlsend --to-host=$RDAIRPLAY_IP PS\ 1\ 3000!
rmlsend --to-host=$RDAIRPLAY_IP RS\ 1\ 10020\ 1\ 2180! # 
record to cart 10020
rmlsend --to-host=$RDAIRPLAY_IP SN\ now\ 1\ 10020! # display 
now data

rmlsend --to-host=$RDAIRPLAY_IP PM\ 3!
#
mplayer -loop 0 -af volume=-5:0 -ao jack:port=[1-2] 
http://icecast.ip:8000/my_OB_stream

fi

if [ "$1" = "offAir" ]
then
pkill mplayer
rmlsend --to-host=$RDAIRPLAY_IP RR\ 1!
rmlsend --to-host=$RDAIRPLAY_IP PM\ 2!
rmlsend --to-host=$RDAIRPLAY_IP PN\ 1!
rmlsend --to-host=$RDAIRPLAY_IP SN\ now\ 1\ 10001! # default 
cart for now data
rmlsend --to-host=$RDAIRPLAY_IP LC\ black\ STUDIO\ OFF\ AIR\ 
auto\ on!

fi
# EOF

When it's is time to go live, the script is executed:
$ ./live_remote.sh onAir
either by crontab or manually via ssh. Same thing when its over, with 
the "offAir" parameter.



Works for me, and saves two trips into rdlogamanager/edit grids every time.

. e

On 06/02/2016 12:28 PM, Brandon wrote:

Hope everyone had a relaxing Memorial weekend!

Following James Harrison's OpenOB tutorial
 (Thanks James) and this
wiki article

 to
capture the input of the sound card and route it to RDAirPlay, we
managed to pull off our first live remote last night!!!


*Here's what we've done so far... *

 1. Created slightly modified* macro cart, based on the wiki above, in
RDLibrary, to capture input of sound card and route it to RDAirPlay
named REMOTE ON -- *We flip-flopped lines 3 and 4 in the RML macro,
and extended the time to wait until the intro was finished playing
before stopping RDAirPlay. (working)
 2. Created macro cart in RDLibrary to shut off capture of sound card
input named REMOTE OFF (working)
 3. Created an event in RDLogManager with a hard start time set to make
next with a pre-import cart for REMOTE ON.
 4. Created an event in RDLogManager with a pre-import cart for REMOTE OFF.
 5. Built 3 generic (non-music) clocks as follows:
 6. Live remote first hour: Produced :20 intro for the remote, then
REMOTE ON from :20 to 59:59
 7. During live remote: between the first and last hour of the remote
that does nothing (except keep RDAirPlay on time and load the log at
midnight)
 8. Live remote last hour: does nothing for the first 59:40, then plays
a TOH ID, then REMOTE OFF. It should automatically advance to the
2AM hour of local programming.
 9. Scheduled clocks in the grid.


9PM went off without a hitch. Intro played and REMOTE ON routed capture
of sound card to RDAirPlay. All programming  for the 5 hour duration was
sent via OpenOB back to the studio and it sounded AMAZING!!! But things
quickly devolved and the end was very sloppy.

Steps 1-6 work. But steps 7-9 seem to get skipped over and fail
miserably. Meaning, the log doesn't load at Midnight and RDAirPlay skips
through the commands and plays the 1:59 am TOH at midnight. Dead air at
2:00 requiring a manual log load and start. :-/


*Here's what we need to happen: *

*First hour of remote (9:00 PM) *

 1. 1st clock position:  :00 - :20 produced intro for remote
 2. 2nd clock position: :20 - 59:59 REMOTE ON

*Hours 2, 3, and 4 (10PM, 11PM and 12MN)*

 1. Timed event with NO AUDIO for 59:59.
 2. Do nothing, but keep time for RDAirPlay and load log at midnight.
 3. Maybe 11PM needs a dedicated clock for log load?

*Last hour of remote (1 AM)*

 1. 1st position: 00: - :05 REMOTE ON (Do nothing for 59:35)
 2. 2nd position: 59:40 TOH ID
 3. 3rd position: REMOTE OFF
 4. Fire first local song of 2AM clock


Any help would me appreciated!

Thank you,
Brandon



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



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


Re: [RDD] Any way to drag and drop cuts?

2016-05-24 Thread ermina
I don't know if there is a better way but i just "duplicate" those 
"certain cuts" in individual carts (in addition to the "rotation cart 
full of cuts"), so that they are directly accessible.


I would also be happy to know that there is an optionnal way to specifiy 
a cut when manually adding a cart to any log, panel, or rdcartslot.


. e

On 05/22/2016 12:25 AM, Tom Van Gorkom wrote:

I'm wondering if there's a way to drag and drop cuts or somehow copy
them to a panel button. Our guys like to have certain cuts from a
rotation cart of community announcements or a new jingle handy from the
jingle rotation cart to play when they are doing a live show but they
also like to have a panel button for the entire rotation of jingles and
announcements too they can click on conveniently. Are they wanting more
than necessary or am I missing a good way to do this?

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
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] Importing month's worth of cuts at a time

2016-05-17 Thread ermina
For that kind of scenarios i put all files to be imported in a 
directory, and run a cronjob every day to import the actual file of the 
day : a simple shell script is used to get the file corresponding to the 
date of the day, and then passing it to rdimport 
--create-startdate-offset=0 --create-enddate-offset=0 etc…


. e

On 05/17/2016 12:11 AM, Matthew Chambers wrote:

I have a few features that I import a month's worth (or more) of cuts
into the same cart.

one of those is Max Lucado's UpWords which has a file
name UPWX_UPW5_05-17-16.mp2, I know I can use rdimport to import them
all in fairly easily which I have been doing

rdimport --verbose --delete-cuts --single-cart --metadata-pattern=%i.mp2
--set-string-title="UpWords" --to-cart=080041 UPWX_UPW5_*.mp2

Then I have to go through them and set the start and end dates, I see
that I can supposedly use the --set-datetimes= flag but not sure how I'd
set that up to pick up the date string from the file name of each cut
has it runs through the all the files.

Any thought's from the collective?


Matthew A. Chambers
Public Information Officer
Wright County Emergency Management Agency


___
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.12.0 - Log generation speedup fix

2016-04-27 Thread ermina

That's a good question i'm eager to know the answer too.
(Logs take almost half an hour to be generated here + 100% of one CPU 
core on the mysql server.)


On 2016-04-23 17:11, Lorne Tyndale wrote:

Fred,

I noticed that in rivendell-master it seems to have the log-generation
speedup fix for rdlogmanager, but the code does not appear in
rivendell-stable.

Any idea on time-frame when this change is likely to be implemented?

Just curious - in testing it seems to make a huge difference in log
generation time.

I know it involved some changes to how things are handled with the
database, and understand that you want to be sure it doesn't break
anything else.




On behalf of the entire Rivendell development team, I'm pleased to 
announce the availability of Rivendell v2.12.0.  Rivendell is a 
full-featured radio automation system targeted for use in professional 
broadcast environments. It is available under the GNU General Public 
License.


From the NEWS file:
*** snip snip ***
Changes:
   Sequential Cut Play-Out.  Cuts can now be configured on a per-cart 
basis
   to play in a set sequential order rather than by relative weight 
value.


   New Switcher Support.  Support has been added for the Broadcast 
Tools

   ADMS 44.22 and SS 4.1 MLR switchers.

   New RML.  A 'Copy Cut' ['CP'] RML has been added that allows cuts 
to

   be copied between carts.

   RDLogEdit Changes.  Added a 'Show Only Recent Logs' checkbox.

   New Web API Methods.  The following new methods have been added to 
the

   web API:
   AssignSchedCode
   ListCartSchedCodes
   ListSchedCodes
   UnassignSchedCode

   Database Schema Reversion.  Added an rdrevert(8) command to allow
   database schema changes to be reverted to an earlier version 
(experimental).


   Documentation Changes.  The documentation has been converted to
   XML-DocBook5.

   Various other bug fixes.  See the ChangeLog for details.

Database Update:
   This version of Rivendell uses database schema version 254, and 
will
   automatically upgrade any earlier versions.  To see the current 
schema

   version prior to upgrade, see RDAdmin->SystemInfo.

   As always, be sure to run RDAdmin immediately after upgrading to 
allow

   any necessary changes to the database schema to be applied.
*** snip snip ***

Further information, screenshots and download links are available at:

http://www.rivendellaudio.org/  
>


Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer 
|
|   |  Paravel Systems 
|

|--|
| "No, `Eureka!' is Greek for `This bath is too hot!'" 
|
| -- Dr. Who   
|

|--|___
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] (getting OT) Re: r128gain - integration

2016-02-29 Thread ermina



On 02/29/2016 03:02 PM, Cowboy wrote:


  Especially with music cuts, this old dog with 40+ years background
  in "show biz" doesn't see how anyone in their right mind could ever
  even harbor a possibility that each and every cut would NOT be listened
  to, massaged, and polished to perfection BEFORE being added to the
  final "ON THE AIR" play-out, whatever that is.
  To do anything less is negligent.
well actually our music cuts are imported in an "off air" group, then i 
go through each of them to :

- check it is what it should be and suffered no corruption of any kind
- set tags (mood, energy, genre, in/out abruptness)
- set start/end/segue markers (the latter of which are set precisely so 
that transitions occur tightly "in rythm/on beat", or let the song 
breathe a little or whatever timing is appropriate for that particular 
song to fit in the flow)

- move it into one of the "on air" music group

And when i do that, the cuts are already all at the same perceived 
level. That compensates the difference between that soft folk song and 
this overly compressed and loud garage rock.
I don't see why i would not want that. There is no way my ears can be a 
trustful reference so that manually set levels are constantly 
appropriate over a period of many years and a collection of thousands of 
cuts.


I don't see either why i should do any edit to the tracks, like changes 
in EQ or dynamics ? Even if i often would prefer that record labels send 
us much less compressed/limited/noise-rectangle tracks, it's not my role 
to interfere with the mixer/producer/artist's choices in doing such 
modifications.
I understand and do make sure that any king of program that is not music 
must be finely crafted before going on air. But, music tracks have 
already been refined by all the people involved in the making of it.

If the song sounds really too bad it's not aired, that's it.
Do i miss something ?

Our operation (like many other community stations this old side of the 
ocean) has a tight budget and limited human time (weeks lasting only 
168h). That's why i let computer do everything that i feel does not need 
human intervention, ie. most data manutention.


I'm all for making things artisanal, having programming fluctuate 
depending on seasons and avoiding cold-blind automation, but i don't 
feel i give up anything in my process (might be wrong though).


Plus we air lots of different songs in vastly different styles, so there 
is no attempt nor intent to make them sound similar (if that is the 
purpose of editing music cuts before airing ?)
Even if the on-air processor adds a bit of "glue" and homogeneity, it's 
not set drastically, there's a subtle compromise between respecting 
original source, getting coverage, avoiding listener fatigue, providing 
intelligibility / confort, etc. It's not carved in stone either, and is 
adjusted (mostly towards "less") a few times a year.


I am getting slightly off topic but i am genuinely interested in sharing 
points of view there. I might learn some things.



Anyway, good to hear that is being there eventually.


  I said it made the wish-list, not the to-do list !
  There's a difference.
  That difference amounts to *if* someone writes the code in a way that
  doesn't break anything else now existing or planed, it will be considered
  for inclusion.
  Otherwise, don't hold your breath.
  The exception would be $$.
  There is nothing in the universe that can't be made to happen given
  enough time, money, or real estate. Pick any two.


Well i'm perfectly aware of that.
Better on the wish list than nowhere, though :)

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


Re: [RDD] r128gain - integration

2016-02-29 Thread ermina

Great news!

About it being a production function : ideally, yes, every content 
should be compliant before being ingested. But then, well, peak 
normalization is integrated in the rdimport process, and it is no less a 
production matter.


There are use cases where auto-adjusting levels on import is useful.
(Especially with music cuts, i don't see why i would open each and every 
music file just to do something a program will do more accurately and 
hundred times faster.)


Anyway, good to hear that is being there eventually.

On 02/29/2016 12:45 PM, Cowboy wrote:


  OK, I did promise that a discussion about this would happen.
  It did.
  It's on the wish list.

  The real issue here, brought up in that discussion and not by me, is that
  this is really a production function, that should be done by the producer.
  It's not a store and play-out function that should be done by the
  play out *without change* automation.
  As such, yes it's on the list, but somewhere *after* porting to a
  much newer QT, probably QT-5 skipping 4 altogether.

  I'm reminded of the Orion slave girl in the original Star Trek series,
  where an "automation" mentality "corrected" skin tone such that the
  green slave girl was made white repeatedly in post, in direct
  conflict with what was intended and desired.
  Eventually, an actual human producer did an actual human producer job,
  and Vina came out finally looking like Vina.

  Meantime, it was posted that there does exist a script to automate
  ingesting audio automatically "produced" through r128gain.
  I might suggest that at least for the next year, that's the practical
  approach if one insists on automating that which should not be automated.


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


Re: [RDD] r128gain - integration

2016-02-17 Thread ermina

Hi,

On 02/16/2016 08:58 PM, Robert Jeffares wrote:

there is no reliable automated library leveliser. There may be one but
it may not produce a consistent result across varied source material.
Yes there is. It is called EBU R128, which precise goal is to get levels 
consistent between wildly different programs (think feature movie vs 
commercial spot and no more jumping on the remote).
This document will be more effective than i am at describing why and how 
it works : https://tech.ebu.ch/docs/tech/tech3343.pdf
This is a paradigm shift but it makes so much sense once you go with it, 
that one wonders why no one thought of this before.


As for integrating in Rivendell, my humble opinion is that it should be 
a per-host (or maybe system wide) option, so as to not disrupt 
everyone's workflow : either use peak normalization as before, or the 
brand new loudness alignement. This way everyone is happy :)
On a practical basis i think it should work similar to the current peak 
normalization on import : analyse file level and adjust to a default 
global value (-23 LUFS) (either by destructively changing the level of 
the file, or by adjusting cut gain).


I have no idea how technically it could be integrated (if i were a 
programmer i would have tried to) but there is at least one open source 
linux library for loudness scanning, and the algorithm is publicly 
described (see here: https://tech.ebu.ch/docs/tech/tech3342.pdf)



. e

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


Re: [RDD] r128gain - integration

2016-02-15 Thread ermina

Hello,


Does anyone have an experience integrating r128gain with rivendell?

Is there an option I'm missing?
No. The option to replace "peak normalization to -xx dB" with "align 
level to -yy LUFS" would be great and consistent with broadcasting 
practices in europe.

In the meantime, we have to resort to external tools to do that.
My solution is to import audio to rivendell with peak normalization set 
at -13dB. All newly imported carts go to a temp group in rdlibrary. Then 
i run a php script that scans (using this 
https://github.com/jiixyj/libebur128) the loudness of each cut  in the 
group and writes an appropriate "cut gain" value in rd database so that 
every cut has a -23LUFS output level on playout.



  Likely the production room.
  Rivendell is essentially a play-out system, not a processing
  or editing tool.
  Artistic affects such as doctoring for the perception of loudness
  are properly done well before the finished product is ingested
  into the playout system, regardless of what system that may be.


I cannot stress it enough, but R128 "normalization" is not an artistic 
effect. It is a norm which only purpose is to avoid overcompressed cuts 
to be be favored over dynamic audio ie. end the loudness war.
The only thing it does is define a single unified _perceived_ level for 
all program segments (in our case, cuts). It does not change a thing to 
the inner dynamics of each cut.


Peak normalization is a thing of the past that has no technical 
justification anymore.


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


Re: [RDD] Installing Rivendell in the Cloud? (for virtual playout system)

2016-01-25 Thread ermina

Hi,

i have a Rivendell instance in a Xen virtual machine.
Like Drew said, start jack with dummy driver and use that to route 
signal into any jack-aware icecast encoder (eg. darkice or liquidsoap).


I also autologin on boot and autostart vncserver+fluxbox(any light de/wm 
will do) so that rdairplay has a place to run permanently.



. e

On 01/25/2016 05:44 PM, Matthew Tunstill wrote:

Hi All,

I was just wondering if anyone managed to get a Rivendell playout system
to run in a virtual environment with no access to soundcard (e.g. Amazon
AWS) at all? I'm looking to develop a backup system (or 2nd station) to
use when we don't want our live output to go on the main radio channel
for some circumstances (playout in restaurants/offices where certain
programmes can't go live for licensing etc).

The sound output is the main issue and with limited knowledge of JACKs
capabilities; I'd like this automation to run continuously and pushed to
an input for a shoutcast/icecast broadcaster on the same or small
machine in the cloud (or push out via STL software).

I've found a few people with blogs who mention it, but no explicit
methods of how to configure Rivendell Playout to work. Any ideas?

Regards,

*Matthew Tunstill
Head of Music / Studio Engineer
Wandsworth Radio
07738 012603
Twitter: @WandsworthRadio*


___
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] rdcartslots now playing data ?

2015-12-18 Thread ermina

Hello,

is there a way for RDCartslots to send "now" (but obviously not "next") 
playing data ? Maybe not on the same socket than RDAirplay, but somewhere ?


The idea behind this is to be able to log each and every audio cart 
played on our Rivendell system, even "temp" carts added and played via 
RDCartslots (thanks to the great "load from file" feature.)


Thanks.

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


Re: [RDD] TuneIn API?

2015-12-08 Thread ermina

Hey,

$title and $artist must be "url-encoded".
I use the following curl command as part of our shell script handling 
all metadata :
curl -G "http://air.radiotime.com/Playing.ashx"; --data 
"partnerId=myPartnerId&partnerKey=myKey&id=myId" --data-urlencode 
"title=$TITLE" --data-urlencode "artist=$ARTIST"


$TITLE and $ARTIST are "sanitized" to be valid ascii strings sooner in 
the script.


. e

On 12/08/2015 05:19 AM, Brandon wrote:

Hey Gang,

I've got several issues I'm working on right now, but I'll break each
issue into separate emails.

Issue 1: Tunein AirAPI not updating

I'm already embedding metadata with icecast2.conf and everything works
perfect, however tunein (both website and and Android app) don't read my
metadata. VLC and pretty much all other native clients read my metadata
just fine. Oddly enough, if you listen to the station with Tunein on
Sonos, it reads my the metadata (without artwork) properly. Contacted
Tunein support and they told me that their Tunein AirAPI is more
reliable than standard metadata embedding (not sure why?) and enabled
support for me.

I modified the command below with my Tunein IDs/Key and pasted it in the
RML field in the Now & Next parameters. Rebooted Rivendell. But still no
song metadata or artwork in Tunein. Anyone else have the Tunein AirAPI
configured and working properly?

I realize this is an old topic... But maybe something has changed in the
way Rivendell handles this?

Thank you!
Brandon


On Sat, Aug 9, 2014 at 6:24 AM, Tim Camp mailto:t...@wnsp.com>> wrote:

Also I should say that the RML line in now and next can be used to
do this with this command

RN wget

http://air.radiotime.com/Playing.ashx?partnerId=&partnerKey=&id=&title=%t&artist=%a!

Cheers







On Sat, Aug 9, 2014 at 8:16 AM, Bernardo J Mora mailto:bjm...@mac.com>> wrote:

Thank you Tim!

in His service,
BJ Mora


On Aug 9, 2014, at 5:46 AM, Tim Camp mailto:t...@wnsp.com>> wrote:


Greetings,,
I believe that if the album art is not available tunein will
display the station logo
or the picture of the DJ on air at the time if you have
uploaded that info to them.

Seems to me a edit/rewrite of the icecast2 RLM could be made
to update the tunein API.

Cheers



On Sat, Aug 9, 2014 at 5:36 AM, Bernardo J Mora
mailto:bjm...@mac.com>> wrote:

Has anyone listed their station at TuneIn, and accessed
their API? I'm actually a little hesitant to do this as I
suspect because I am playing more, um, eclectic music, the
album art recognition will be WAY off. If possible I'd
actually prefer to substitute our own logo for the album
cover art.

http://tunein.com/broadcasters/api/

in His service,
BJ Mora for GraceRadio - on the air at www.graceradio.net

KGCE-LP/Modesto, CA
"under construction"







___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org

http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev




--
Tim Camp
Director of Operations/Programming
Dot Com Plus L.L.C.
dba WZEW-FM WNSP-FM
Mobile, Al.






--
Tim Camp
Director of Operations/Programming
Dot Com Plus L.L.C.
dba WZEW-FM WNSP-FM
Mobile, Al.


___
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] stereo to mono M-Audio Delta 1010

2015-11-12 Thread ermina
Well, i would keep the entire audio chain stereo and turn to mono at the 
transmitter/MPX generation device.


. e

On 11/11/2015 11:39 PM, Marc Steele wrote:

Generally nowadays when you've got a mono (e.g. MW/AM) service, you'll
be stereo for most of the chain and mono at the last sensible point.
Especially if you've got digital splits and whatnot to feed.

If there's other stuff on the TX chain I'd suggest looking at doing it
in the analogue world. You can do it with a transformer, Alice Monopack
or similar.

This reminds me of a recent fault on an AM service fed by DAB tuner.
There were listener complaints of "missing a leg" as the output from the
DAB tuner hadn't been set to mono the output.

Regards,

Marc.


On Wed, 11 Nov 2015 at 21:24, Christian Pointner mailto:equi...@helsinki.at>> wrote:

Hi,

Am 11.11.2015 um 21:09 schrieb Chris Howard - CBR:
[...]
 > My soundcard system is M-Audio Delta 1010.
 >
[...]
 > I can't find any direct way to do a mix-down from stereo
 > to mono using the envy24control or alsamixer.
 > Maybe it is there, but I haven't found it.
 >
If you don't need it already for something else, you could use the
Digital Mix.
Just route the 2 PCMs used by Rivendell to the Digital Mix (both to the
Left Channel) and and then select the Digital Mix at the Patchbay/Router
settings for the output to the transmitter.

regards
  christian

___
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] RIPCD crashing on local audio adapter switch macro

2015-10-21 Thread ermina

Hi,

i have a similar trouble : ripcd crashing after sending an RML ST 
command (switch is a local audio adapter too). The crashing ripcd 
process is the one on the machine that has the actual local audio 
adapter, not on the machine from which i send the RML command.


That happens for me only once every 30 or 50 times.
I did not bother too long and worked around with the following script:

#! /bin/bash
case "$(pidof ripcd | wc -w)" in
0)  echo "Restarting ripcd: $(date)" >> 
/home/user/scripts/check_ripcd.log

/usr/bin/ripcd &
curl -k 'command to notify me via sms'
;;
1)  # all ok
;;
esac

Called every 5 minutes in crontab.
*/5 *   * * *   /home/user/scripts/check_ripcd.sh

That's on debian 7, rivendell 2.5.1.

. e

On 10/20/2015 02:19 PM, James Greenlee wrote:

This is a bit of a head scratcher for me.

I built up a proof-of-concept Rivendell system in a VirtualBox guest VM using JACK, and 
"local audio adapter" switch that works beautifully.

Now I'm trying to move it to the "real" world on a physical box and every time 
I execute a macro to switch the inputs (still using JACK) the audio switches, and then a 
couple of seconds later, RIPCD crashes, and Rivendell is no longer functional.  (Meaning 
I can't trigger any other carts/macros)

I'm executing the macros from the sound panel.

It doesn't seem to matter which distribution I use (always a Ubuntu variant).

My install process is:

Install distribution.
Install/configure JACK.
Install MySQL
Add tryphon repository/add rivendell/rivendell-server.
Setup JACK/Rivendell for RT priority
Setup JACK patching
Setup Rivendell to use JACK/Local Audio Adapter switch
Program switch macros in RDLibrary.
Add switch macros to SoundPanel.

Oddly enough, this works perfectly in my VirtualBox setup.  I might try to 
recreate the VirtualBox version today to see if I can do it again in the 
virtual world.

Any thoughts?

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


Re: [RDD] rdlibrary display problem

2015-09-08 Thread ermina
Yes, my problem was that apache in debian/ubuntu now behaves differently 
than most (if not all?) software : putting a config file in the 
appropriate config directory, then reloading the service is not enough; 
you have to use the a2enconf/a2ensite or whatever command so that the 
config file is actually accounted for.
(that unintuitive behavior is probably well documented, somewhere in a 
thousand lines change/upgrade log…)


. e

On 09/08/2015 02:52 AM, Rob Landry wrote:


I don't know about Mint, but under Debian Jessie, cgi is disabled in
apache2 by default. There is a mods-enabled and mods-available folder in
addition to the familiar conf-enabled and conf-available. To endble cgi,
you have to create a symbolic link in mods-enabled for the cgi module.

With cgi disabled, rdxport.cgi will not execute.


Rob

On Mon, 31 Aug 2015, ermina wrote:


Hello list,

I just had to reinstall a workstation under Linux Mint Debian Edition
(which is mostly Debian Jessie).
So i also reinstalled the rivendell 2.5.1 deb packages, and after
performing a small change to apache.conf so that rdxport.cgi is
allowed, i run into a new problem :

in the rdlibrary / edit markers window, the part of the window
supposed to display the waveform is plain grey. No waveform, no
markers, nothing.
I can hear the cart but not navigate it.
(see screenshot: https://framapic.org/ZefWM0GmpBGi/8LQEy3Mx).

I believe there might be some library missing in my system but can't
guess which one, nor find any relevant log message.

Any hints ?

. e
___
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] rdlibrary display problem

2015-08-31 Thread ermina

Hi,

well thank you for that pointer: I confirmed it was apache related by 
setting the httpxport value for that new host to another known working 
rivendell host.
I think I just restarted apache (the local one), then set the httpxport 
value back to localhost and everything was then working as expected.


Apache is still my main source of woe when installing new rivendell 
machines : changes between apache versions seem more frequent and 
config-breaking than any other software i use.


. e

On 08/31/2015 04:55 PM, Wayne Merricks wrote:

Hi,

Double check your apache config and the entire rd apache directory. I
had the same issue when the install didn't copy this correctly over on a
Debian machine.

In the end I copied the rd-bin directory from a working machine and
replaced the rivendell apache config file with the working one and
everything fixed itself.

Wayne Merricks
The Voice Asia

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


[RDD] rdlibrary display problem

2015-08-31 Thread ermina

Hello list,

I just had to reinstall a workstation under Linux Mint Debian Edition 
(which is mostly Debian Jessie).
So i also reinstalled the rivendell 2.5.1 deb packages, and after 
performing a small change to apache.conf so that rdxport.cgi is allowed, 
i run into a new problem :


in the rdlibrary / edit markers window, the part of the window supposed 
to display the waveform is plain grey. No waveform, no markers, nothing.

I can hear the cart but not navigate it.
(see screenshot: https://framapic.org/ZefWM0GmpBGi/8LQEy3Mx).

I believe there might be some library missing in my system but can't 
guess which one, nor find any relevant log message.


Any hints ?

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


Re: [RDD] Ingesting a remote stream in Rivendell

2015-03-24 Thread ermina

Hi,

as others have said, it is possible.

The way i do it:
#!/bin/bash
# live_OB.sh
if [ "$1" = "onAir" ]
then
# define ip of rdairplay machine
AIR_IP="192.168.1.1"
# inform users in the studio
rmlsend --to-host=${AIR_IP} LC\ red\ live\ outside\ stream!
# stop any recording
rmlsend --to-host=${AIR_IP} RR\ 1!
# fade out and stop main log
rmlsend --to-host=${AIR_IP} PS\ 1\ 3000!
# now data and record using a cart specific to the show
rmlsend --to-host=${AIR_IP} RS\ 1\ 10055\ 1\ 1080!
rmlsend --to-host=${AIR_IP} SN\ now\ 1\ 10055!
# manual mode
rmlsend --to-host=${AIR_IP} PM\ 3!

# read stream
# -loop 0 ensures the autoreconnection to the stream if needed
screen -DmS autolive mplayer -loop 0 -af volume=-10:0 -ao 
jack:name=extStream 
http://www.myicecastserver.com:8000/myOutsideStream.ogg &

sleep 5s &&
	# this is for monitoring on the studio board, as audio computer does 
not pass through the board

jack_connect extStream:out_0 system:playback_3
jack_connect extStream:out_1 system:playback_4
fi

if [ "$1" = "offAir" ]
then
pkill mplayer
rmlsend --to-host=${AIR_IP} RR\ 1!
# auto
rmlsend --to-host=${AIR_IP} PM\ 2!
# restart log
rmlsend --to-host=${AIR_IP} PN\ 1!
rmlsend --to-host=${AIR_IP} SN\ now\ 1\ 10001!
rmlsend --to-host=192.168.1.11 LC\ black\ mainlog\ on\ air!
fi


Then, use crontab for automatic connection and disconnection (be sure 
that the outside stream will be working on time):

00 18   * * 2   /home/studio/scripts/live_OB.sh onAir
00 19   * * 2   /home/studio/scripts/live_OB.sh offAir


Hope it helps.


On 03/22/2015 02:33 AM, Nicholas Young wrote:

I'm in the process of replacing my current automation system with Rivendell, 
and I realized that I still have one question unresolved:

Is it possible to insert a remote stream in Rivendell at a certain time?

Here's the scenario:

We'll be doing a remote broadcast. From the remote location, we will generate a 
new Icecast stream, and uplink it to our central Icecast server. Meanwhile, 
back at our HQ, Rivendell is rocking along playing tunes on full automation. If 
everything works according to plan, Rivendell will grab the new Icecast stream 
and insert it into the queue and play it as a source for the duration of our 
show, then return to normal business, playing out music tracks.

Is this possible?

Thanks for your patience and expertise. I know I've had a lot of posts here, 
and you all have been very gracious and helpful.

Nicholas
___
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] rlm playlist for an entire day

2015-03-24 Thread ermina

Hi,

We don't use RLM (did not find out that functionnality when first 
deploying Rivendell and thus solved the problem otherwise) :
We have a bash script listening for "now data" sent by rdairplay on port 
.
It takes care of every "title info" application we need (website, RDS, 
icecast stream, logging).

For the logging part :

#!/bin/bash
# nowAndNextUpload.sh
WPATH="/home/studio/scripts/"
while true; do
read RAWDATA
# treat input string (some applications hate utf-8 characters)
ARTIST=$(echo $RAWDATA | cut -d"-" -f1)
TITLE=$(echo $RAWDATA | cut -d"-" -f2)
ARTIST=${ARTIST//&/ and }
TITLE=${TITLE//&/ and }
ARTIST=$(echo "$ARTIST" | iconv -f utf8 -t ascii//TRANSLIT)
TITLE=$(echo "$TITLE" | iconv -f utf8 -t ascii//TRANSLIT)
ARTMAJ=`echo $ARTIST | tr 'a-z' 'A-Z'`
TITLEMAJ=`echo $TITLE | tr 'a-z' 'A-Z'`

#rdailplay sends the info multiple times, thus the condition
if [ ! "$TITLE" = "$PREVTITLE" ]; then
# create xml file with currently playing song
echo "" > ${WPATH}nowPlaying.xml
echo "" >> ${WPATH}nowPlaying.xml
echo "" >> ${WPATH}nowPlaying.xml
echo "" >> ${WPATH}nowPlaying.xml
# append title to daily log with playing starttime
date=$(date +"%Y-%m-%d")
dateh=$(date +"%T")
nline="${dateh} ${ARTIST} - ${TITLE}"
echo $nline >> ${WPATH}${date}_airplay.log

# upload files
FTPU="ftpUser"
FTPPWD="ftpPassword"
FTPS="ftpUrl"
FTPF="destinationFolder"
AIRF="${WPATH}${date}_airplay.log"
ncftpput -u $FTPU -p $FTPPWD $FTPS $FTPF $AIRF
PREVARTIST=$ARTIST
PREVTITLE=$TITLE
fi
done

The script is run permanently in a screen on the rdairplay machine with 
this command:

nc -l -u -p  | /home/studio/scripts/nowAndNextUpload.sh

On the website part you just have to write the script you want to do 
whatever you need with the data (ie. display now playing, search form 
for listeners to find a title they heard, etc…)



You could also probably use the reports but i must admit i never really 
understood how those work and how to generate them automatically, seems 
less practical to me for that particular use.


Hope it helps.

On 03/23/2015 05:42 PM, Albert Bruc wrote:

Hi,

I'm searching a way to have a global playlist of played songs and shows
for each days and print them on my website

any ideas ?




___
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 under a VirtualBox machine?

2015-01-20 Thread ermina

Hello,

On 2015-01-19 20:04, Mike Carroll wrote:

ensure various VirtualBox network setting are "just so", and I've done
that without success. Thanks for any thoughts.


I think the good setting is "bridged networking".
(as from an oracle blog: "Bridged Networking is used when you want your 
vm to be a full network citizen, i.e. to be an equal to your host 
machine on the network.")


My VMs are on XenServer now but i rememeber testing the use of Rivendell 
in VMs with virtualbox.

The audio hosts are still hardware ones, because of latency.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Volume

2015-01-19 Thread ermina

On 2015-01-12 19:49, James L. Stewart wrote:

2) There exists code (see "mp3gain") that I think is open source that
does a decent job analyzing an audio file (in this case an MP3 file)
and figuring out where to set a normalization level such that it
"sounds even to us humans" instead of simply finding the peak level in
a file.  Perhaps it can be incorporated?


The EBU R128 does a better job at making things sound "even", and it's 
useable independantly of the file format (as opposed to mp3gain).
On this topic i would vote for a per host option to replace "peak 
normalization to -xx dBFS" with "alignement to -nn LUFS".


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


Re: [RDD] Traffic Schedulers

2015-01-12 Thread ermina

Hello,



I am working on a very dirty and crude php script to create a traffic
log for merging with rivendell.


At the moment i write traffic logs by hands but it is tedious, even for 
our community station.
Which is why i am currently also working on a simple solution to 
generate those traffic logs.


How it is designed and supposed to work :
- A traffic event is manually placed at designated places in clocks. 
(with "import carts scheduled x minutes prior/after this event" set to a 
pessimistic value like -/+ 5 minutes).
- Our traffic app queries the rddb to show the user when those traffic 
events occur. (weekly view)
- It also queries the traffic log directory to read and display already 
existing traffic logs
- It queries the carts that have the properties telling it that they are 
to be considered as traffic content
- It formats all this data in a nice view where the user can assign 
(checkboxes) any traffic cart to any traffic event in the week

- It then generates plain text traffic logs for the appropriate dates



In the meantime, is anyone doing a traffic merge daily? I still have
no joy on getting a simple merge to work.


Our main log is generated in a cronjob every day ( /usr/bin/rdlogmanager 
-g -t -s Production ).
The traffic is automatically merged with the -t option if a traffic log 
matching the configured pattern exists (rdadmin/manage services/traffic 
data import).


Hope it helps.

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


Re: [RDD] A few modifications I'm considering (long)

2015-01-06 Thread ermina

Hello,


### RDAirplay Main Window Specify Location ###

Currently, the RDAirplay main window seems to be set to open at 0,0
(upper left corner of display) when launched. Any movement of the
window is not retained after said application is closed.

Setting this variable to some pair of coordinates would cause the
window to appear at that location instead upon launch.

again, I would vote to remember the positions on close as long as the
window is visible


Imho, this decision belongs to the window manager, not to the client 
software.
The behaviour you describe can be easily obtained with Fluxbox, for 
example, and might be easy as well with most window managers.



Cheers

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


Re: [RDD] Scheduler rules not followed

2014-12-10 Thread ermina



It's actually rather fast: create the new scheduler code newCode, go
to
rdlibrary, select all carts having oldCode, click edit and assign them

the new code.
I TRIED THIS AFTER YOUR TIP, BUT FOR SOME REASON IT DOESN'T SEEM TO
WORK. ☹ COULD THIS HAVE SOMETHING TO DO WITH THE = USED IN THE
INITIAL TAGS? OR IS THERE A CERTAIN ORDER TO DO THIS IN?


I did a short screencast to detail the process:
http://www.youtube.com/watch?v=nMCS4kPJM0Y

I also tried with a scheduler code containing the "=" sign and it worked 
the same.


. e


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


Re: [RDD] Local Audio Switch

2014-12-10 Thread ermina

Hello,



Please correct me if I'm wrong. From what I understand, even with the
audio present in the line-in of the sound device, it will not
pass-thru to line-out UNLESS RML-ST was invoked (macro or RMLSend) and
will be "cut-off" when RML-SN is invoked.


Right. When using a "local audio adapter" switch, the commutation of 
audio is done in software by caed.
If you use jack on the audio host, be sure to connect the input of the 
card to the appropriate inputs of rivendell.
If you don't use jack, you might want to check in alsamixer that the 
line input is correctly selected, unmuted.


I use one of those local audio switch, defined with two inputs and two 
outputs. Each input is actually a stereo pair of the two first physical 
inputs of the sound card.
These pairs are numbered starting from 1, not 0. (ie. the macro ST 0 1 
1! routes this first stereo pair to the first stereo output. SR 0 1 1! 
cuts that audio route).


The macro needs to be sent to the host where the audio card resides and 
the local switch is defined, not to the host where rdairplay is run (in 
case there are two different hosts).
You can check in the syslog of this host that/if it actually receives 
the macro.
( "cat /var/log/syslog | grep ripcd" returns something like  "ripcd: 
received rml: 'SR 0 1 1!' from 192.168.x.x")


Like Cowboy said, if the sound card is full duplex, it will work 
eventually.


. e




Unfortunately, that is not was I'm seeing seeing here as ST or SN has
no effect whatsoever.

Thanks in advance for the next reply.

 


James Stewart


Date: Mon, 1 Dec 2014 15:46:08 +0800
From: Bruce Lee Mones 



Cart is working, it's just the audio from RdAirPlay and LineIn

both plays off the audio out of the sound card.

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




Links:
--
[1] 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] Scheduler rules not followed

2014-12-10 Thread ermina

Hello,



But if I'm right, it's not possible to _change_ the scheduler codes,
is it? So this might mean I have to recode my complete database?
Anyway, if it solves the problem, it's worth the work!
It's actually rather fast: create the new scheduler code newCode, go to 
rdlibrary, select all carts having oldCode, click edit and assign them 
the new code.


About dayparting:
the only use i have of dayparting _cuts_ is for specific IDs and for 
short daily and weekly shows that are either imported manually well in 
advance or imported "unattendedly" by a bot.
To "daypart" certain _carts_ without having them scheduled, my solution 
is to use (yet another) scheduler code; for example "not_before22h": 
then in the scheduler rules of all clocks where you dont want those 
carts scheduled, set "max in a row" 0.


About the scheduler breaking rules:
(the exact way the scheduler works is still a bit obscure to me, so all 
this might be wild guesses)

it seems to me that your "min. wait" values are too high.
I remember reading 'somewhere' that the artist separation and min wait 
rules are the first to be broken in case the scheduler has a shortage of 
tracks.


Hope it helps.

. e


Thanks for your reply, I'll let you know if it has helped.

Sincerely,

Peter van Embden
Radio Capelle
The Netherlands
www.radiocapelle.nl [1]

Verstuurd

VAN: Robert Jeffares
VERZONDEN: ‎dinsdag‎ ‎9‎ ‎december‎ ‎2014 ‎20‎:‎11
AAN: User_discussion_about_the_Rivendell_Radio_Automation_System

On 10/12/14 01:55, Peter van Embden wrote:

For example: due to the Dutch festive of "Sinterklaas" (today,
december 5), Christmas (M=KERST) songs should not be played


me thinks Black Peter is having a say in this...!!!

I have a strong memory that using = in the scheduler code may cause
problems in mysql.

I avoid all punctuation and symbols like @ & % <>? () in anything that

runs in mysql because they tend to get interpreted as something else.

I like the energy level idea. I have a tempo scheduler code which
works
but the energy level adds a fine tuning I have been looking for.

Changing the scheduler code from E=1 to E1 may produce a change.

You can create a new scheduler code without the '=' and globally
change
all songs with E=1 to E1 in RDLIBRARY so not too big a pain to test
the
theory.

regards

Robert Jeffares
Big Valley Radio
Thames New Zealand

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


Links:
--
[1] http://www.radiocapelle.nl

___
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] Recommended values for rdimport

2014-10-20 Thread ermina

Hello,

personnally i use -13dB normalization on importing to rivendell for 
almost everything.
For music, i then further adjust the cut gain level so that it fits the 
EBU R128 recommandation.


For our in-house productions, -13dB peak normalization on import gives 
something that roughly fits the R128 (which is logical as we mix using a 
K-12 meter as reference.)


For some external programs, we have to check and adjust levels manually.
Some third-party ingest front-ends might help take care of this (ie. 
keeping consistent levels between cuts), like 
https://github.com/JamesHarrison/iris or 
http://wiki.tryphon.eu/rivendell-import/start .


Auto-trim is set to -29dB just in case, but start and end are always 
manually adjusted for every cut, as is the segue point.
For music, setting the segue point manually (eg. on the last drum hit, 
on an echo, timely with the tempo of the song,…) can result in really 
tight and seemless succession of tracks, while still respecting a calm 
ending or the need for a short breath at the end of particular song 
(which is the thing i wanted doing that).


Automatic segue point can be a bit harsh depending on the end of some 
songs (when last word is whispered, or things)


The most important part is to keep all levels coherent in the airplay 
chain.
For example, in our installation, 0 on RDAirplay meter gives -12 on the 
sound card output level: that leaves 12 dB of headroom before getting 
distortion.



In digital audio, 0dBFS is not a desirable level to reach, whatever the 
production stage.
If you need more volume, you might find (reasonable) dynamic compression 
to be more effective that "0dB normalization".


Read about the R128. It will solve all your level problems (many of 
them, actually).
The core concept is that peak level is irrelevant, the important thing 
is the average perceived level.
By setting this mean level around -23 LUFS, you don't have to worry 
about peak levels and overcompressing anymore.
When all your content is "normalized" according to average level instead 
of peak level, you have program audio that is ready to ship to the 
levelling/squeezing/adjust-to-convenience step before hitting 
transmitter.


Hope it helped.

. e


On 2014-10-20 12:14, Keywan Najafi Tonekaboni wrote:

Hi

what values do you recommend for "--normalization-level="?
Some of our audio files sound overdriven, when I don't use "-12". Until
today we normalize every report, jingle etc with Adobe Audition to 0dB.

With which values for autotrim (reports/music) and segue-level/length 
do

you have good experiences?

Best,

Keywan

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


[RDD] ripcd segfault on receiving rml ST

2014-10-11 Thread ermina

Hello,

i am running Rivendell 2.5.1-1 (tryphon packages) on Debian stable.
There are multiple (locally) networked machines in my Rivendell 
installation.
HostA uses rmlsend to send ST and SR macros to HostB, where the audio 
card sits.

The matrix switcher is defined as Local Audio Adapter. It works.

Except on some occasions, ripcd on HostB segfaults when receiving the ST 
or SR macro.


Last occurences:

Oct  7 20:54:02 gh-audionode ripcd: ran local maintenance routines
Oct  7 21:00:09 gh-audionode ripcd: received rml: 'ST 0 1 1!' from 
192.168.1.11
Oct  7 21:00:09 gh-audionode kernel: [1587863.546033] ripcd[10039]: 
segfault at 7885d030 ip 7f3997a31d73 sp 7885a9d0 error 6 
in librd-2.5.1.so[7f399790e000+2ea000]


Oct 10 17:45:07 gh-audionode ripcd: started
Oct 10 17:45:36 gh-audionode ripcd: received rml: 'SR 0 1 1!' from 
192.168.1.11
Oct 10 17:45:36 gh-audionode kernel: [   49.447645] ripcd[3719]: 
segfault at 7fff513cb060 ip 7fa0a3d26d73 sp 7fff513c8300 error 6 
in librd-2.5.1.so[7fa0a3c03000+2ea000]


What additionnal info should I provide to help explore/solve that issue?
I guess i could just monitor ripcd and restart it if needed, but well.


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


Re: [RDD] Chain To dissapears ?

2014-10-03 Thread ermina

Hello,

personnally i don't use the chain-to event.
Instead, i use a cronjob everyday at 00:00,
executing the following script:
#!/bin/sh
NOWDATE=$(date +%Y%m%d)
rmlsend --to-host=ip.of.rdairplay.machine LL\ 1\ $NOWDATE\!
exit 0

Our log template name as defined in rdadmin being %Y%M%D, that loads the 
log of the day.


. e

On 2014-10-03 07:45, Preda Liviu wrote:

For some wierd reason from time to time at midnight the cain to is not
preasent in AirPlay even if in that days log the cain to is present.

is a stressfull situation. is there a way of ensuring that the next
day lod will load at midnight ? or to be shure that the current log
refreshes and the cain to is readded ?

i hope you understand and ... please help me with some guidline
...i am getting frustrated with this issue.

thanks

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


Re: [RDD] Rivendell With NAS

2014-05-12 Thread ermina

Hello,

also using FreeNAS on an assembled PC to store /var/snd, shared via NFS.
4 * 2To disks in two mirrored ZFS pools (one for /var/snd, one for 
archives and other stuff).

Works just fine and cost is minimal.
Recollection of data when replacing a dead disk is fast enough.
Only real trouble i ever had was a failing (or way too slow/busy) switch 
on the network.

When setting up, just make sure the network shares are mounted on boot.

.e

On 2014-05-08 02:24, Chester Graham wrote:

I have been using a FreeNas server with a CIF share to host files for
ingestion into rivendell. Have been using rdimport to ingest directly
from the FreeNas server without a hiccup. I have 12  4 gig drives in
a ZFS3 configuration. I am using version 9.2.1.3 available from
freenas.org [2].
 WGTT
Chester

On Wed, May 7, 2014 at 1:54 PM, Rich Stivers 
wrote:


Is anyone on the list using NAS for their audio storage? I'd like to
use a Synology Diskstation DS1513+.

I would appreciate hearing your experiences both pro and con
concerning Rivendell with NAS in the
areas of setup, performance, and reliability.

Thanks,
Rich Stivers
KKUP-FM 91.5, Cupertino, CA
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[1]




Links:
--
[1] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[2] http://freenas.org

___
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] RDLogIn

2014-03-11 Thread ermina

Hello,

maybe log into rdadmin, and change the password for the user "user"?
Or better yet, create (always in rdadmin > manage users) a new user with 
a meaningful name, give it the password and rights you wish, and you 
should be there.
The default login to rdadmin is admin, empty password (you might want to 
change that at a later stage before your system goes into production).
(speaking from version 2.5.1 here, in case some things have changed in 
newer versions.)
This wiki page could help clarifiying things: 
http://rivendell.tryphon.org/wiki/Users


Hope i helped.

. e

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


Re: [RDD] RDCartSlots Feature Request

2014-03-08 Thread ermina

Hello,


Does this sound useful to anyone else?

YES.
I'm currently using Rivendell on an outside broadcasting event where 
pieces of sound material are incoming on external storage devices in 
various formats for one-time play, and rdcartslots, with the "load from 
file" feature is great for that use: much more fast and straightforward 
than "copy file to dropbox, look for it in dialog etc.)


And _sometimes_ i miss a kind of automatic mode (like when "playing two 
songs back to back with an id in the middle" could be useful 
multitasking time that is crippled by the need to actually be there on 
time to click.)
But i'm not sure what implementation could work without breaking the 
present usability of rdcartslots.


Actually what would be great is having a "load from file" feature in 
rdairplay :)

(as a configurable option in rdadmin of course)

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


Re: [RDD] normalization

2014-01-23 Thread ermina

Hello,


My goal is to have every cut come out at the same
average level.

you might want to try "loudness normalization".
Some tools to do that in rivendell (touching only the "Cut Gain" value)
are evoked in the following threads:
http://lists.rivendellaudio.org/pipermail/rivendell-dev/2012-August/016331.html
http://lists.rivendellaudio.org/pipermail/rivendell-dev/2013-May/018704.html
http://lists.rivendellaudio.org/pipermail/rivendell-dev/2013-June/018706.html
and should help you to process all your carts without doing each one 
manually.



and I wanted to know if I'm going
to need post-Rivendell compression processing, either something
on the computer or an external processor.
Our station is more music oriented but fwiw we use an Ariane Sequel to 
do the leveling

and it can be quite respectful of the original signal.
(though it's not suited to be the only processing in the chain as you 
will need some kind
of limiting afterwards and there might be more suited tools if you're on 
a tight budget)


Hope it helps.

. Leo
tech @ Graf'hit 94.9MHz
BP 60319 // F-60200 Compiègne
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] R128 and python-rivendell

2013-05-31 Thread ermina

Hello,

On 2013-06-01 02:06, Richard Lamont wrote:
I have git cloned the python-rivendell thing but I'm completely 
baffled

to know what to do with it next.

i was in the same case as you, and i never ever used python, so i have
written a php script that does basically what you need.
You can find it as an attachment to this email.

It has to be run from the command line ( /usr/bin/php5 /path/to/script 
)
and is not interactive (you have to edit the script so that it does 
what

you want).

On an i3 CPU it took ~20-30 minutes to process 3000 songs of 3:30
average length. YMMV.

Cheers,

Leo
tech @ Graf'hit 94.9MHz
BP 60319 // 60200 Compiègne
+336.81.36.39.39 '$LAST_NORM_DATE'"; 
// all cuts imported after LAST_NORM_DATE

$db = mysql_connect("$RIVENDELL_DB_IP", "$RIVENDELL_DB_USER", 
"$RIVENDELL_DB_PASSWORD") or die('connection failed ' . mysql_error());
mysql_select_db("$RIVENDELL_DB_NAME") or die(mysql_error());
$result = mysql_query($sqlRequest) or die(mysql_error());
mysql_close($db);
$rowCheck = mysql_num_rows($result);
if($rowCheck > 0)
{
while($row = mysql_fetch_array($result))
{
echo $row['CUT_NAME']." "; // print cut reference number
echo $row['PLAY_GAIN']." "; // print current replay gain
$cutName = $row['CUT_NAME'];
// analyse levels and get offset
$command = "$PATH_TO_LIBEBUR128"." scan 
/var/snd/".$row['CUT_NAME'].".wav";
$rawRes = shell_exec( $command." 2>&1" );
$LUFSValue = substr($rawRes,-11);
$LUFSValue = substr($LUFSValue, 0, 5);
echo $LUFSValue." ";
$gain = -23 - $LUFSValue;
$gain = $gain * 100;
echo " gain :".$gain."\n";
// write new replay gain
$req="UPDATE CUTS SET PLAY_GAIN = '$gain' WHERE CUT_NAME = 
'$cutName'";
$db = mysql_connect("$RIVENDELL_DB_IP", "$RIVENDELL_DB_USER", 
"$RIVENDELL_DB_PASSWORD") or die('connection failed : ' . mysql_error());
mysql_select_db("$RIVENDELL_DB_NAME") or die(mysql_error());
mysql_query($req) or die(mysql_error());
mysql_close($db);

}
}

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


Re: [RDD] Now and Next show last now cart

2013-05-31 Thread ermina

Hello,

On 2013-05-30 17:38, Guy Curtis wrote:

Is there a way to set it so that when
the stream starts it just remains with the name of that cart in the
Now portion of Now&Next?


This does not answer directly the question but might be helpful:

personally i create an audio cart with the appropriate name/title for
the stream (like "Live transmission from…"), then in the macro cart
that switches to this stream i use something like SN now 1 cartNumber!



Is there a way for Now&Next to show the last cart set as now when
there is no cart playing?

in my case the UDP 'now and next' packets send by rdairplay are piped
to a shell script that takes care of handling the data for various
uses. It keeps displaying the last 'now' data as long as nothing new
is sent by rdairplay.

Hope this helps.

Cheers

. Leo
tech @ Graf'hit 94.9MHz
BP 60319 // F-60200 Compiègne
+336.81.36.39.39
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RD macro language - send

2013-03-15 Thread ermina
Hi

> Appreciate any pointers folks.
you might mant to try:
rmlsend --to-host=127.0.0.1 LB\ test\!

Every space/special char needs to be escaped.
(actually it is all written in the --help output of the command.)

. Leo
tech @ Graf'hit 94.9MHz
BP 60319 // F-60200 Compiègne

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


Re: [RDD] User-login auditing?

2012-05-03 Thread ermina
hello,

> I have a problem of DJ's coming in late. Before I start installing all
> kind of stuff, I thought of using the Rivendell-login to keep track of
> attendance.
In my setup the DJs have to launch a macro cart from RDPanel to be able to
get on air. These macros are automatically written in the rd technical
report with the precise time they were launched.
We also have a log of played event (made by a shell script from now&next
info) where i can see the time at which a transmission started.

> Are the login/logout times/dates easy accessible via a report or
> something?
AFAIK there are no "login events" reported in rdd. I might be wrong but i
didn't see any in the various reports i use.
Wait for more experienced users to confirm that or not.

Cheers,

. Leo
tech @ Graf'hit 94.9MHz
BP 60319 // F-60200 Compiègne

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