Well there are 12 notes in a western scale. That is one octave, you may want to have more than one. Anyways, why not have a file for each note? Yeah you probably would have difficulty playing specific quarter notes, eighth notes, dotted quarter, etc. But hey, it's a start.
If you think about, every instrument has each note standing by as well.