• 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

Quality of sound using Java Sound APIs

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a rqmt in which I need to select a specific Audio Wav file
do some filtering for the wav file and play it. The need is to have a platform independent appln and hence I went for java. But also the quality of the sound played should be equivalent to Window media player. But as far i could from a sample program that i ran in WIndows the quality is relatively poor by using java sound api.
Does Java sound Api provide api to tune the quality or
is java not a viable option to get good quality sound??
Suggestion reqd...
Thanks in advance..
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
According to Sun, the Java Sound engine can render 8 or 16 bit audio data, in mono or stereo, with sample rates from 8KHz to 48KHz. Is your wav file of a different quality than one of these supported qualities?
I just played a few sound files through a simple Java application, and they sounded pretty good - just as good as with Windows Media Player.
Perhaps a driver issue is haunting you.
reply
    Bookmark Topic Watch Topic
  • New Topic