Advice on creating sounds with Python

I have just started doing music using Python (which I am learning). I am now able to create midi files using MIDIUtils, but i’d like to have access to banks of sounds from within Python. Is that possible via some kind of library?
I can of course take the midi output, load it into a DAW and map it to sounds, but I wondered if there is a way of accessing such sounds from within Python.

I would also like any recommendations for python midi utilities, particularly something that would enable you to easily append to a midi file, so you can build up long structures in your midi output.

Try foxdot, or its derivative fork and successor renardo :slight_smile: