1

Problem

I'm trying Minim with Processing.

I tried MonitorInput.pde and other samples I found on the internet but getLineIn() doesn't work no matter how big sound. However, the console shows me no errors.

Because of Catalina?

I use macOS Catalina version 10.15.4. The other user said he got the same problem with Catalina but he succeeded with High Sierra. So I'm guessing this is caused by the stricter permissions of Catalina.

I checked the permission of the microphone in System Preferences, but there is no Java and I don't know how to add it.

Environment

  • macOS Catalina version 10.15.4
  • I tried samples on IDE and Visual Studio Code, with a built-in microphone and an external microphone.
Community
  • 1
  • 1
  • You mention that you've 'tried your sample' - If you have some code that you could post to show what you've tried it would help people a lot when working out an answer to the question. – Godwhacker May 10 '20 at 11:18
  • thanks, I added the link of the sample I tried. – Takaya Ogawa May 10 '20 at 15:58
  • @TakayaOgawa I would try to isolate the issue: 1. can you record from the same audio input source using Audacity or something similar (double checking the expected device has *use this device for sound input* enabled in Audio MIDI Setup) ? If so, then it's a java sound library issue, otherwise it's an OSX audio/ driver configuration issue. 2. If recording in Audacity works, try different different audio libraries like [Beads](http://beadsproject.net/) or [processing.sound](https://processing.org/reference/libraries/sound/Amplitude.html) (and check for errors). If those work you can choose... – George Profenza May 10 '20 at 21:59
  • ...if you beads or processing do what you need and you want to switch otherwise, if it's imperative to use Minim, call `minim.debugOn();` in setup, look at the console and start debugging/isolating the reason why minim isn't happy accessint the audio input and returning the data you're after. HTH – George Profenza May 10 '20 at 22:00

0 Answers0