1 unstable release
Uses new Rust 2024
| 0.1.0 | Oct 1, 2025 |
|---|
#604 in Hardware support
12KB
RustyPiano 🎹
RustyPiano is a simple terminal piano written in Rust. Press keys a, s, d, f, g, h, j to play the notes sa re ga .... It's a fun little way to experiment with audio in Rust.
Features
- Plays simple
sa re ganotes using keyboard input - Lightweight and terminal-based
- Powered by
rodiofor audio output - GPLv3 licensed, open-source
Installation
Add RustyPiano to your project via Cargo:
cargo install RustyPiano
RustyPiano
or clone and run directly
git clone https://github.com/yourusername/RustyPiano.git
cd RustyPiano
cargo run
Notes
| Key | Note Frequency |
|---|---|
| a | 240 Hz |
| s | 270 Hz |
| d | 300 Hz |
| f | 320 Hz |
| g | 360 Hz |
| h | 400 Hz |
| j | 450 Hz |
| k | 480 Hz |
| q | Quit |
Example
RustyPiano - Press keys a,s,d,f,g,h,j to play notes, q to quit
a s d q
License
This project is licensed under the GNU GPL v3 - see the LICENSE for details.
Built with ♥️ in Rust
Dependencies
~2–33MB
~425K SLoC