Upload and playing recording file (.wav oor.mp4) in 1 field in record

I have a link that when entered in the browser, it will download an audio file and I want to download it to the sidebar attachment and then save it as a field in a doctype record that can be listened to right on that record.
Does anyone have any ideas or have done it that can give me advice?
tks so much