I don't know. If you want advice, contact a lawyer versed in copyright law.

I do know that in classical music, inversion of a theme is a legit method of developing the song.

Notes


Bob "Notes" Norton smile Norton Music
https://www.nortonmusic.com

100% MIDI Super-Styles recorded by live, pro, studio musicians for a live groove
& Fake Disks for MIDI and/or RealTracks