Code for Using Keyboard to Play music notes "ABCDEFG"

Dan Stromberg drsalists at gmail.com
Sun Mar 25 23:25:33 EDT 2018


I imagine pygame could do this, if you give it:
https://freesound.org/people/pinkyfinger/packs/4409/

On Sun, Mar 25, 2018 at 1:31 PM, Bernard via Python-list
<python-list at python.org> wrote:
>
> Pyton Friends,
> Do you have any code that will play the notes "ABCDEFG" from my computer keyboard when a key is pressed ? For example if I press the "a" key the note "a" will sound out of my speaker.
> Thanks,
> BigB
> --
> https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list