Create Audio Mixer

ovid's icon

Hello all,

I am seeking to create a simple audio mixer that takes two or more audio inputs and allows them to possibly be placed at the same time.

I have used the matrix~ obj but it appears to require that you use the mtrxctrl obj to control the output - a feature I don't need and works against what I want to do.

Basically, I need help using the Matrix as a simple audio router.

Thanks,

Gregory Taylor's icon

Why not tack a message box onto the output of the matrixctrl object to see what messages it puts out when you punch the buttons? Alternately, the matrix~ refpage lists the messages the object understands - you could look there as well.

jrs1's icon

I generally agree that it's best to explore and learn yourself, but I had a piece of code which was a basic 2 channel mixer (from a long time ago).

see below, the code is very basic, there is a more efficient system to handle the messages, but I thought the layout was clearer this way:

Max Patch
Copy patch and select New From Clipboard in Max.

`

jrs1's icon

and also, just to show, you don't need to use the matrixctl... but why not. it's a nice visual way to see what is happening (when debugging, or something).

Max Patch
Copy patch and select New From Clipboard in Max.

here is a version where the message controls are connected directly to the matrixctrl~

Roman Thilenius's icon

am i the only one who is not using [matrix~] to sum channels?

Anthony Palomba's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here is my little mixer...

Roman Thilenius's icon

raja: i use [*~].

Anthony Palomba's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here is my 8 channel mixer...