This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

audio visualization graphics

 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

i have an application for a java audio player.i want to add a simple way of indicating that the audio system is active.

For instance, if you open Windows Media player and choose Bars and Waves Visualization, you will see what I am saying.
http://www.microsoft.com/windows/windowsmedia/images/howto/visualizations_sampleinFull.gif shows a simple visualization from Media Player.

how can i implement /imitate this visualization using java code ?
thanks
 
Andrei Matyas
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find 3 usefull classes (JavaSound.java, JavaSoundException.java, SoundView.java) at http://coweb.cc.gatech.edu/mediaComp-plan/49. It works fine with 'wav', 'au' or 'aiff' files.
 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Andrei

it seems the link doesn't work .i can't display the web page.

thanks for helping
 
Andrei Matyas
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works for me











 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrei
i would appreciate if you can paste the code of the 3 java sound examples in the forum (or my private MB) : that would be nice from your part.

thanks again

othman
 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks seems very interesting piece of code will definitely give it a try.

ps : it's weired why i can't get the link working
 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for bothering you again.it seems the JavaSoundException.java file is missing.without it i can't compile the example.and the link above is strangely not working for me !
thanks.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it seems the JavaSoundException.java file is missing.


It's right there in the post, before the SoundView class.
 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
i run the example and it's a very good java sound example.
however the view is not what i'm after .i only want to implement some sort of graphics visualization so that when some sound is active in my application;then this animation (typically vertical bars) is played.

i think it has to do with java 2d. is there any example for this in the resource link above.(when i try to access link an error : proxy error)

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic