Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: [Asking] Question on operations on audio input

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [Asking] Question on operations on audio input

    Hey guys, this is my first post. A little bit about me, last year I took AP Computer Science and did fairly well, so I have a basic understanding of java.

    The question I have is about performing operations on audio input. Basically what I am trying to do is monitor meteors based on changes in a audio stream (from a fm receiver) coming into my computer through the microphone input. I am trying to write a program that will automate the process of monitoring when the volume level of the audio coming in rises a certain percentage above a set value (the average background static from the fm reciever). Eventually each occurrence of heightened audio volume will be graphed over time.

    My question is basically how would I do this, meaning be able to perform a logic operation having to do with the current volume level against a set value. If should be mentioned that I am not trying to tell when there is simply audio present, because background static will always be present, but when the volume is a certain percentage higher then a value I will set. (I am also going to try to account for a period of extended heightened audio that would indicate multiple meteors).

    Also I am going to be monitoring for a long period of time so recording one gigantic file then importing the file would not be ideal, rather, it would be better to perform the logic operations real time (also marking the time at which each occurrence takes place).

    Lastly, I am interested in learning more about java so what is a way that I could have found this out on my own? I do want to be able to solve things myself if I have future problems or questions.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: [Asking] Question on operations on audio input

    what is a way that I could have found this out on my own?
    A search engine and some effort? Wikipedia pages. Forums dedicated to the topics; java, recording, audio, and meteors. (any other related topic)

    Once you get it to record and save to a file, get it to start saving the audio X seconds before the sound threshold was crossed. Interesting things can be heard prior to crossing the noise level too.

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: [Asking] Question on operations on audio input

    This did not help at all

  4. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: [Asking] Question on operations on audio input

    Oh I'm so sorry. What can I do to improve service for you?

Similar Threads

  1. Boolean Input Question.
    By CommisarDave in forum File I/O & Other I/O Streams
    Replies: 6
    Last Post: August 2nd, 2012, 12:25 PM
  2. Arraylist input help, quick question.
    By Sarmen in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 11th, 2012, 01:37 PM
  3. could not create audio stream from input stream
    By chronoz13 in forum What's Wrong With My Code?
    Replies: 11
    Last Post: June 2nd, 2011, 02:08 AM
  4. Simple Input Dialog Question
    By tabutcher in forum Java Theory & Questions
    Replies: 0
    Last Post: March 1st, 2010, 11:10 PM
  5. How to detect audio input from a telephone call?
    By ces_31 in forum Java Theory & Questions
    Replies: 0
    Last Post: August 12th, 2009, 12:45 AM

Tags for this Thread