Speaking specifically about Webamp, it is a manual reimplementation in JavaScript. But we did use Wasm as a tool for the music visualizer: https://jordaneldredge.com/blog/speeding-up-winamps-music-vi...
https://spotiamp-lightweight-spotify-player.en.uptodown.com/...
(Required paid Spotify account)