Also something to factor in is the inclusion of GarageBand with every Mac OS.
granted, it’s fairly basic and idiosyncratic, but if you don’t need to factor in buying extra software or licensing then you’ve got a couple of hundred extra to spend on a higher spec machine.