It’s a problem introduced by Apple’s recent changes to gatekeeper.
To fix it, open a Terminal (Applications > Utilities : Terminal.app) then type or paste:
sudo xattr -r -d com.apple.quarantine /Applications/Audacity/
Then press ENTER on your keyboard.
Type your admin password (you won’t see it on the screen)
then press ENTER again.