How would I go about assigning different tracks to levels?

Odd question, I know. Essentially, I love the original soundtrack, but I’m also not a fan of how much tracks need to be reused for multiple levels. I want to “extend” the soundtrack by giving some maps new music. (Probably primarily from the Quake 64 soundtrack.) Could be useful for new levels that don’t come with music as well.

As far as I know only some specific, rare engines might support this. It would probably be easier find one with a console command for tracks and then do “cd track [randomnumber]”.