From f9b5c43936c093cdc605b9af5c605c6748f9ffc5 Mon Sep 17 00:00:00 2001 From: palmerr23 Date: Fri, 12 Mar 2021 14:12:45 +1100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 61352b9..5f8d018 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # TeensyAudioMatrixMixer A matrix mixer for the Teensy Audio Library + +A mixer that has a flexible number of inputs and outputs - up to 8x8. + +AudioMixerMatrix Amixer(INPUTS, OUTPUTS) - create the mixer object with the required number of inputs and outputs + +gain(int inputChannel, int outputChannel, float level) - set the mixer gain for this combination of input and output + +Tested with T4.0, T4.1 SGTL5000 and CS42448 audio cards up to 8x8 channels. + +I have only tested static creation of the mixer object (outside setup()) with constants for the arguments. Dynamic object creation and variable arguments may also work.