+ 2
How to Build piano
I want to build a gui application in java like piano so I wanted to know how to add sounds for the buttons and also I wanted to know how to store the keynote sounds in the form of a audio file and play it when they press play button in my gui application
2 Réponses
+ 4
how to implement Action listeners to detect mose press, key press, mouse release ecc...
https://docs.oracle.com/javase/tutorial/uiswing/events/actionlistener.html
how to implement sound with Java Sound
http://www.oracle.com/technetwork/java/index-139508.html
The quickest option: Processing Ide
https://processing.org
mouse licked and keytyped are stright forward functions.
the minim library provides easy implementation of sounds
0
using java (lol)