• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

audio visualization graphics

 
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It works for me











 
Yahya Elyasse
Ranch Hand
Posts: 510
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic