An app that runs in the background and generates a melody every now and then based on your keystrokes. Good for relaxing.
The project uses JNativeHook that leverages platform-dependent native code to create low-level system-wide hooks. These hooks capture your keystrokes no matter what application is currently running and is in focus.
Different key combinations are assigned a note, that is played via Clip API.
If you want to run this project locally,
- Java 7 or above
- Windows 7,8 or 10
For the first download/clone of this repo,
- Import the JPlay1 folder as a Java project using your IDE (Eclipse/Netbeans).
- If the IDE does not detect the
lib
folder, then add its contents as external jars. - Add "resources" folder as a Source. In Eclipse:
Project -> Properties -> Java Build Path -> Source -> Add Folder
To directly use it.
- Download the jar from latest release.
- Double click the jar. This will start the app in background (You can check this under processes in TaskManager).
- Type anything, anywhere to hear a sound.
- To stop the app. Press
F9
key.
- Produce fractal sounds.
- Add more delay if the typing is fast.
- Translate mouse positions to a note. (Yes the application also supports logging mouse position.).
Licenced under GNU GENERAL PUBLIC LICENSE v3.0. It is free to copy and distribute.