Is there any way to stop audio in java without it clicking?
Post by:Neil Cartmell
Hello. I'm making a guitar playing simulator. The user uses the mouse to play the strings and the keys on the keyboard to change chords.
I'm using the Clip interface. The problem is when the Clip is stopped it makes a clicking sound. So when the user strums it stops each string before starting it again and it sounds pretty hidious. I've tried getting the Controls for each clip and fading it out quickly but that doesn't help. I've tried loading in two of each sound file and alternating but that's doesn't work either.
Is there really no way in Java to do what I'm trying to do? Any ideas? If not, does anyone here know anything about C++, and whether C++ would let me do what I'm trying to do? I'm thinking of taking it up to make music applications.
This thread has been viewed 408 times.
All times above are in ranch (not your local) time.
The current ranch time is Dec 18, 2018 03:36:56.