Audacity is open source and is covered by a Creative Commons licence which makes it legally free to,download, use and modify.
If you do modify it, you must make your modifications publicly available. Not that I intend to make any modifications. I just use it.