A shell script that's sole design is to shutdown / killall processes that aren't related to music. Audio recording and live performance in Logic and other music apps. No audio drivers would be shutdown.