I made a command-line tool to assist me with writing polyrhythmic drum parts
If you're interested in this, there's a good chance you would enjoy the TidalCycles language for generating music. It's been a mind-expanding experience for me, particularly w/r/t polyrhythms.The landing page:
https://tidalcycles.org/An example of some music made live with it:
https://www.youtube.com/watch?v=mlUOWjC5fpY