2020-10-23 17:59:08 +03:00
|
|
|
#!/bin/bash -e -o pipefail
|
2020-12-28 10:54:25 +03:00
|
|
|
source ~/utils/utils.sh
|
2020-09-10 14:34:08 +03:00
|
|
|
|
|
|
|
|
echo "install soundflower"
|
2020-12-22 14:48:31 +07:00
|
|
|
brew install --cask soundflower
|
2020-09-10 14:34:08 +03:00
|
|
|
|
|
|
|
|
echo "install switchaudio-osx"
|
2020-12-28 10:54:25 +03:00
|
|
|
brew_smart_install "switchaudio-osx"
|
2020-09-10 14:34:08 +03:00
|
|
|
|
|
|
|
|
echo "install sox"
|
2020-12-28 10:54:25 +03:00
|
|
|
brew_smart_install "sox"
|
2020-09-10 14:34:08 +03:00
|
|
|
|
|
|
|
|
echo "set Soundflower (2ch) as input/output device"
|
|
|
|
|
SwitchAudioSource -s "Soundflower (2ch)" -t input
|
|
|
|
|
SwitchAudioSource -s "Soundflower (2ch)" -t output
|
2020-12-17 19:37:19 +07:00
|
|
|
|
2021-01-29 16:37:48 +07:00
|
|
|
invoke_tests "System" "Audio Device"
|