https://github.com/killedbyapixel/1keys
A 1 Kilobyte JavaScript Piano
https://github.com/killedbyapixel/1keys
audio-player instrument javascript music piano
Last synced: about 2 months ago
JSON representation
A 1 Kilobyte JavaScript Piano
- Host: GitHub
- URL: https://github.com/killedbyapixel/1keys
- Owner: KilledByAPixel
- License: gpl-3.0
- Created: 2020-07-07T17:04:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T06:07:42.000Z (over 1 year ago)
- Last Synced: 2024-12-10T08:51:22.483Z (10 months ago)
- Topics: audio-player, instrument, javascript, music, piano
- Language: JavaScript
- Homepage: https://killedbyapixel.github.io/1Keys
- Size: 122 KB
- Stars: 144
- Watchers: 6
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎹 1Keys
A 1 Kilobyte JavaScript Piano
By Frank Force 2020# [LIVE DEMO - Enhanced Version](https://killedbyapixel.github.io/1Keys)
# [LIVE DEMO - 1k Version](https://killedbyapixel.github.io/1Keys/index.min.html)
# [POSTMORTEM - Code Explanation](https://frankforce.com/?p=7617)# 🎹🎷🎻∿
This tiny three instrument piano supports play with both keyboard and mouse!
## Features
- Four different instrument sounds
- Keyboard and mouse support
- Multiple notes can be played independently
- Notes can be held for any length of time
- Sounds ramp on and off to eliminate pops
- Keys light up red when played
- Sounds stop if focus is lost[](https://killedbyapixel.github.io/1Keys/)
The enhanced version sounds the same but has a few small bonus features...
- Octave and Key control
- Keyboard keys displyed on pianoThanks to Rodrigo Siqueira for helping prototype.