That is very general. Like i am thinking pygame. Because that would allow you to graphically place music notation as well as play custom sounds. When you say play a sound... play with what? guitar? horn? piano? pygame would allow you to select type of sound via loading custom sound files, etc. But i dont know what you are making either.
Of course there are already a ton of existing software for audio. Some might suffice
https://wiki.python.org/moin/PythonInMusic
Of course there are already a ton of existing software for audio. Some might suffice
https://wiki.python.org/moin/PythonInMusic
Recommended Tutorials: