This is a simple piano app built using Svelte. It allows users to play notes using their computer keyboard or by clicking on the piano keys.
To run this app on your local machine, you will need to have Node.js installed.
- Clone this repository:
git clone https://github.com/rodrigodagostino/svelte-piano-app.git
- Navigate to the project directory and install the dependencies:
cd svelte-piano-app
pnpm install
- Start the development server:
pnpm dev
The app should now be running on http://localhost:5173.
To play notes on the piano, either click on the keys or use your computer keyboard. The mapping of the keys to notes is as follows:
Key | Note |
---|---|
A | C |
W | C#/Db |
S | D |
E | D#/Eb |
D | E |
F | F |
T | F#/Gb |
G | G |
Y | G#/Ab |
H | A |
U | A#/Bb |
J | B |
If you'd like to contribute to this project, please fork the repository and create a pull request. We welcome contributions of all kinds, including bug fixes, feature additions, and documentation improvements.
This project is licensed under the MIT License.