Open kevinstadler opened 1 year ago
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)
21ca5b8273f7f1b973218d4bca8590eb6801824e 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:
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.