Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to extract the amplitude in the Java Sound API?

 
Mahmoud Hadad
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry the diagram will show the amplitude over time for each impulse
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Mahmoud Hadad
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic