Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document USB audio interface support via ASIO on Windows #87

Open
kevinstadler opened this issue Sep 20, 2023 · 1 comment
Open

Document USB audio interface support via ASIO on Windows #87

kevinstadler opened this issue Sep 20, 2023 · 1 comment
Labels

Comments

@kevinstadler
Copy link
Collaborator

kevinstadler commented Sep 20, 2023

21ca5b8 adds support for ASIO devices on Windows (through PortAudio). By default the Sound library will try to stick to JavaSound drivers if possible, so some multi-channel interfaces might only be listed as stereo devices unless PortAudio is loaded explicitly by a call to MultiChannel.usePortAudio() at the beginning of the sketch (see the MultiChannelOutput example for details).

Since output devices can now also be selected by name matching, the following two lines should usually suffice to load the PortAudio interface and select the ASIO device for input/output:

MultiChannel.usePortAudio();
Sound.outputDevice("ASIO");
//Sound.inputDevice("ASIO");

In order to expand the list of supported audio interfaces (as well as latency/buffer configuration caveats) in the README, please report any experiences (positive and negative) with using audio interfaces over the ASIO device in this issue.

@kevinstadler kevinstadler added enhancement New feature or request help wanted Extra attention is needed Windows labels Sep 20, 2023
@kevinstadler
Copy link
Collaborator Author

Just a note that audio input from WDM-KS devices does also not seem to be supported on the currently bundled PortAudio binaries, and trying to open an AudioInputStream on one even seems to trash the JSyn SynthesisEngine object permanently (see cc2c8c3)

@kevinstadler kevinstadler changed the title Add support for ASIO devices on Windows Document USB audio interface support via ASIO on Windows Oct 28, 2023
@kevinstadler kevinstadler added documentation and removed enhancement New feature or request labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant