Jump to content

Audio Mixing


Pocster

Recommended Posts

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???

 

IMG_4065.jpg

Link to comment
Share on other sites

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

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

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

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

  • Thanks 1
Link to comment
Share on other sites

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

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

  • Thanks 1
Link to comment
Share on other sites

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

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

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?

  • Like 1
Link to comment
Share on other sites

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

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

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

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. 

 

16230928872027316413073890108877.thumb.jpg.dc80fa958d83dacb6dc2bc230c944af5.jpg

 

Looks like I added a little amp at some time...

 

16230929491471094301399407098761.thumb.jpg.61ac28779c2e0611b24c4568ee658f9c.jpg

 

What's a little hum between friends? ?

 

16230929222796082553736958450031.jpg

  • Like 2
Link to comment
Share on other sites

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

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 by SteamyTea
  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...