Coder Social home page Coder Social logo

ssp5zone / windchime Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 37.09 MB

Play a melody in background at your keystrokes. (Windows OS)

License: GNU General Public License v3.0

Java 100.00%
java jnativehook music-theory keylistener sound wav-files sound-processing background-thread runnable-jar

windchime's Introduction

WindChime

What is it?

An app that runs in the background and generates a melody every now and then based on your keystrokes. Good for relaxing.

Why is it?

How does it work?

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.

Using Locally

If you want to run this project locally,

Requirements

  1. Java 7 or above
  2. Windows 7,8 or 10

Build

For the first download/clone of this repo,

  1. Import the JPlay1 folder as a Java project using your IDE (Eclipse/Netbeans).
  2. If the IDE does not detect the lib folder, then add its contents as external jars.
  3. Add "resources" folder as a Source. In Eclipse: Project -> Properties -> Java Build Path -> Source -> Add Folder

Run

To directly use it.

  1. Download the jar from latest release.
  2. Double click the jar. This will start the app in background (You can check this under processes in TaskManager).
  3. Type anything, anywhere to hear a sound.
  4. To stop the app. Press F9 key.

Future Work

  • 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.).

Licence

Licenced under GNU GENERAL PUBLIC LICENSE v3.0. It is free to copy and distribute.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.