• C

A mini project

Can we make our keyboard into a mini piano by using c language
Kondamuri ShivaniAsked:
Who is Participating?
 
ste5anSenior DeveloperCommented:
Take a look at NAudio for sound synthesis.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
With the correct electronic interface, you can convert any analog signal to digital or any language (including C) to a signal.

Depending on which direction you're going (your question is unclear).

You require a DAC (Digital to Analog Convertor) or ADC (Analog to Digital Convertor), the write your C code to interact with the DAC or ADC registers to either effect your piano or read effects (high down/velocity/etc) from you piano.
0
 
phoffricCommented:
Given a PC or laptop keyboard I do not see any solutions where you hit an alphanumeric key and you generate a note sound. Recommend deletion.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.