When booting the server, output_device
should appear after -H
in serialized Options
and not before
#409
Labels
output_device
should appear after -H
in serialized Options
and not before
#409
Describe the bug
The command with which the server is booted is
/Applications/SuperCollider.app/Contents/Resources/scsynth 'GIGAPort HD+' -H 'MacBook Pro Microphone' -R 0 -S 44100 -i 2 -l 1 -u 57110
, if I setoutput_device = 'GIGAPort HD+'
. This is an error, it should be/Applications/SuperCollider.app/Contents/Resources/scsynth -H 'MacBook Pro Microphone' 'GIGAPort HD+' -R 0 -S 44100 -i 2 -l 1 -u 57110
.The mistake is in
supriya.scsynth.Options.serialize
:Additionally, this means one cannot set the output device without setting the input device, I don't know whether that is intended or not.
To Reproduce
Results in
With
supernova
instead ofscsynth
I don't get an error but the output device is not correctly set.Prints
<Server ONLINE [/Applications/SuperCollider.app/Contents/Resources/supernova 'GIGAPort HD+' -H 'MacBook Pro Microphone' -R 0 -S 44100 -i 2 -l 1 -u 57110]>
. Note the... supernova 'GIGAPort HD+' -H 'MacBook Pro Microphone' ...
. When I play a sound, it plays through the default output (MacBook Pro Speakers), and not through GIGAPort HD+.Expected behavior
I expect the serialized output command to be
/Applications/SuperCollider.app/Contents/Resources/scsynth -H 'MacBook Pro Microphone' 'GIGAPort HD+' -R 0 -S 44100 -i 2 -l 1 -u 57110
. Running this command in my terminal gives:Running the wrongfully serialized command
/Applications/SuperCollider.app/Contents/Resources/scsynth 'GIGAPort HD+' -H 'MacBook Pro Microphone' -R 0 -S 44100 -i 2 -l 1 -u 57110
in my terminal gives:ERROR: Invalid option GIGAPort HD+
.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: