Advertisement Jump to content


This topic is now archived and is closed to further replies.


[java] Java audio (without the MediaFramework)

This topic is 6502 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using JDK1.1.8 on free BSD platform (with swing 1.1). I need some way (without upgrading to Java 1.2) of loading and displaying audio files (format undefined as yet). The AudioClip won''t do, as i need to be able to start the track @ a defined point (i.e. start the track after its been stopped (@ the stopped point)) and i can''t find any way of getting @ the file data (to plot a graph (the display)). Has anyone come accross any beans, API''s etc. which i''ll do the job?? Thanks Robin.

Share this post

Link to post
Share on other sites

Sorry to say, but without at least the JMF 1.0 you cann ot do this with any sort of reliability. AudioClip interfaces were only meant for small sounds, and you cannot alter the data because it pre-reads the entire file before playing the sound.

I''de recommend atempting to find jmf 1.0 or 2.1 file for your syste, they are already availible for linux x86.

Good luck,

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
You can actually create an audio clip from an array.... has two interfaces for creating looped and none looped sound fron byte arrays!


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!