Dare un comando al pc da arduino

Se devi usare per forza il PC, Arduino può diventare un controller MIDI.

Con un opportuno programma per PC, puoi generare tutte le note che vuoi.

http://www.robotstore.it/product/370/Shield-MIDI-(Arduino-compatibile).html