Hi David, everyone,
I guess I need explanations on how volume is managed by the add
operator. It seems that when add children are played in the same time,
both volumes are set lower than the one of each separate source. I've
tried to compensate this with change_volume, with no results.
What I wanted was that the scheduled secondary source took the lead
for the time it is streamed. See my attempt below. Did I get it wrong?
def stronger(source) =
change_volume(1.5,source)
end
radio = add([random(weights=[2,5],
[ jingles,
fallback(track_sensitive=false,
[live,
demotheque, interlude])
]),
schedule(single=[true],
[("17m & 2s", stronger(jingles))])
]);
17 minutes after the hour, I actually get volumes of both sources
lowered, whatever the value I set for change_volume...
Thanks for you help,
X.