Re: [PD] [PD-dev] A web frontend for Pd
On 17/3/23 5:02 am, Giulio Moro via Pd-dev wrote: Here's something the Chair and Bela teams have been working on for a few months: a proof-of-concept web interface to Pd. https://github.com/BelaPlatform/pure-data-web-GUI Amazing! Thank you for sharing this! Chris. -- https://mccormick.cx/ ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] A web frontend for Pd
That's exciting news! but I hope it shows that there is a tcl-tk-compatible, non-tcl-tk future possible for Pd. I am very much looking forward to such a future :-) Christof On 16.03.2023 22:02, Giulio Moro via Pd-list wrote: Here's something the Chair and Bela teams have been working on for a few months: a proof-of-concept web interface to Pd. https://github.com/BelaPlatform/pure-data-web-GUI This leverages the refactored communication protocol effort by Iohannes in order to obtain a "toolkit-agnostic Core<->GUI Communication" (https://github.com/pure-data/pure-data/discussions/1695), which resulted in https://github.com/pure-data/pure-data/pull/1765 . This is part of a broader project outlined in https://github.com/pure-data/pure-data/pull/1693 . Now, this pure-data-web-GUI repo comprises three components: - pd: is started with -guiport so that it doesn't start its own GUI - the "shim": a very thin layer of websocket that forwards messages to/from Pd and the browser - the "frontend": the actual HTML5 stuff, written using the svelte framework. For now, you can try it out with docker following the instructions included in the repo. The easiest way is to run it with the Pd it comes with (which is run inside docker and thus doesn't have audio/MIDI I/O capabilities), but you can easily connect it to your own Pd server instance (assuming it comes from this branch https://github.com/giuliomoro/pure-data-1/). The docker containers are used to simplify the development effort, but ultimately this can be packaged up in a self-contained app (even for Android, if required), or you can have it run embedded (e.g.: on a Bela board) while displaying the GUI in a web browser (which is actually our primary goal). It is by no mean complete or perfect, but I hope it shows that there is a tcl-tk-compatible, non-tcl-tk future possible for Pd. As it is, it even allows (well, with a lot of effort on the user side, but very little effort was put into it from the dev side) to patch on a touchscreen. You may be wondering how this differs from the purr-data web GUI. Good question. This is a complete rewrite and it aims to use "stock" Pd as a backend server, by means of a communication protocol that has been refactored (by Iohannes) such that Pd no longer sends out raw tk messages, but rather tcl-compatible commands that are higher level and also easier to parse in other languages (the parser here is written in js). So right now you can run the same Pd binary (from this branch) deciding at runtime if using a tcl GUI or a web GUI. Nifty. The aim is eventually to upstream this communication protocol into vanilla, to make it easier to swap GUI frontends. Hopefully this can eventually help other forks with custom GUIs such as PlugData so that they don't have to maintain their own fork of Pd. Best, Giulio ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] A web frontend for Pd
Here's something the Chair and Bela teams have been working on for a few months: a proof-of-concept web interface to Pd. https://github.com/BelaPlatform/pure-data-web-GUI This leverages the refactored communication protocol effort by Iohannes in order to obtain a "toolkit-agnostic Core<->GUI Communication" (https://github.com/pure-data/pure-data/discussions/1695), which resulted in https://github.com/pure-data/pure-data/pull/1765 . This is part of a broader project outlined in https://github.com/pure-data/pure-data/pull/1693 . Now, this pure-data-web-GUI repo comprises three components: - pd: is started with -guiport so that it doesn't start its own GUI - the "shim": a very thin layer of websocket that forwards messages to/from Pd and the browser - the "frontend": the actual HTML5 stuff, written using the svelte framework. For now, you can try it out with docker following the instructions included in the repo. The easiest way is to run it with the Pd it comes with (which is run inside docker and thus doesn't have audio/MIDI I/O capabilities), but you can easily connect it to your own Pd server instance (assuming it comes from this branch https://github.com/giuliomoro/pure-data-1/). The docker containers are used to simplify the development effort, but ultimately this can be packaged up in a self-contained app (even for Android, if required), or you can have it run embedded (e.g.: on a Bela board) while displaying the GUI in a web browser (which is actually our primary goal). It is by no mean complete or perfect, but I hope it shows that there is a tcl-tk-compatible, non-tcl-tk future possible for Pd. As it is, it even allows (well, with a lot of effort on the user side, but very little effort was put into it from the dev side) to patch on a touchscreen. You may be wondering how this differs from the purr-data web GUI. Good question. This is a complete rewrite and it aims to use "stock" Pd as a backend server, by means of a communication protocol that has been refactored (by Iohannes) such that Pd no longer sends out raw tk messages, but rather tcl-compatible commands that are higher level and also easier to parse in other languages (the parser here is written in js). So right now you can run the same Pd binary (from this branch) deciding at runtime if using a tcl GUI or a web GUI. Nifty. The aim is eventually to upstream this communication protocol into vanilla, to make it easier to swap GUI frontends. Hopefully this can eventually help other forks with custom GUIs such as PlugData so that they don't have to maintain their own fork of Pd. Best, Giulio ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] New Master in Composition with Focus on AI - HfM Trossingen
New Master in Composition with Focus on AI - HfM Trossingen Application period March 1 - April 1, 2023 Starting in October 2023, the University of Music (HfM) Trossingen (Germany) will offer a master's degree program that is unique in Europe and aims to train a new generation of artistically and technically competent composers, sound artists, and music designers, especially by critically exploring the creative possibilities of AI-based technologies. This program (Master of Music in Composition) builds on the music technology teaching foundations of the HfM Trossingen and takes place in close cooperation with Furtwangen University. The students are taught by an internationally renowned team of researchers and experienced artistic practitioners, first and foremost Prof. Dr. Luc Döbereiner and Prof. Dr. Joachim Goßmann. In addition, this course is being developed within the framework of a cross-university project funded by the BMBF (KISS - Artificial Intelligence Service and Systems), whose long-term goal is to establish a center of excellence for the sustainable development of AI. As part of the master's program, interested students with prior musical and/or technical experience at the bachelor's level can choose one of three concentrations: Music Design, Instrumental Composition, or Electroacoustic Composition. Available modules of study range from Digital Lutherie, Experimental Sound Synthesis, and Interface Design to Sound Ecology and Digital Ethics. In addition, a new space for the conception, experimentation and realisation of artistic projects ("Latent Space" - Space for Artistic Research and Design in Music and AI) is being created. The entrance examination consists of two phases. In the first phase, in addition to the general application documents, the following documents must be submitted (via Post, USB-stick with max. file-size of 1 GB): Motivation letter (max. 1 page) Curriculum vitae including chronological overview of musical/artistic development Media documentation of own works with explanation (min. 2 pages) Exposé - description of the planned artistic project (max. 3 pages) After reviewing the documents, the examination committee selects candidates for an in-person examination in Trossingen. This second phase consists of an interview about the submitted work and the exposé (approx. 30 min). Further information about the program, application requirements can be found on the following page: https://www.hfm-trossingen.de/ai-in-music contact: l.doeberei...@doz.hfm-trossingen.de ___ Pd-announce mailing list pd-annou...@lists.iem.at https://lists.puredata.info/listinfo/pd-announce ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list