An open API service indexing awesome lists of open source software.

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

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

[![Screenshot](/screen.jpg)](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 piano

Thanks to Rodrigo Siqueira for helping prototype.