[Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application)
Date | 2018-04-10 14:48 |
From | Steven Yi |
Subject | [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Hi All, I wanted to share that some experiments I did yesterday to make the web application part of csound-live-code[1], hosted at https://live.csound.com, into a Progressive Web Application (PWA [2]). This allows the site to be added to a computer or Android phone using "Add to Desktop" or "Add to Home Screen" from the browser and then function more like a regular application and work offline. I have tested this with Desktop Chrome, Chrome on Android, and on Chrome OS. These installed the web site as an application on Windows 10, Android Phone, and Chromebook. The web app side still has some issues with icons and things and there's certainly more to tweak/fix. However, I'm pretty encouraged by the results so far. I also found that the site used to work in Edge browser (or, at least I thought it did!) and will investigate that again. If I can get it working again, I will look into packaging and submitting to the Microsoft App Store[3] as an AppX. While live.csound.com is a "Csound Exposed" kind of application, I think this kind of work can be really interesting for us to share our work with non-Csounders too (I'm thinking things like web instruments[4] or other music projects[5]). Thanks! steven [1] - https://github.com/kunstmusik/csound-live-code [2] - https://developers.google.com/web/progressive-web-apps/ [3] - https://www.pwabuilder.com/ [4] - https://instruments.kunstmusik.com [5] - https://kunstmusik.github.io/csound-p5js Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2018-04-10 15:52 |
From | Michael Gogins |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
That's pretty nice... ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Apr 10, 2018 at 9:48 AM, Steven Yi |
Date | 2018-04-10 16:00 |
From | Rory Walsh |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Great Steven. Just tried it and now I have cool little Csound app on my Android. I agree that it's a nice way of sharing things but I didn't find an add to desktop button in Chrome. I will look harder.. On 10 April 2018 at 15:52, Michael Gogins <michael.gogins@gmail.com> wrote: That's pretty nice... |
Date | 2018-04-10 16:03 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Any idea whether this would work on iOS at some point? Currently I can’t get WASM Csound to load. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 10 Apr 2018, at 14:48, Steven Yi |
Date | 2018-04-10 16:04 |
From | Steven Yi |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Thanks all! For desktop, if you use the three dot menu on upper right (I don't even know what it's called), then go to "More Tools", and then choose "Add to Desktop..." it will add an entry. On my Windows 10 computer, it shows up in my windows menu as a "Recently added" application and looks like any other installed app, which is nice. :) On Tue, Apr 10, 2018 at 11:00 AM, Rory Walsh |
Date | 2018-04-10 16:10 |
From | Steven Yi |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
That's something I was really fighting with when I was looking at AudioWorklet a few months ago and it turned out to not even be worklet-related. I haven't been able to get web csound working on iOS since 11.2.0 and I tried doing changes to construct the Web Audio graph on touch as well as call .resume() on touch (to deal with the autoplay changes Apple introduced.). I also tried asm.js instead of WASM without any success. I haven't been able to run other web audio examples on iOS but it might be that the ones I tried are too old in some way. I keep thinking WebAudio is just messed up on iOS. (BTW: I *think* that the WASM loaded, but the web audio part didn't work, from my last session debugging iPad Safari from my old Mac). If anyone has managed to either get web Csound working on iOS or has an example web audio application that works on iOS that I can look at, please let me know. On Tue, Apr 10, 2018 at 11:03 AM, Victor Lazzarini |
Date | 2018-04-10 21:03 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Would be good to check if any web audio apps work on iOS at all. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 10 Apr 2018, at 16:10, Steven Yi |
Date | 2018-04-10 21:55 |
From | Steven Yi |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Yes, that's what I mentioned, I haven't see any that have yet. Just re-tested with webaudiomodules.org and http://webaudiodemos.appspot.com/TouchPad/index.html and neither worked on iPad. On Tue, Apr 10, 2018 at 4:03 PM, Victor Lazzarini |
Date | 2018-04-10 21:59 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Interesting. I wonder if this is widely known. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 10 Apr 2018, at 21:55, Steven Yi |
Date | 2018-04-10 22:02 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Well, it must work somehow. This blog seems to indicate that they do https://hackernoon.com/unlocking-web-audio-the-smarter-way-8858218c0e09 ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 10 Apr 2018, at 21:59, Victor Lazzarini |
Date | 2018-04-10 22:08 |
From | Steven Yi |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
That site doesn't work on my iPad. (I tried all manner of resuming the context on user interaction already... :( ) On Tue, Apr 10, 2018 at 5:02 PM, Victor Lazzarini |
Date | 2020-05-17 04:02 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Just rediscovered this email and work by Steven - converting live.csound.com into a Progressive Web Apps (PWA) - WOW. - it's pretty cool to have live.csound.com function like a stand-alone app - it's pretty cool to have his other examples (example 4 and 5) function more like apps. And so, I tried to follow his instructions and make the Csound Web-IDE run like a stand-alone app - and it works - WOW. And so, I want to Michael Gogins fantastic https://gogins.github.io/csound-extended/ WebAssembly Live examples and turned all of them into stand-alone apps - WOW. (Scrims V2 !!) This possibility has probably been obvious to all of you for a long long time, but I am happy to discover it now and find it to be very cool. Like Steven, I am thinking that this is an interesting way to share interactive compositions and performance systems with family and friends - no need to even mention Csound. _____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music On Tue, Apr 10, 2018 at 9:48 AM Steven Yi <stevenyi@gmail.com> wrote: Hi All, |
Date | 2020-05-17 20:20 |
From | pat pagano |
Subject | Re: [Csnd] [ANN] - live.csound.com now a PWA (Progressive Web Application) |
Thanks for sharing your success DR B I look forward to tryin the same! On Sat, May 16, 2020 at 11:03 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Patrick Pagano B.S.,M.F.A
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Assistant Professor in Residence Digital Media Design & Development University of Connecticut, Stamford |