Csound Csound-dev Csound-tekno Search About

[Csnd] LAC 2014 Presentation: Csound on the Web

Date2014-05-01 22:11
FromSteven Yi
Subject[Csnd] LAC 2014 Presentation: Csound on the Web
Hi All,

Edward Costello and I will be giving a presentation tomorrow (Friday,
May 2nd) at the Linux Audio Conference called "Csound on the Web" at
2:45pm GMT+1 (local German time). We worked on this presentation and
paper together with Victor Lazzarini and John ffitch and it covers
both Csound Emscripten and Csound PNaCl.  If you're interested to view
the presentation, you can find the live streaming video and IRC links
at:

http://lac.linuxaudio.org/2014/

I thought I'd share one of the examples we'll be showing tomorrow,
which is a ProcessingJS example connected with Csound PNaCl.  You can
run it in Chrome using:

http://www.kunstmusik.com/processingjs_example/index.html

For this example, I did not put in a pre-loader for Csound.  The
example will not make sound until Csound loads (a message will appear
in the Javascript Console, accessible from the three bar menu in the
upper right). Or, you can just wait a while too. :)

Thanks!
steven


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-01 22:19
FromRory Walsh
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
That's really cool Steven. The possibility of binding this to
Processing is really great. Does PNaCI work on Android browsers too?

On 1 May 2014 23:11, Steven Yi  wrote:
> Hi All,
>
> Edward Costello and I will be giving a presentation tomorrow (Friday,
> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
> 2:45pm GMT+1 (local German time). We worked on this presentation and
> paper together with Victor Lazzarini and John ffitch and it covers
> both Csound Emscripten and Csound PNaCl.  If you're interested to view
> the presentation, you can find the live streaming video and IRC links
> at:
>
> http://lac.linuxaudio.org/2014/
>
> I thought I'd share one of the examples we'll be showing tomorrow,
> which is a ProcessingJS example connected with Csound PNaCl.  You can
> run it in Chrome using:
>
> http://www.kunstmusik.com/processingjs_example/index.html
>
> For this example, I did not put in a pre-loader for Csound.  The
> example will not make sound until Csound loads (a message will appear
> in the Javascript Console, accessible from the three bar menu in the
> upper right). Or, you can just wait a while too. :)
>
> Thanks!
> steven
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-01 22:28
FromSteven Yi
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
No, PNaCl is only implemented on desktop systems at the moment.
Google hasn't announced if/when they'll implement it (as far as I
know).

Processing.js was really handy. I was able to write the example in the
Processing IDE and use the Javascript mode to test.  Afterwards, I
took the web-export/index.html and modified it myself to add the
csound.js stuff and do the binding code so that the processing sketch
could interact with the csound javascript class.  I was pretty
impressed with how easy it was to do.  If you want look at the sketch
file, you can browse it here:

http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde



On Thu, May 1, 2014 at 11:19 PM, Rory Walsh  wrote:
> That's really cool Steven. The possibility of binding this to
> Processing is really great. Does PNaCI work on Android browsers too?
>
> On 1 May 2014 23:11, Steven Yi  wrote:
>> Hi All,
>>
>> Edward Costello and I will be giving a presentation tomorrow (Friday,
>> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>> 2:45pm GMT+1 (local German time). We worked on this presentation and
>> paper together with Victor Lazzarini and John ffitch and it covers
>> both Csound Emscripten and Csound PNaCl.  If you're interested to view
>> the presentation, you can find the live streaming video and IRC links
>> at:
>>
>> http://lac.linuxaudio.org/2014/
>>
>> I thought I'd share one of the examples we'll be showing tomorrow,
>> which is a ProcessingJS example connected with Csound PNaCl.  You can
>> run it in Chrome using:
>>
>> http://www.kunstmusik.com/processingjs_example/index.html
>>
>> For this example, I did not put in a pre-loader for Csound.  The
>> example will not make sound until Csound loads (a message will appear
>> in the Javascript Console, accessible from the three bar menu in the
>> upper right). Or, you can just wait a while too. :)
>>
>> Thanks!
>> steven
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>>
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-01 23:17
FromTarmo Johannes
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
thank you very much for the Processing example!

It opens definitely another vast potential!

Very interesting.

tarmo

On Thursday 01 May 2014 23:28:22 Steven Yi wrote:
> No, PNaCl is only implemented on desktop systems at the moment.
> Google hasn't announced if/when they'll implement it (as far as I
> know).
> 
> Processing.js was really handy. I was able to write the example in the
> Processing IDE and use the Javascript mode to test.  Afterwards, I
> took the web-export/index.html and modified it myself to add the
> csound.js stuff and do the binding code so that the processing sketch
> could interact with the csound javascript class.  I was pretty
> impressed with how easy it was to do.  If you want look at the sketch
> file, you can browse it here:
> 
> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs
> _example.pde
> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh  wrote:
> > That's really cool Steven. The possibility of binding this to
> > Processing is really great. Does PNaCI work on Android browsers too?
> > 
> > On 1 May 2014 23:11, Steven Yi  wrote:
> >> Hi All,
> >> 
> >> Edward Costello and I will be giving a presentation tomorrow (Friday,
> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
> >> paper together with Victor Lazzarini and John ffitch and it covers
> >> both Csound Emscripten and Csound PNaCl.  If you're interested to view
> >> the presentation, you can find the live streaming video and IRC links
> >> at:
> >> 
> >> http://lac.linuxaudio.org/2014/
> >> 
> >> I thought I'd share one of the examples we'll be showing tomorrow,
> >> which is a ProcessingJS example connected with Csound PNaCl.  You can
> >> run it in Chrome using:
> >> 
> >> http://www.kunstmusik.com/processingjs_example/index.html
> >> 
> >> For this example, I did not put in a pre-loader for Csound.  The
> >> example will not make sound until Csound loads (a message will appear
> >> in the Javascript Console, accessible from the three bar menu in the
> >> upper right). Or, you can just wait a while too. :)
> >> 
> >> Thanks!
> >> steven
> >> 
> >> 
> >> Send bugs reports to
> >> 
> >>         https://github.com/csound/csound/issues
> >> 
> >> Discussions of bugs and features can be posted here
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >> csound"> 
> > Send bugs reports to
> > 
> >         https://github.com/csound/csound/issues
> > 
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"



Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-01 23:28
FromSteven Yi
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web

Glad you enjoy it! Also, I will put the example into GitHub on Saturday so that it will be easier to download and use.

On May 2, 2014 12:18 AM, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:
thank you very much for the Processing example!

It opens definitely another vast potential!

Very interesting.

tarmo

On Thursday 01 May 2014 23:28:22 Steven Yi wrote:
> No, PNaCl is only implemented on desktop systems at the moment.
> Google hasn't announced if/when they'll implement it (as far as I
> know).
>
> Processing.js was really handy. I was able to write the example in the
> Processing IDE and use the Javascript mode to test.  Afterwards, I
> took the web-export/index.html and modified it myself to add the
> csound.js stuff and do the binding code so that the processing sketch
> could interact with the csound javascript class.  I was pretty
> impressed with how easy it was to do.  If you want look at the sketch
> file, you can browse it here:
>
> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs
> _example.pde
> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
> > That's really cool Steven. The possibility of binding this to
> > Processing is really great. Does PNaCI work on Android browsers too?
> >
> > On 1 May 2014 23:11, Steven Yi <stevenyi@gmail.com> wrote:
> >> Hi All,
> >>
> >> Edward Costello and I will be giving a presentation tomorrow (Friday,
> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
> >> paper together with Victor Lazzarini and John ffitch and it covers
> >> both Csound Emscripten and Csound PNaCl.  If you're interested to view
> >> the presentation, you can find the live streaming video and IRC links
> >> at:
> >>
> >> http://lac.linuxaudio.org/2014/
> >>
> >> I thought I'd share one of the examples we'll be showing tomorrow,
> >> which is a ProcessingJS example connected with Csound PNaCl.  You can
> >> run it in Chrome using:
> >>
> >> http://www.kunstmusik.com/processingjs_example/index.html
> >>
> >> For this example, I did not put in a pre-loader for Csound.  The
> >> example will not make sound until Csound loads (a message will appear
> >> in the Javascript Console, accessible from the three bar menu in the
> >> upper right). Or, you can just wait a while too. :)
> >>
> >> Thanks!
> >> steven
> >>
> >>
> >> Send bugs reports to
> >>
> >>         https://github.com/csound/csound/issues
> >>
> >> Discussions of bugs and features can be posted here
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >> csound">
> > Send bugs reports to
> >
> >         https://github.com/csound/csound/issues
> >
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"



Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-05-01 23:32
FromDominic Melville
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
Thanks for the example Steven, really cool. Very exciting to see Csound getting used like this. 

Cheers 

Dominic 

On Thursday, May 1, 2014, Steven Yi <stevenyi@gmail.com> wrote:

Glad you enjoy it! Also, I will put the example into GitHub on Saturday so that it will be easier to download and use.

On May 2, 2014 12:18 AM, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:
thank you very much for the Processing example!

It opens definitely another vast potential!

Very interesting.

tarmo

On Thursday 01 May 2014 23:28:22 Steven Yi wrote:
> No, PNaCl is only implemented on desktop systems at the moment.
> Google hasn't announced if/when they'll implement it (as far as I
> know).
>
> Processing.js was really handy. I was able to write the example in the
> Processing IDE and use the Javascript mode to test.  Afterwards, I
> took the web-export/index.html and modified it myself to add the
> csound.js stuff and do the binding code so that the processing sketch
> could interact with the csound javascript class.  I was pretty
> impressed with how easy it was to do.  If you want look at the sketch
> file, you can browse it here:
>
> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs
> _example.pde
> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
> > That's really cool Steven. The possibility of binding this to
> > Processing is really great. Does PNaCI work on Android browsers too?
> >
> > On 1 May 2014 23:11, Steven Yi <stevenyi@gmail.com> wrote:
> >> Hi All,
> >>
> >> Edward Costello and I will be giving a presentation tomorrow (Friday,
> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
> >> paper together with Victor Lazzarini and John ffitch and it covers
> >> both Csound Emscripten and Csound PNaCl.  If you're interested to view
> >> the presentation, you can find the live streaming video and IRC links
> >> at:
> >>
> >> http://lac.linuxaudio.org/2014/
> >>
> >> I thought I'd share one of the examples we'll be showing tomorrow,
> >> which is a ProcessingJS example connected with Csound PNaCl.  You can
> >> run it in Chrome using:
> >>
> >> http://www.kunstmusik.com/processingjs_example/index.html
> >>
> >> For this example, I did not put in a pre-loader for Csound.  The
> >> example will not make sound until Csound loads (a message will appear
> >> in the Javascript Console, accessible from the three bar menu in the
> >> upper right). Or, you can just wait a while too. :)
> >>
> >> Thanks!
> >> steven
> >>
> >>
> >> Send bugs reports to
> >>
> >>         https://github.com/csound/csound/issues
> >>
> >> Discussions of bugs and features can be posted here
> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >> csound">
> > Send bugs reports to
> >
> >         https://github.com/csound/csound/issues
> >
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"



Send bugs reports to

Date2014-05-01 23:50
FromMichael Gogins
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
That's really cool, and all by itself can serve as a template for other PNaCl/Csound/Processing projects.

Could the PNaCl Csound JavaScript class be intergrated in Processing so you don't have to edit the exported sketch?

Best,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, May 1, 2014 at 5:28 PM, Steven Yi <stevenyi@gmail.com> wrote:
No, PNaCl is only implemented on desktop systems at the moment.
Google hasn't announced if/when they'll implement it (as far as I
know).

Processing.js was really handy. I was able to write the example in the
Processing IDE and use the Javascript mode to test.  Afterwards, I
took the web-export/index.html and modified it myself to add the
csound.js stuff and do the binding code so that the processing sketch
could interact with the csound javascript class.  I was pretty
impressed with how easy it was to do.  If you want look at the sketch
file, you can browse it here:

http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde



On Thu, May 1, 2014 at 11:19 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
> That's really cool Steven. The possibility of binding this to
> Processing is really great. Does PNaCI work on Android browsers too?
>
> On 1 May 2014 23:11, Steven Yi <stevenyi@gmail.com> wrote:
>> Hi All,
>>
>> Edward Costello and I will be giving a presentation tomorrow (Friday,
>> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>> 2:45pm GMT+1 (local German time). We worked on this presentation and
>> paper together with Victor Lazzarini and John ffitch and it covers
>> both Csound Emscripten and Csound PNaCl.  If you're interested to view
>> the presentation, you can find the live streaming video and IRC links
>> at:
>>
>> http://lac.linuxaudio.org/2014/
>>
>> I thought I'd share one of the examples we'll be showing tomorrow,
>> which is a ProcessingJS example connected with Csound PNaCl.  You can
>> run it in Chrome using:
>>
>> http://www.kunstmusik.com/processingjs_example/index.html
>>
>> For this example, I did not put in a pre-loader for Csound.  The
>> example will not make sound until Csound loads (a message will appear
>> in the Javascript Console, accessible from the three bar menu in the
>> upper right). Or, you can just wait a while too. :)
>>
>> Thanks!
>> steven
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>>
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2014-05-02 17:04
FromSteven Yi
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
Hi Michael,

I'm not quite sure what you mean. However, you could certainly reuse
the page and just swap out the ORC code.  Maybe a more re-usable
template can be developed over time?

Just FYI: I spent a little time and have put the project online at Github:

https://github.com/kunstmusik/processingjs_example/

Hopefully the README explains a bit about how it was developed and how
it works.

Thanks!
steven

On Fri, May 2, 2014 at 12:50 AM, Michael Gogins
 wrote:
> That's really cool, and all by itself can serve as a template for other
> PNaCl/Csound/Processing projects.
>
> Could the PNaCl Csound JavaScript class be intergrated in Processing so you
> don't have to edit the exported sketch?
>
> Best,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, May 1, 2014 at 5:28 PM, Steven Yi  wrote:
>>
>> No, PNaCl is only implemented on desktop systems at the moment.
>> Google hasn't announced if/when they'll implement it (as far as I
>> know).
>>
>> Processing.js was really handy. I was able to write the example in the
>> Processing IDE and use the Javascript mode to test.  Afterwards, I
>> took the web-export/index.html and modified it myself to add the
>> csound.js stuff and do the binding code so that the processing sketch
>> could interact with the csound javascript class.  I was pretty
>> impressed with how easy it was to do.  If you want look at the sketch
>> file, you can browse it here:
>>
>>
>> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde
>>
>>
>>
>> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh  wrote:
>> > That's really cool Steven. The possibility of binding this to
>> > Processing is really great. Does PNaCI work on Android browsers too?
>> >
>> > On 1 May 2014 23:11, Steven Yi  wrote:
>> >> Hi All,
>> >>
>> >> Edward Costello and I will be giving a presentation tomorrow (Friday,
>> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
>> >> paper together with Victor Lazzarini and John ffitch and it covers
>> >> both Csound Emscripten and Csound PNaCl.  If you're interested to view
>> >> the presentation, you can find the live streaming video and IRC links
>> >> at:
>> >>
>> >> http://lac.linuxaudio.org/2014/
>> >>
>> >> I thought I'd share one of the examples we'll be showing tomorrow,
>> >> which is a ProcessingJS example connected with Csound PNaCl.  You can
>> >> run it in Chrome using:
>> >>
>> >> http://www.kunstmusik.com/processingjs_example/index.html
>> >>
>> >> For this example, I did not put in a pre-loader for Csound.  The
>> >> example will not make sound until Csound loads (a message will appear
>> >> in the Javascript Console, accessible from the three bar menu in the
>> >> upper right). Or, you can just wait a while too. :)
>> >>
>> >> Thanks!
>> >> steven
>> >>
>> >>
>> >> Send bugs reports to
>> >>         https://github.com/csound/csound/issues
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe csound"
>> >>
>> >>
>> >>
>> >
>> >
>> > Send bugs reports to
>> >         https://github.com/csound/csound/issues
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>> >
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-02 17:49
FromMichael Gogins
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
Yes, the readme is very helpful.

Another thing that would be very nice is if you didn't need to run the page from a web server, even though I know that is very easy. The fact is, in my experience, many people are stopped cold by any difficulty at the beginning of investigating a new tool. Once they see what it can do, they may become motivated to persist through other problems that may develop later. I'm with Dr. B on this one.

Best,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Fri, May 2, 2014 at 12:04 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Michael,

I'm not quite sure what you mean. However, you could certainly reuse
the page and just swap out the ORC code.  Maybe a more re-usable
template can be developed over time?

Just FYI: I spent a little time and have put the project online at Github:

https://github.com/kunstmusik/processingjs_example/

Hopefully the README explains a bit about how it was developed and how
it works.

Thanks!
steven

On Fri, May 2, 2014 at 12:50 AM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> That's really cool, and all by itself can serve as a template for other
> PNaCl/Csound/Processing projects.
>
> Could the PNaCl Csound JavaScript class be intergrated in Processing so you
> don't have to edit the exported sketch?
>
> Best,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Thu, May 1, 2014 at 5:28 PM, Steven Yi <stevenyi@gmail.com> wrote:
>>
>> No, PNaCl is only implemented on desktop systems at the moment.
>> Google hasn't announced if/when they'll implement it (as far as I
>> know).
>>
>> Processing.js was really handy. I was able to write the example in the
>> Processing IDE and use the Javascript mode to test.  Afterwards, I
>> took the web-export/index.html and modified it myself to add the
>> csound.js stuff and do the binding code so that the processing sketch
>> could interact with the csound javascript class.  I was pretty
>> impressed with how easy it was to do.  If you want look at the sketch
>> file, you can browse it here:
>>
>>
>> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde
>>
>>
>>
>> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
>> > That's really cool Steven. The possibility of binding this to
>> > Processing is really great. Does PNaCI work on Android browsers too?
>> >
>> > On 1 May 2014 23:11, Steven Yi <stevenyi@gmail.com> wrote:
>> >> Hi All,
>> >>
>> >> Edward Costello and I will be giving a presentation tomorrow (Friday,
>> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
>> >> paper together with Victor Lazzarini and John ffitch and it covers
>> >> both Csound Emscripten and Csound PNaCl.  If you're interested to view
>> >> the presentation, you can find the live streaming video and IRC links
>> >> at:
>> >>
>> >> http://lac.linuxaudio.org/2014/
>> >>
>> >> I thought I'd share one of the examples we'll be showing tomorrow,
>> >> which is a ProcessingJS example connected with Csound PNaCl.  You can
>> >> run it in Chrome using:
>> >>
>> >> http://www.kunstmusik.com/processingjs_example/index.html
>> >>
>> >> For this example, I did not put in a pre-loader for Csound.  The
>> >> example will not make sound until Csound loads (a message will appear
>> >> in the Javascript Console, accessible from the three bar menu in the
>> >> upper right). Or, you can just wait a while too. :)
>> >>
>> >> Thanks!
>> >> steven
>> >>
>> >>
>> >> Send bugs reports to
>> >>         https://github.com/csound/csound/issues
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe csound"
>> >>
>> >>
>> >>
>> >
>> >
>> > Send bugs reports to
>> >         https://github.com/csound/csound/issues
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>> >
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2014-05-02 20:49
FromSteven Yi
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
I agree it would be nice if you didn't need to use a web server, but
the way ProcessingJS is, you need it, otherwise you get:

XMLHttpRequest cannot load
file:///Users/stevenyi/work/csound/processingjs_example/processingjs_example/processingjs_example.pde.
Received an invalid response. Origin 'null' is therefore not allowed
access. index.html:1
Uncaught Processing.js: Unable to load pjs sketch files:
processingjs_example/processingjs_example.pde ==> XMLHttpRequest
failure, possibly due to a same-origin policy violation. You can try
loading this page in another browser, or load it from
htt......s.

Even when writing and testing ProcessingJS from the Processing IDE, it
uses a server internally and loads a webrowser pointing to the server
to load the page. In this case, this was the easiest solution I found.
 Then again, I picked up ProcessingJS for the first time a few days
ago, and only had limited exposure to Processing before that. There
may be a better way that I just don't know about.

On Fri, May 2, 2014 at 6:49 PM, Michael Gogins  wrote:
> Yes, the readme is very helpful.
>
> Another thing that would be very nice is if you didn't need to run the page
> from a web server, even though I know that is very easy. The fact is, in my
> experience, many people are stopped cold by any difficulty at the beginning
> of investigating a new tool. Once they see what it can do, they may become
> motivated to persist through other problems that may develop later. I'm with
> Dr. B on this one.
>
> Best,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Fri, May 2, 2014 at 12:04 PM, Steven Yi  wrote:
>>
>> Hi Michael,
>>
>> I'm not quite sure what you mean. However, you could certainly reuse
>> the page and just swap out the ORC code.  Maybe a more re-usable
>> template can be developed over time?
>>
>> Just FYI: I spent a little time and have put the project online at Github:
>>
>> https://github.com/kunstmusik/processingjs_example/
>>
>> Hopefully the README explains a bit about how it was developed and how
>> it works.
>>
>> Thanks!
>> steven
>>
>> On Fri, May 2, 2014 at 12:50 AM, Michael Gogins
>>  wrote:
>> > That's really cool, and all by itself can serve as a template for other
>> > PNaCl/Csound/Processing projects.
>> >
>> > Could the PNaCl Csound JavaScript class be intergrated in Processing so
>> > you
>> > don't have to edit the exported sketch?
>> >
>> > Best,
>> > Mike
>> >
>> >
>> > -----------------------------------------------------
>> > Michael Gogins
>> > Irreducible Productions
>> > http://michaelgogins.tumblr.com
>> > Michael dot Gogins at gmail dot com
>> >
>> >
>> > On Thu, May 1, 2014 at 5:28 PM, Steven Yi  wrote:
>> >>
>> >> No, PNaCl is only implemented on desktop systems at the moment.
>> >> Google hasn't announced if/when they'll implement it (as far as I
>> >> know).
>> >>
>> >> Processing.js was really handy. I was able to write the example in the
>> >> Processing IDE and use the Javascript mode to test.  Afterwards, I
>> >> took the web-export/index.html and modified it myself to add the
>> >> csound.js stuff and do the binding code so that the processing sketch
>> >> could interact with the csound javascript class.  I was pretty
>> >> impressed with how easy it was to do.  If you want look at the sketch
>> >> file, you can browse it here:
>> >>
>> >>
>> >>
>> >> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde
>> >>
>> >>
>> >>
>> >> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh  wrote:
>> >> > That's really cool Steven. The possibility of binding this to
>> >> > Processing is really great. Does PNaCI work on Android browsers too?
>> >> >
>> >> > On 1 May 2014 23:11, Steven Yi  wrote:
>> >> >> Hi All,
>> >> >>
>> >> >> Edward Costello and I will be giving a presentation tomorrow
>> >> >> (Friday,
>> >> >> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>> >> >> 2:45pm GMT+1 (local German time). We worked on this presentation and
>> >> >> paper together with Victor Lazzarini and John ffitch and it covers
>> >> >> both Csound Emscripten and Csound PNaCl.  If you're interested to
>> >> >> view
>> >> >> the presentation, you can find the live streaming video and IRC
>> >> >> links
>> >> >> at:
>> >> >>
>> >> >> http://lac.linuxaudio.org/2014/
>> >> >>
>> >> >> I thought I'd share one of the examples we'll be showing tomorrow,
>> >> >> which is a ProcessingJS example connected with Csound PNaCl.  You
>> >> >> can
>> >> >> run it in Chrome using:
>> >> >>
>> >> >> http://www.kunstmusik.com/processingjs_example/index.html
>> >> >>
>> >> >> For this example, I did not put in a pre-loader for Csound.  The
>> >> >> example will not make sound until Csound loads (a message will
>> >> >> appear
>> >> >> in the Javascript Console, accessible from the three bar menu in the
>> >> >> upper right). Or, you can just wait a while too. :)
>> >> >>
>> >> >> Thanks!
>> >> >> steven
>> >> >>
>> >> >>
>> >> >> Send bugs reports to
>> >> >>         https://github.com/csound/csound/issues
>> >> >> Discussions of bugs and features can be posted here
>> >> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> >> "unsubscribe csound"
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > Send bugs reports to
>> >> >         https://github.com/csound/csound/issues
>> >> > Discussions of bugs and features can be posted here
>> >> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> > "unsubscribe
>> >> > csound"
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >> Send bugs reports to
>> >>         https://github.com/csound/csound/issues
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >>
>> >
>>
>>
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2014-05-02 21:18
FromVictor Lazzarini
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
Also, the pnacl module can only be served over http, you cannot open it as a file.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 2 May 2014, at 20:49, Steven Yi  wrote:

> I agree it would be nice if you didn't need to use a web server, but
> the way ProcessingJS is, you need it, otherwise you get:
> 
> XMLHttpRequest cannot load
> file:///Users/stevenyi/work/csound/processingjs_example/processingjs_example/processingjs_example.pde.
> Received an invalid response. Origin 'null' is therefore not allowed
> access. index.html:1
> Uncaught Processing.js: Unable to load pjs sketch files:
> processingjs_example/processingjs_example.pde ==> XMLHttpRequest
> failure, possibly due to a same-origin policy violation. You can try
> loading this page in another browser, or load it from
> htt......s.
> 
> Even when writing and testing ProcessingJS from the Processing IDE, it
> uses a server internally and loads a webrowser pointing to the server
> to load the page. In this case, this was the easiest solution I found.
> Then again, I picked up ProcessingJS for the first time a few days
> ago, and only had limited exposure to Processing before that. There
> may be a better way that I just don't know about.
> 
> On Fri, May 2, 2014 at 6:49 PM, Michael Gogins  wrote:
>> Yes, the readme is very helpful.
>> 
>> Another thing that would be very nice is if you didn't need to run the page
>> from a web server, even though I know that is very easy. The fact is, in my
>> experience, many people are stopped cold by any difficulty at the beginning
>> of investigating a new tool. Once they see what it can do, they may become
>> motivated to persist through other problems that may develop later. I'm with
>> Dr. B on this one.
>> 
>> Best,
>> Mike
>> 
>> 
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>> 
>> 
>> On Fri, May 2, 2014 at 12:04 PM, Steven Yi  wrote:
>>> 
>>> Hi Michael,
>>> 
>>> I'm not quite sure what you mean. However, you could certainly reuse
>>> the page and just swap out the ORC code.  Maybe a more re-usable
>>> template can be developed over time?
>>> 
>>> Just FYI: I spent a little time and have put the project online at Github:
>>> 
>>> https://github.com/kunstmusik/processingjs_example/
>>> 
>>> Hopefully the README explains a bit about how it was developed and how
>>> it works.
>>> 
>>> Thanks!
>>> steven
>>> 
>>> On Fri, May 2, 2014 at 12:50 AM, Michael Gogins
>>>  wrote:
>>>> That's really cool, and all by itself can serve as a template for other
>>>> PNaCl/Csound/Processing projects.
>>>> 
>>>> Could the PNaCl Csound JavaScript class be intergrated in Processing so
>>>> you
>>>> don't have to edit the exported sketch?
>>>> 
>>>> Best,
>>>> Mike
>>>> 
>>>> 
>>>> -----------------------------------------------------
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://michaelgogins.tumblr.com
>>>> Michael dot Gogins at gmail dot com
>>>> 
>>>> 
>>>> On Thu, May 1, 2014 at 5:28 PM, Steven Yi  wrote:
>>>>> 
>>>>> No, PNaCl is only implemented on desktop systems at the moment.
>>>>> Google hasn't announced if/when they'll implement it (as far as I
>>>>> know).
>>>>> 
>>>>> Processing.js was really handy. I was able to write the example in the
>>>>> Processing IDE and use the Javascript mode to test.  Afterwards, I
>>>>> took the web-export/index.html and modified it myself to add the
>>>>> csound.js stuff and do the binding code so that the processing sketch
>>>>> could interact with the csound javascript class.  I was pretty
>>>>> impressed with how easy it was to do.  If you want look at the sketch
>>>>> file, you can browse it here:
>>>>> 
>>>>> 
>>>>> 
>>>>> http://kunstmusik.com/processingjs_example/processingjs_example/processingjs_example.pde
>>>>> 
>>>>> 
>>>>> 
>>>>> On Thu, May 1, 2014 at 11:19 PM, Rory Walsh  wrote:
>>>>>> That's really cool Steven. The possibility of binding this to
>>>>>> Processing is really great. Does PNaCI work on Android browsers too?
>>>>>> 
>>>>>> On 1 May 2014 23:11, Steven Yi  wrote:
>>>>>>> Hi All,
>>>>>>> 
>>>>>>> Edward Costello and I will be giving a presentation tomorrow
>>>>>>> (Friday,
>>>>>>> May 2nd) at the Linux Audio Conference called "Csound on the Web" at
>>>>>>> 2:45pm GMT+1 (local German time). We worked on this presentation and
>>>>>>> paper together with Victor Lazzarini and John ffitch and it covers
>>>>>>> both Csound Emscripten and Csound PNaCl.  If you're interested to
>>>>>>> view
>>>>>>> the presentation, you can find the live streaming video and IRC
>>>>>>> links
>>>>>>> at:
>>>>>>> 
>>>>>>> http://lac.linuxaudio.org/2014/
>>>>>>> 
>>>>>>> I thought I'd share one of the examples we'll be showing tomorrow,
>>>>>>> which is a ProcessingJS example connected with Csound PNaCl.  You
>>>>>>> can
>>>>>>> run it in Chrome using:
>>>>>>> 
>>>>>>> http://www.kunstmusik.com/processingjs_example/index.html
>>>>>>> 
>>>>>>> For this example, I did not put in a pre-loader for Csound.  The
>>>>>>> example will not make sound until Csound loads (a message will
>>>>>>> appear
>>>>>>> in the Javascript Console, accessible from the three bar menu in the
>>>>>>> upper right). Or, you can just wait a while too. :)
>>>>>>> 
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>> 
>>>>>>> 
>>>>>>> Send bugs reports to
>>>>>>>        https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe csound"
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Send bugs reports to
>>>>>>        https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> Send bugs reports to
>>>>>        https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>> 
>>> 
>>> 
>> 
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2014-05-03 05:54
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] LAC 2014 Presentation: Csound on the Web
Hope that your presentation was a huge success.
Love the Processing example.  -dB


On Thu, May 1, 2014 at 5:11 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

Edward Costello and I will be giving a presentation tomorrow (Friday,
May 2nd) at the Linux Audio Conference called "Csound on the Web" at
2:45pm GMT+1 (local German time). We worked on this presentation and
paper together with Victor Lazzarini and John ffitch and it covers
both Csound Emscripten and Csound PNaCl.  If you're interested to view
the presentation, you can find the live streaming video and IRC links
at:

http://lac.linuxaudio.org/2014/

I thought I'd share one of the examples we'll be showing tomorrow,
which is a ProcessingJS example connected with Csound PNaCl.  You can
run it in Chrome using:

http://www.kunstmusik.com/processingjs_example/index.html

For this example, I did not put in a pre-loader for Csound.  The
example will not make sound until Csound loads (a message will appear
in the Javascript Console, accessible from the three bar menu in the
upper right). Or, you can just wait a while too. :)

Thanks!
steven


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"