This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes how to extract the amplitude in the Java Sound API? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to extract the amplitude in the Java Sound API?" Watch "how to extract the amplitude in the Java Sound API?" New topic
Author

how to extract the amplitude in the Java Sound API?

Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
anyone knows how can i extract the amplitude from each sample in the Java Sound API to plot them in a diagram that shows (amplitude over frequency) either from Clip ,SourceDataLine or TargetDataLine objects.
thanks.
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
sorry the diagram will show the amplitude over time for each impulse
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

"Mahmoud Hadad_2009",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
this is the second time to get a warning on this subject,the first one when my display name was mahmoud_hadad_java i think and i changed it then i got this second warning after many months.my real name is Mahmoud Hadad (a fictious one).
Regards,
Mahmoud Hadad
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
sorry i meant not fictious.anyway guys does anyone knows how to get the amplitude and the frequency for each impulse for an audio file in the Java Sound API?
i would be gratefull if someone can tell me.
thanks.
 
wood burning stoves
 
subject: how to extract the amplitude in the Java Sound API?
 
Similar Threads
Using java to plot graph for amplitude, frquency , pitch etc of a sound as an input
Extracting Attachment from the mail using Java Mail API
Need pure java sound api
Audio files
Proper Silence Detection - having problem