Safari won't play embedded wav files
I was looking at a web page https://google-research.github.io/noise2music/ which has embedded wav files. When I try to play them on my iMac running 13.2 or my iPhone X running ios 16.1.2 using the Safari browser, clicking on play indicates that it's playing, but no sound comes out. However, when I go to the same web page using Firefox on my iMac it works as expected. Is there some setting that I need to make in order for this to work in Safari? It doesn't work on Firefox on my iPhone either.
iMac 21.5″, macOS 13.2