[Logo]
Forums Register Login
Is there any way to stop audio in java without it clicking?
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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 353 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 17, 2018 11:37:40.