[java] Java audio (without the MediaFramework)
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.
Robin,
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,
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,
April 04, 2001 05:57 PM
You can actually create an audio clip from an array....
sun.audio has two interfaces for creating looped and none looped sound fron byte arrays!
:-)
sun.audio has two interfaces for creating looped and none looped sound fron byte arrays!
:-)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement