Why complicate design? dBpoweramp is designed for ease of use:
Select audio tracks(s) in Windows Explorer / macOS Finder, right click, dBpoweramp,
Convert To:
Encoder is set as AAC, fine tune options, flexible file-naming options, click
Convert:
Multi CPU Core encoding using the full potential of your system.
Modern computers have multiple cores, an 8 core system is effectively 8 computers-in-one, dBpoweramp can encode to AAC eight times as fast. Have an 32 core CPU?, encoding will fly. Dynamically add and remove cores whilst converting.