TB - UpdateOS 2.2 TB Beta - closed -> use official OS 3.0

b18 is ok here.

On the audio passthru thing, it has been bothering me for some time so i decided to tackle the issue tonight.
Here is the very simple mod i’ve made to mother.pd
Mother.pd mod

And here is the run.sh script to be put in the System scripts folder to activate the passthru.

#!/bin/sh
oscsend localhost 4001 /enableauxsub i 1

# clear aux screen
oscsend localhost 4001 /oled/aux/clear i 1
oscsend localhost 4001 /oled/setscreen i 1

# Activate audio passthru
oscsend localhost 4000 /audiothru i 1
oscsend localhost 4001 /oled/aux/line/2 s "audio passthru ON"

sleep 1

# get out
oscsend localhost 4001 /enableauxsub i 0
oscsend localhost 4001 /oled/setscreen i 2

It’s only a proof of concept for now.
You eventually get some added latency. I think there would be a way to activate a lower-level passthru with alsa, but i’m not 100% sure about it. I choose to go through the compressor.
There is no way to deactivate the passthru, as reloading the mother patch will deactivate it anyway. I’d like to find the time to implement a nice routing+gain system for the mother patch similar to the one i’ve made for the RE-Tape Echo patch.

We could add this to future releases, but it would need a flag check at load because there is an awful number of patches that don’t let audio pass through, thinking they’re alone in the audio chain…