substitute_diminished_for_dominant to progressions.js