supercollider / supercollider

An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
http://supercollider.github.io
GNU General Public License v3.0
5.47k stars 748 forks source link

SuperCollider can't boot on Aggregate Device with No Input selected #6203

Open eilseq opened 8 months ago

eilseq commented 8 months ago

Environment

Steps to reproduce

  1. Create Aggregate Device in Audio Midi Setup (optional: called "Supercollider")
  2. Select an output device, leave the input device unselected
  3. Run SC server with startup file containing
Server.default.options.numInputBusChannels  = 0;
Server.default.options.outDevice = "Supercollider";

Expected vs. actual behavior

Supercollider's synth server should run with no input device available, expecting a silent input from In.ar or other input ugens.

Instead, the server wouldn't even start. Forcing the user to open an input audio channel, even if not needed in the specific use case.

This happens even if

Server.default.options.numInputBusChannels  = 0;
Server.default.options.outDevice = "Supercollider";

This behavior differs from PortAudio's

https://github.com/supercollider/supercollider/issues/844

eilseq commented 8 months ago

If is a good first issue I could try my first contribution