This content has been marked as final. Show 2 replies
I'm trying to access the level of the mic through Java.
I don't need to record anything, I just want to know a relative scale of sound level.
Looking at that code, you can rip out the recording part and just use the targetDataLine to determine the level by doing targetDataLine.getLevel