I wanted to write a "Note Duration Determiner"; something that I can launch and it will recognize and record keystrokes as notes.
If I hit and hold in the space bar for 4 seconds, it will recognize and record it as a whole (W) note; 2 seconds would be a half (H) note, etc... it would stop "recording" the duration of the note when the space bar is released and record up to 4 bars.
Is this something that can be done in C? It (obviously) doesn't have to determine any pitch, just the duration and maybe be able to change the time signature as I've seen people write metronomes in C.
I just downloaded Visual Studio Community, so I haven't touched C Programing at all, but wanted to make sure that this is something it would be able to do before I get too far into it and realize it isn't going to fulfill my needs.