Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java Mic levels

Name: Anonymous 2010-10-09 8:50

Hi,

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.

Is this possible in real-time?

Name: Anonymous 2010-10-09 8:56

chmod -w+r mic

Name: Anonymous 2010-10-09 9:00

impossible

Name: Anonymous 2010-10-09 9:23

/g/ says it's easy but doesn't want to help me...
And I think my mic is already read-able

Name: Anonymous 2010-10-09 9:30

You'll need the Java Native Sound Input and Output Libraries.

Name: Anonymous 2010-10-09 9:35

Gee, and those are $300. nice

Name: Anonymous 2010-10-09 9:37

>>4
/g/ says it's easy but doesn't want to help me...
While the /g/ people are cretins, they are good at hot helping other cretins.

Name: Anonymous 2010-10-09 9:41

s/hot/not/

Name: Anonymous 2010-10-09 9:42

Mmm, let's specify:

This could also work.
Start recording when the level is over a certain value, stop when the level drops under a certain level for a certain time
Is this possible?

Name: Anonymous 2010-10-09 9:45

Like, maybe, recording bits of a quarter second and reading it's volume, and if it's under the threshold stop recording

Name: Anonymous 2010-10-09 9:50

What about it is volume? Are you brain-dead?

Name: Anonymous 2010-10-09 9:54

>>11
Not brain-dead, just tired and not a native speaker.
//its volume//

Name: Anonymous 2010-10-09 10:21

Forget it, you can only access mic from Scheme.
Read SICP to find out how.

Name: Anonymous 2010-10-09 10:47

>>13
So SICP is kinda /prog/s way of saying install gentoo?

Name: Anonymous 2010-10-09 10:52

>>14
Kinda, except it's good advice generally.

Name: Anonymous 2010-10-09 11:04

>>14
Not saging is /prog/s[sic] way of saying "I'm a fucking idiot.".

Name: Anonymous 2010-10-09 11:16

>>16
So, now I'm one of the cool guys?

Seriously though

Name: Anonymous 2010-10-09 11:41

>>16
Posting is /prog/ way of saying "I'm a fucking idiot."

Name: Anonymous 2010-10-09 11:54

>>18
Are you calling Xarn an idiot?

Name: Anonymous 2010-10-09 12:06

>>19
fuck off back to twitter

Name: Anonymous 2010-10-09 12:50

So... no real answers?

Name: Anonymous 2010-10-09 12:51

>>21
One does not simply walk in to /prog/ and expect answers.

Name: Anonymous 2010-10-09 13:10

>>21
As a wiseman once said, ``SECONDLY, THIS IS /prog/ DO NOT DEMAND USEFUL ANSWERS THE WAY YOU WANT THEM TO BE''.
Either wait for that guy who helps everybody or go to stackoverflow, where your question belongs.

Name: Anonymous 2010-10-09 14:41

that guy

Name: Anonymous 2010-12-06 9:46

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-08 23:26


Don't change these.
Name: Email:
Entire Thread Thread List