I have been using `wscat`[1] when I was developing a WebSocket app last year. It was a nifty little tool although it would require the entire nodejs / npm stack to be able to run it.
`wsta` is probably more portable as all we need is just a native binary to run.
Yep, wscat is pretty a pretty nice tool! I used it as well, but it always bothered me that I couldn't tell it what to send to the server when running it. It's super handy to be able to file bugs with a one-liner to reproduce the bug.
That lead me to fork it and send a PR with that feature. It never got merged, so I simply created a new project, which ultimately lead to this :)
I tried a few different things and couldn't make it work. I think the problem is that the audio data is getting sent as a text websocket message rather than binary message. I got a whole bunch of "error: stream did not contain valid UTF-8" and "No JSON object could be decoded" errors that I think both came from the remote end.
[1]: https://www.npmjs.com/package/wscat