Pocster Posted June 7, 2021 Share Posted June 7, 2021 I've had a few reasonable successes at various ways for a doorbell sound to pause or interrupt any audio playing on the whole house audio system. But none work exactly how I wish. SO! Is this type of thing possible? 3 Raspberry pi's with amps provide the audio input - but just one set of speakers for output. It would be nice that some of the input's can be 'mixed' and some are muted. For example If rasp1 is the doorbell audio that could be mixed and be audible with say rasp2 i.e. doorbell audio and music simultaneously . But if rasp3 plays ( this is a voice announcement ) I would want it to silence rasp2 i.e. so just the announcement is made no audio from rasp2. I can see various cheap ebay/amazon type mixers but not sure if I can 'configure' which inputs can be mixed/muted. Anyone understand what I am asking??? Link to comment Share on other sites More sharing options...
dpmiller Posted June 7, 2021 Share Posted June 7, 2021 Are all the amp outputs simultaneously connected to only one speaker? can each Pi output a DC signal saying it's active? Some PA/ background music amps have a "priority" input for announcements/ alarm signals over the music. Link to comment Share on other sites More sharing options...
SteamyTea Posted June 7, 2021 Share Posted June 7, 2021 41 minutes ago, pocster said: Anyone understand what I am asking No. IF/THEN Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 3 minutes ago, SteamyTea said: No. IF/THEN Useless . Just need someone who understands audio mixers . As an ex software engineer I can manage an if/then but I’m trying to do this at a hardware level ( via the mixer , even if programmable ) as the audio software api isn’t going to work Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 6 minutes ago, dpmiller said: Are all the amp outputs simultaneously connected to only one speaker? can each Pi output a DC signal saying it's active? Some PA/ background music amps have a "priority" input for announcements/ alarm signals over the music. Thanks Yes all raspberry pi amps all active at once . Don’t know of a way that the pi can pull a gpio line high on audio output ... Link to comment Share on other sites More sharing options...
elite Posted June 7, 2021 Share Posted June 7, 2021 It is commonly called "auto ducking" in the audio/DJ world - for when the DJ talks over those disco classics Usually done with an audio compressor with a sidechain input - RP3 would go into the side chain, controlling the compression on the main audio feed 1 Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 8 minutes ago, elite said: It is commonly called "auto ducking" in the audio/DJ world - for when the DJ talks over those disco classics Usually done with an audio compressor with a sidechain input - RP3 would go into the side chain, controlling the compression on the main audio feed Erm ! Sure you are right . Can you link to some cheap stuff on eBay please ? ? I also believe ( correct me if wrong ) that a microphone input would mute all other channels ? ( so perfect for automated speech ) .... Link to comment Share on other sites More sharing options...
Bramco Posted June 7, 2021 Share Posted June 7, 2021 https://wiki.ubuntu.com/PulseAudio and https://wiki.ubuntu.com/Audio/Alsamixer seeing as you're a s/w person I use these on a Pi that takes line input from a deck - having said that I haven't the faintest how to really get them working - I just followed some home brew instructions.... Simon Link to comment Share on other sites More sharing options...
elite Posted June 7, 2021 Share Posted June 7, 2021 9 minutes ago, pocster said: Erm ! Sure you are right . Can you link to some cheap stuff on eBay please ? ? I also believe ( correct me if wrong ) that a microphone input would mute all other channels ? ( so perfect for automated speech ) .... Something like Alesis 3630 - not renowned for being a brilliant compressor, but should be more than good enough for the job https://www.ebay.co.uk/itm/194189465188 Manual here - has section on side chain and ducking https://www.alesis.com/products/view/3630-compressor You set the amount of gain reduction you want on the main audio signal - so mute or just turn it down, this kicks in when a certain threshold is reached on the side chain input from RP3 1 Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 9 minutes ago, Bramco said: https://wiki.ubuntu.com/PulseAudio and https://wiki.ubuntu.com/Audio/Alsamixer seeing as you're a s/w person I use these on a Pi that takes line input from a deck - having said that I haven't the faintest how to really get them working - I just followed some home brew instructions.... Simon Nah that’s all pants ! Tempted to go for a 20 quid ebay mixer and have announcements and doorbell just play at the same time as any music . Simpler solution . Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 Just now, elite said: Something like Alesis 3630 - not renowned for being a brilliant compressor, but should be more than good enough for the job https://www.ebay.co.uk/itm/194189465188 Manual here - has section on side chain and ducking https://www.alesis.com/products/view/3630-compressor You set the amount of gain reduction you want on the main audio signal - so mute or just turn it down, this kicks in when a certain threshold is reached on the side chain input from RP3 Bit of a chunky monkey for 70 quid . Was looking at things like https://vi.raptor.ebaydesc.com/ws/eBayISAPI.dll?ViewItemDescV4&item=152411240874&category=19699&pm=1&ds=0&t=1623075843000&ver=0&cspheader=1 ( no idea if that does what I want ) Link to comment Share on other sites More sharing options...
elite Posted June 7, 2021 Share Posted June 7, 2021 9 minutes ago, pocster said: Bit of a chunky monkey for 70 quid . Was looking at things like https://vi.raptor.ebaydesc.com/ws/eBayISAPI.dll?ViewItemDescV4&item=152411240874&category=19699&pm=1&ds=0&t=1623075843000&ver=0&cspheader=1 ( no idea if that does what I want ) Not sure it does - think you have to press the talkover button? https://www.ebay.co.uk/itm/274822256367?hash=item3ffcaed6ef:g:oQkAAOSwgJ5gujfD https://www.ebay.co.uk/itm/184875737701?hash=item2b0b73e265:g:iDgAAOSw0~pgvkoT You would also some kind of audio mixer (with inserts), which would push the price up too, but you might have this already to combine the 3 pis? 1 Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 4 minutes ago, elite said: Not sure it does - think you have to press the talkover button? https://www.ebay.co.uk/itm/274822256367?hash=item3ffcaed6ef:g:oQkAAOSwgJ5gujfD https://www.ebay.co.uk/itm/184875737701?hash=item2b0b73e265:g:iDgAAOSw0~pgvkoT You would also some kind of audio mixer (with inserts), which would push the price up too, but you might have this already to combine the 3 pis? Lot of big gear just to have a voice say “ @onoff at the door - F off “ Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 Tempted by this https://www.ebay.co.uk/itm/264499270875?hash=item3d956294db:g:Dx4AAOSwob5fD-tR passive and simple , oh and small and cheap ? Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 (edited) 9 minutes ago, pocster said: Tempted by this https://www.ebay.co.uk/itm/264499270875?hash=item3d956294db:g:Dx4AAOSwob5fD-tR passive and simple , oh and small and Edited June 7, 2021 by pocster Twat Link to comment Share on other sites More sharing options...
Temp Posted June 7, 2021 Share Posted June 7, 2021 I understand what you want to do but i think more info is needed on the whole house audio system. Is there a point in the system where you can insert an analogue mixer or is it all digital these days? Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 12 minutes ago, Temp said: I understand what you want to do but i think more info is needed on the whole house audio system. Is there a point in the system where you can insert an analogue mixer or is it all digital these days? All digital Basically a raspi pi per room . So on the rooms where I want the doorbell heard or speech insert one of these . In reality probably only want doorbell on ground level hallway speaker and below ground kitchen speaker . Speech announcements probably just underground also . So doorbird button push will do a http request which HA picks up triggering mp3 play via squeezebox onto relevant raspberry pi . Why make it complicated ?? Link to comment Share on other sites More sharing options...
Temp Posted June 7, 2021 Share Posted June 7, 2021 (edited) Ah so I guess that rules out something like this.. https://www.bhphotovideo.com/c/product/217365-REG/Rolls_DU30B_DU30b_Audio_Ducker_with.html/overview?gclid=Cj0KCQjwh_eFBhDZARIsALHjIKepwrHczjJzEZGgfoXvjjoFBPRjfYtov8-nXU3FERocpOcd98_Dzb0aAu5sEALw_wcB Its an auto ducking mixer. Edited June 7, 2021 by Temp 1 Link to comment Share on other sites More sharing options...
elite Posted June 7, 2021 Share Posted June 7, 2021 Or can you track where you are in the playlist, inject your audio for the door, then resume where the playlist was up to? Link to comment Share on other sites More sharing options...
Onoff Posted June 7, 2021 Share Posted June 7, 2021 Gotta love a posho with too much money, over complicating things! Here's one I made earlier...like 40 years earlier. Based round a CA3140E op amp. Looks like I added a little amp at some time... What's a little hum between friends? ? 2 Link to comment Share on other sites More sharing options...
Pocster Posted June 7, 2021 Author Share Posted June 7, 2021 18 minutes ago, elite said: Or can you track where you are in the playlist, inject your audio for the door, then resume where the playlist was up to? Yeah I looked into that . The squeezebox server software is well ropey - that just didn’t work in any reliable way hence the ‘ hardware ‘ method Link to comment Share on other sites More sharing options...
dpmiller Posted June 7, 2021 Share Posted June 7, 2021 @pocster are you talking about line level or speaker level here? Mixers are low-level/high impedance, and you've already said your Rasps have inbuilt amps? 1 Link to comment Share on other sites More sharing options...
SteamyTea Posted June 8, 2021 Share Posted June 8, 2021 (edited) I have a cheap fitness tracker watch somewhere. That can take a signal from the phone. Can't you make up something like that, a band that vibrates when someone rings your bell, or at least vibrates your ring if you are worried about snagging your strap. Edited June 8, 2021 by SteamyTea 1 Link to comment Share on other sites More sharing options...
Pocster Posted June 8, 2021 Author Share Posted June 8, 2021 13 hours ago, dpmiller said: @pocster are you talking about line level or speaker level here? Mixers are low-level/high impedance, and you've already said your Rasps have inbuilt amps? Speaker level I guess Link to comment Share on other sites More sharing options...
Onoff Posted June 8, 2021 Share Posted June 8, 2021 Any use? https://github.com/nooploop/piejam Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now