A piano keyboard with recorder available (please check remarks at the bottom).
2 ways to play the piano: click or press computer keys
Here is the correspondance of computer keys to piano keys:
It is recommended to play by pressing keys, as the piano pedal can only work under this scenario.
To run this page on your local machine, the required dependencies should be installed using following commands.
First command:
npm i express ejs mongoose
Second command:
npm i --save-dev nodemon
Make sure this is added to package.json (inside "scripts"):
"devStart": "nodemon server.js"
Then use this to run the web server:
npm run devStart
-
The recorded song currently cannot be downloaded.
-
Note that only static pages are supported by GitHub pages, so the recorder feature is not available online , please try it locally.