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

soundcard output selection doesn't seem to work #8

Open
jmej opened this issue Dec 2, 2023 · 1 comment
Open

soundcard output selection doesn't seem to work #8

jmej opened this issue Dec 2, 2023 · 1 comment

Comments

@jmej
Copy link

jmej commented Dec 2, 2023

I'm running windows, Processing 4.01, and minim from the package manager. I am trying to control a laser using a MOTU ultralitemk3.

I see a list of devices including entries like: MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)

using:
xy = new XYscope(this, "MOTU Analog 1-2");

I get audio from the default laptop headphones (not the motu)

using:
xy = new XYscope(this, "MOTU Analog 1-2 (MOTU Audio Wave for 64 bit)");

I get no audio out of either device, and no rendered visuals in the processing window.

I am hoping to get this to work using with the laser by also adding something like:
xy.laser("MOTU Analog 3-4", "MOTU Analog 5-6");

Is this all tested and working on windows? The docs mention aggregate devices which is an OSX paradigm. I could try and find an OSX machine to run this on if this is indeed a windows specific problem.

@jmej
Copy link
Author

jmej commented Dec 2, 2023

I also have entries like:
5 = Port MOTU Main Out 1-2 (MOTU Audio W
This obviously looks like an incomplete string for some reason.. and passing a 5 instead doesn't work - it looks like the constructor doesn't accept an integer.

if I use:
xy = new XYscope(this, "Port MOTU Analog 1-2 (MOTU Audio Wav");

I get a nullpointer exception:

`==== JavaSound Minim Error ====
==== Couldn't open the line: Line unsupported: interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian

=== Minim Error ===
=== Minim.getLineOut: attempt failed, could not secure a LineOut.
`
The MOTU control panel appears to be set to 44.1k

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant