Csound and graphics libraries embedded in websites
Date | 2016-08-24 14:53 |
From | Peter Burgess |
Subject | Csound and graphics libraries embedded in websites |
Hi there Csound world! I've been gone some time, had a whole heap of stuff happen in the last few months, but my life is now back up and running again, and I'm finally getting back on with the app after far too long a break. Hope all is well! Anyway, I have a question regarding using Csound on websites. I have found information about using pNaCl to achieve this for Csound on both the floss manual and Victor's website, great info there! Is this still the way you guys would recommend doing it? Secondly, has anyway interfaced Csound with a graphics library like openGl to control visuals with audio and embedded in a website? And if so, what graphics library did you use, and was it still using pNaCl to interface with HTML5? Thanks in advance, Pete |
Date | 2016-08-24 15:04 |
From | Richard |
Subject | Re: Csound and graphics libraries embedded in websites |
You can also run Csound locally, e.g. on a Raspberry Pi and use a web interface to control it. I have written about this in a recent Csound Journal article. Richard On 24/08/16 15:53, Peter Burgess wrote: > Hi there Csound world! I've been gone some time, had a whole heap of > stuff happen in the last few months, but my life is now back up and > running again, and I'm finally getting back on with the app after far > too long a break. Hope all is well! > > Anyway, I have a question regarding using Csound on websites. > > I have found information about using pNaCl to achieve this for Csound > on both the floss manual and Victor's website, great info there! Is > this still the way you guys would recommend doing it? > > Secondly, has anyway interfaced Csound with a graphics library like > openGl to control visuals with audio and embedded in a website? And if > so, what graphics library did you use, and was it still using pNaCl to > interface with HTML5? > > Thanks in advance, Pete > 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 | 2016-08-24 15:16 |
From | Peter Burgess |
Subject | Re: Csound and graphics libraries embedded in websites |
That's cool, and definitely worth remembering :D But in this instance, I'm thinking more of something publicly accessible that loads a user interface to change a few parameters in the Csound instruments, then csound playing some music which is visually represented at the same time. I suppose in it's simplest form, I could just be describing a music player with visualisations, lol. That's not what I'm after, but if I could achieve that using Csound and a graphics library, I could achieve what I want to. On Wed, Aug 24, 2016 at 3:04 PM, Richard |
Date | 2016-08-24 23:08 |
From | Rory Walsh |
Subject | Re: Csound and graphics libraries embedded in websites |
Html5, JavaScript, etc can all be used to control Csound running in a browser. Easy as ;) On 24 Aug 2016 3:16 pm, "Peter Burgess" <pete.soundtechnician@gmail.com> wrote: That's cool, and definitely worth remembering :D But in this instance, |
Date | 2016-08-25 05:05 |
From | Peter Burgess |
Subject | Re: Csound and graphics libraries embedded in websites |
Yeah? Ok, excellent :D On 24 Aug 2016 11:08 pm, "Rory Walsh" <rorywalsh@ear.ie> wrote:
|
Date | 2016-08-25 08:58 |
From | Richard |
Subject | Re: Csound and graphics libraries embedded in websites |
Don't forget SVG (Scalable Vector Graphics) for animations, plotting libraries like C3 and D3, jQuery UI (for things like sliders), and a wealth of other libraries. The list keeps growing... Richard On 25/08/16 00:08, Rory Walsh wrote:
|
Date | 2016-08-25 13:29 |
From | Peter Burgess |
Subject | Re: Csound and graphics libraries embedded in websites |
These are all easily embedded along with Csound? I suppose if pNaCl is for C++/C, then any C++/C graphics library will do it On 25 Aug 2016 8:59 am, "Richard" <zappfinger@gmail.com> wrote:
|
Date | 2016-08-25 13:54 |
From | Richard |
Subject | Re: Csound and graphics libraries embedded in websites |
Well, pNaCl (or Emscripten) is meant to run in a browser, so interfacing with C/C++ graphics libraries would not work I think. (Maybe with Qt it can..) So the tools I mentioned are all browser based, so they can interface with pNaCl. I also found this interesting article: http://zenodo.org/record/50368#.V77ovpN96cw Richard On 25/08/16 14:29, Peter Burgess wrote:
|
Date | 2016-08-25 14:28 |
From | Peter Burgess |
Subject | Re: Csound and graphics libraries embedded in websites |
Ah ok, nice one! Thanks for your help :D On 25 Aug 2016 1:54 pm, "Richard" <zappfinger@gmail.com> wrote:
|
Date | 2016-08-25 14:56 |
From | Michael Gogins |
Subject | Re: Csound and graphics libraries embedded in websites |
No. The HTML enabled builds of Csound provide a Javascript interface to Csound that Javascript code, for example on a Web page, can call to run and control Csound. That same code can call any capability of HTML, and there are many. See https://github.com/gogins/gogins.github.io. On Aug 25, 2016 8:30 AM, "Peter Burgess" <pete.soundtechnician@gmail.com> wrote:
|
Date | 2016-08-25 15:04 |
From | "Dr. Richard Boulanger" |
Subject | Re: Csound and graphics libraries embedded in websites |
Fantastic and inspiring Michael. Thanks so much for writing and sharing. Best. -dB On Thu, Aug 25, 2016 at 9:56 AM, Michael Gogins <michael.gogins@gmail.com> wrote:
_____________________________________________ Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Music Technology Division Berklee College of Music ______________________________________________ President of Boulanger Labs - http://boulangerlabs.com Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book ______________________________________________ about: http://www.boulangerlabs.com/about/richardboulanger/ about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ ______________________________________________ email: rboulanger@berklee.edu facebook: https://www.facebook.com/richard.boulanger.58 |
Date | 2016-08-25 15:13 |
From | Peter Burgess |
Subject | Re: Csound and graphics libraries embedded in websites |
That's brilliant! Cheers mike. I've got alot of potential avenues to explore then. On 25 Aug 2016 3:04 pm, "Dr. Richard Boulanger" <rboulanger@berklee.edu> wrote:
|
Date | 2016-08-25 15:48 |
From | Richard |
Subject | Re: Csound and graphics libraries embedded in websites |
Great job! I specially like the playable manual... Richard On 25/08/16 15:56, Michael Gogins
wrote:
|