<div dir="ltr"><div dir="ltr">Len,<div><br></div><div>Thanks for the feedback.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 17, 2021 at 10:30 AM Len Ovens <<a href="mailto:len@ovenwerks.net">len@ovenwerks.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 17 Feb 2021, drew Roberts wrote:<br>
<br>
> I am not 100% sure I understand it all correctly, but here is what I am<br>
> working on in my effort to help:<br>
> <br>
> "I have program Audio that will be coming in as AES to the input of the<br>
> Audio Science card (ASI6644)"<br>
<br>
AES3 I presume. So stereo program.<br></blockquote><div><br></div><div>I guess. I have never played in that field.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> This comes into the machine with the ASI card and gets sent back out to a<br>
> speaker as analog audio. It is intended to play without stopping.<br>
<br>
OK<br>
<br>
> At 10 minutes past every hour, it should be faded down and specific files<br>
> played out to the same speaker.<br>
<br>
The ASI6644 Has Linux alsa drivers, why not use amixer to change the level <br>
of the program audio going into the card (and out if needed).<br></blockquote><div><br></div><div>Ignorant question: How would you script that? How do you detect when the file playback ends and turn the regular volume back up? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> I initially thought of liquidsoap. I get so far and then my skills fail me.<br>
> It seems it should be easy but it is stumping me. I have one more thought to<br>
> perhaps annotate things somehow or whatever.<br>
<br>
Unless you actually need a streaming capability to extend across a network <br>
(you say aes3 in and audio out so no)<br></blockquote><div><br></div><div>I see no mention of the need to stream. Or perhaps he knows how to do that part "outside" of this. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> So, I now have a jack graph.<br>
<br>
Basically you are using jackd to mix the two signals then which is ok. I <br>
am not sure what other options are available and jack is probably easiest <br>
to do. I am not that familiar with the ASI6644 (or any audio science card) <br>
as they are out of my price range :) but I think it may be possible to mix <br>
two sets of playback channels in the card itself as it seems to have a <br>
matrix mixer on the card. This would eliminate the use of jack all <br>
together. I do not know if the ALSA driver has all the control showing in <br>
ALSA or if a more direct control is needed. The card does have an API to <br>
allow custom control applications to be set up.<br>
<br>
You also mentioned something about a R-pi... My first question for that <br>
would be, does the R-pi have a PCIe slot?</blockquote><div><br></div><div>He has the nice card, I have the R-pi... ~;-)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> I know that some SOC cards do <br>
but my old R-pi 2 most certainly does not :)  However, if you are testing <br>
on a R-pi then I would assume you have a USB device...</blockquote><div><br></div><div>I do have an inexpensive ub, no capture controls, 1 playback (PCM).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> many of these do <br>
not have mixer controls available to ALSA, using real knobs instead. The <br>
very cheap USB dongles with mic in and headphone out do have ALSA mixer <br>
controls and might be better for testing.<br></blockquote><div><br></div><div>I still have the feeling that someone who knows what they are doing in liquidsoap could to it all there very easily. </div><div><br></div><div>I have asked something in #savonet on irc. No response yet.</div><div><br></div><div>I am learning a lot in this process that may be useful later so I am happy enough to experiment...</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
--<br>
Len Ovens<br>
<a href="http://www.ovenwerks.net" rel="noreferrer" target="_blank">www.ovenwerks.net</a></blockquote><div><br></div><div>all the best,</div><div><br></div><div>drew</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Enjoy the <b>Paradise Island Cam</b> playing<br></div><div dir="ltr"><b>Bahamian Or Nuttin</b> - <a href="https://www.paradiseislandcam.com/" target="_blank">https://www.paradiseislandcam.com/</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div>