3 Note Piano on Arduino with S-Functions
Updated 13 Nov 2015
The 3-Note Piano makes use of the capacitive sensing library to generate a tone when a sensing plate is touched. A sensing plate, which is a material with insulating properties, is connected to a high value resistor enables the Arduino to sense the electrical capacitance of the human body.
In Simulink, C-code is wrapped in an S-Function.
Techsource Technical Team (2023). 3 Note Piano on Arduino with S-Functions (https://www.mathworks.com/matlabcentral/fileexchange/51980-3-note-piano-on-arduino-with-s-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Simulink > Simulink Supported Hardware >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data > Piano sounds >
Inspired by: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.