mo-g / thewireless

1950 Called. It Wants It's Radio Back.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Beginnings of a Web API for controlling the radio remotely #16

Closed mo-g closed 3 months ago

mo-g commented 3 months ago

To implement: Start and stop any channel, preferably including static, from a RESTful API using Express.

Don't worry about: controlling the servo from the API - though we DO want to do that, on radios with a servo controlled dial.

mo-g commented 3 months ago

Urgh, this breaks without ALSA mixing. I really want to handle the audio routing fully internally, rather than creating a separate ALSA endpoint for each station; but I can't work out how to get the final decoder out for Vorbis.

mo-g commented 3 months ago

Audio new routes internally after fixing a NASTY bug caused by node-lame outputting at 16 bit and node-vorbis outputting at 32 bit. Forced everything to 16bit internally, and now it works. Yay.