Convert 4/4 swing to 12/8 fully-written notation
I have a piece in 4/4 that swings 8th notes. Is there an (automated) way to convert this so that the swing rhythm is explicitly written out? In other words - change the time signature from 4/4 to 12/8, convert quarters to dotted quarters, convert the first eighth note of a beat to quarter, and keep the second eighth note as an eighth note?
Said another way, I want to convert the first measure below into the second.
I know how to do this manually - am wondering if there is an automated way to put this in place.