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 5 of 5

Thread: How to display sound signal waveforms continously?

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default How to display sound signal waveforms continously?

    Hi everyone!

    I actually don't know if I am posting in the right forum. Here is my problem, I'm going to create a java application that takes speech as its input and one of the modules is to display the speech signals in a waveform (spectrum visualizer?) while an input is being read (i.e. while someone is speaking / reading from a .wav file). As of now, I still cannot find a way to do this. I hope someone can help me on this. Thanks in advance!

    BTW, i need a display that is "moving"/"oscillating" such as the one being displayed in Audacity or in some applications for audio. *wondering if I can use MatLab, Audacity, or any jar file *

    Any kind of help will be appreciated. Thanks in advance! God Bless!
    Last edited by ces_31; August 9th, 2009 at 10:41 AM.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: How to display sound signal waveforms continously?

    that's a lot of work to create from scratch... This link should help you with the WAV file format. As for drawing, you can use Swing or AWT.
    Last edited by helloworld922; August 9th, 2009 at 10:24 PM.

  3. The Following User Says Thank You to helloworld922 For This Useful Post:

    ces_31 (August 10th, 2009)

  4. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: How to display sound signal waveforms continously?

    Quote Originally Posted by helloworld922 View Post
    that's a lot of work to create from scratch... This link should help you with the WAV file format. As for drawing, you can use Swing or AWT.
    hi helloworld922! thanks for the reply... you said that it is hard to create from scratch, do you know if i can use any jar file or something which i can import in java??? (i.e. matlab)
    pardon me, this is my first time in digital signal processing...

    BTW, thanks again for any info you can give...

  5. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: How to display sound signal waveforms continously?

    Hmm... Audacity is free and open source. You can try and look at their source code, and hopefully make your own port to Java. I also found something called WAV Pack. I think it's mostly for WAV compression/decompression, but if it might help you with reading WAV streams, and has a Java extension.

  6. The Following User Says Thank You to helloworld922 For This Useful Post:

    ces_31 (August 10th, 2009)

  7. #5
    Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: How to display sound signal waveforms continously?

    thanks again for the reply helloworld922! i'll try your suggestions

Similar Threads

  1. [SOLVED] Need to display multiple images from database on a webpage
    By raghuprasad in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: May 13th, 2009, 03:15 AM
  2. How to display the contents of my queue?
    By rocafella5007 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 30th, 2009, 11:46 AM
  3. Replies: 3
    Last Post: April 20th, 2009, 08:35 AM

Tags for this Thread