hi, you can try
https://deken.puredata.info/results.html?name=websocketserver https://github.com/Lucarda/pd-websocketserver the help file has an example for interaction with html5 and js there is also a webserver object https://deken.puredata.info/results.html?name=webserver https://github.com/Lucarda/pd-webserver -- Mensaje telepatico asistido por maquinas On 10/01/2025 12:30, Winfried Ritsch wrote:
Trying to find "best practices" to control a Pd application via HTML5 or javascript or the like. There is probably solution with Pd as server and (simple to handle) middleware as web-server in between and Pd and browser. As Example usage to clarify the need: Providing a Web user interface (GUI) for a synthesizer with a lot of parameter running on a headless embedded Linux computer only connected with MIDI keyboard over an Ethernet interface for network connection. The logic of UI should be done within the Webpage volume, program change, ... and also key-press should be monitored. Description of any use case and suggestion is appreciated. The goal is to compile different recipes, solutions for comparison and helping to make development decisions. Examples and solution with open Source and free software are appreciated. mfg winfried
--- pd-dev@lists.iem.at - the Pd developers' mailinglist https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/4NMC2R37AGY6VZVNYECPS2GAEXSNQE5G/