SOLVED: Bluetooth Reconnect Audio Device Out Problems

Macbook Pro M1
Build 2023.11880

I am using multiple Audio Device Outs to connect to different bluetooth speakers.

working case:

load TD with the bluetooth devices CONNECTED then everything works as expected.

not working case:

load TD with the bluetooth device DISCONNECTED or disconnect and reconnect while open then no output is available and the error is shared below. Interestingly if the Audio Device Out had the actual device selected e.g. “headphones1” rather than “default” switching to “default” sometimes let audio play through my intended device.

Warning: Audio driver not detected: An error occurred connecting to the device. (/project/headphones_out)

side note (and maybe suggestion):

  1. Is it possible to have a copy system info/build info option from within the app so that I can share the relevant information such as the build number, machine OS, processor etc?

  2. Is it possible to copy and paste text from within the “info” window which displays the error?

Hey @aiei

You can use project.resetAudioOnDeviceChange for the refresh to happen. Set it to true on startup.

This can cause issue to change audio devices in the program while it’s running, especially if an audio device is in use, that’s why it’s False by default.

In many audio softwares you will get a popup when such a change occurs.

We will add an RFE in our queue for a possible reset pulse to be added to those operators.

Hi @JetXS ,

That seems to do the trick for a workaround for now. I have also experienced that issue, but right now I can accept it.

Your suggestion for RFE reset pulse will be useful for sure!

For future readers who do not know how to set the above value project.resetAudioOnDeviceChange

  1. Add a execute DAT
  2. Toggle Start from properties
  3. edit content of DAT by selecting the bottom right corner toggle shapped like a 4 pointed star
  4. add the below code to def onStart():
  5. restart the program
def onStart():
	project.resetAudioOnDeviceChange = True
	return
1 Like