For macOS 10.15 and later only. This script converts the files of the selected tracks in the Music app using an encoder chosen on-the-fly (restoring your Preferences-set encoder afterwards). The newly converted files are then moved to a new location of your choice, and their tracks removed from Music. The read me doc contains additional important information.
- Accommodations for macOS 12 Monterey