Greetings everyone, first-time poster here.
My intention is to put together a sort of DIY (studio) monitor controller, using an ADAU144x DSP.
Now, what i basically intend this to be, is an output selector. I'm a bit stuck at the switching side of things, using the tools / blocks available in SigmaStudio.
I'm positive i'll need some index-selectable (de-)multiplexers, but the part i'm having trouble with is the blocks i'd need to use between the GPIO inputs (using momentary push-buttons) and the "index" input to these mux/demux blocks.
I'm hoping this screenshot might better illustrate what i want to achieve.
Stereo input, 3 possible stereo outputs. Default = first pair selected; press button GPIO_1 = second pair is selected; press button GPIO_3 = third pair is selected.
And also, is there any way for the selection to be saved (ie. interface_read/write function)?
I'm eagerly looking forward to any ideas you good people might be able and willing to throw my way



Well, i think i've come up with some sort of solution. No, it's not pretty (at all) But it's the best i could do for now, with my (admittedly) limited knowledge of and experience with SigmaStudio's capabilities.
I should mention, the GPIO_0:2 will be "active low", hence the use of the "OneShot Fall, Reset" blocks. There's two things i'm still unclear about, related to each other:
1) is there some way to implement an "Interface read/write", in order for the DSP to remember the last selected pair of outputs, in case of power-down?
and / or
2) how could this be made to default to the first output (index 0) on power-up?
I'll warmly welcome any ideas / thoughts you good people might have