GithubHelp home page GithubHelp logo

Comments (4)

ddf avatar ddf commented on July 29, 2024

Since the error is coming out of JavaSound this may have something to do with the version of Java bundled with Processing 4 (if you are using that version of Processing). A couple things it might be: the Port Stereo Mix doesn't actually support the 48000 sample rate you are requesting because of how it is configured or the mixers are enumerating in a different order on Processing 4 and the first one with "Stereo Mix" in the name doesn't work. Beyond that, I'm not really sure.

from minim.

kawaiiDango avatar kawaiiDango commented on July 29, 2024

Processing 4 comes with Java 11, so its most probably that. The sound settings dialog does show 2 channel, 16 bit, 48000Hz and I tried manually indexing the stereo mix and the microphone and they didn't work. There are only 3 devices enumerated in my system: speakers, mic and stereo mix.

from minim.

ddf avatar ddf commented on July 29, 2024

Damn, that's frustrating. If you don't explicitly set the input mixer does getLineIn work? I'd assume you'd wind up with the microphone input.

from minim.

kawaiiDango avatar kawaiiDango commented on July 29, 2024

the mixers are enumerating in a different order on Processing 4 and the first one with "Stereo Mix" in the name doesn't work.

Sorry for not checking properly. This was the case. There were more devices enumerated, and the ones starting with "Port" didn't work, "Stereo Mix" did. The order has changed in Processing 4, the ones with "Port" are enumerated first.

from minim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.