soul-lang / SOUL

The SOUL programming language and API
Other
1.71k stars 95 forks source link

play --output-devices="" argument won't run if there are spaces in the output device name #46

Closed agdsat134 closed 3 years ago

agdsat134 commented 3 years ago

I tried running this command:

soul play --output-device="Speakers (USB Audio CODEC )" newpatch.soulpatch

With the latest release but I get the following error:

Unrecognised command-line argument: newpatch.soulpatch

After playing around with it a bit, it appears it just doesn't like spaces in the output device name. "Speakers (USB Audio CODEC )" is what is listed in the --list-devices command. I'm using Powershell on Windows 10 Pro x64.

cesaref commented 3 years ago

Yes, i've recreated this issue on OSX and am looking for a fix.

cesaref commented 3 years ago

I've got a fix which will be included in the next release