Hi All,
I'm using a script to launch extempore to save a heap of typing. This is great, because I can easily launch extempore with the correct audio devices. However, this is not so great because when another mac, that has airplay enabled, is nearby, airplay becomes device 0, shifting all other devices up by 1. As a result, if I launch extempore the devices are no longer correct.
Is there a way to choose the device based on the name, rather than the device number?
I could turn wifi off, and for demonstrating I will do that, but it's a pain to enable and disable during development. If the airplay is enumerated while extempore is running, I think everything continues as it should, but it may not. Something for me to test.
Here are the device ID's and then the script that I run to launch extempore.
-----Available Audio Devices-----------------------------
audio device[0]:AirPlay api[0]:Core Audio inchan[0] outchan[2]
audio device[1]:Built-in Microph api[0]:Core Audio inchan[2] outchan[0]
audio device[2]:Built-in Input api[0]:Core Audio inchan[2] outchan[0]
audio device[3]:Built-in Output api[0]:Core Audio inchan[0] outchan[2]
----------------------------------------------------------
#!/bin/bash
#Script for loading extempore with default inputs and outputs
echo "Starting Extempore process"
echo "with Stereo in and Stereo out"
cd /Users/Tim/extempore/cmake-build
./extempore --device=2 --channels=2 --indevice=1 --inchannels=2 --frames=128
echo "Done"