San7o/minipiano.c
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
minipiano.c
===========
Play the piano using sinewaves and your keyboard!
Author: Giovanni Santini
Mail: giovanni.santini@proton.me
License: MIT
Keys
----
Notes follow a piano-like layout on your keyboard:
w e t y u
a s d f g h j k
Additional keys:
- o: increase amplitude (volume)
- p: decrease amplitude (volume)
- z: raise starting frequency by one half tone
- x: decrease starting frequency by one half tone
- 1/2/3/4: switch instrument
- q: quit