Csound Csound-dev Csound-tekno Search About

[Csnd] Csound running on Chrome

Date2013-11-15 12:45
FromVictor Lazzarini
Subject[Csnd] Csound running on Chrome
I’ve been working on port of Csound to run on the Chrome browser, as a pNaCL client/app.
This now is complete, so html5+pNaCL webpages can be designed with it.

I managed to put together an interactive example. Here is a demo:

http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be

The code is in GIT under ./nacl (requires a pnacl build of libsndfile).

Regard

Victor

Date2013-11-15 12:52
Frompeiman khosravi
SubjectRe: [Csnd] Csound running on Chrome
Oh my god, that's amazing. Great for teaching. 



On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I’ve been working on port of Csound to run on the Chrome browser, as a pNaCL client/app.
This now is complete, so html5+pNaCL webpages can be designed with it.

I managed to put together an interactive example. Here is a demo:

http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be

The code is in GIT under ./nacl (requires a pnacl build of libsndfile).

Regard

Victor

Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-15 13:27
Fromandy fillebrown
SubjectRe: [Csnd] Csound running on Chrome
Nice!


On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi <peimankhosravi@gmail.com> wrote:
Oh my god, that's amazing. Great for teaching. 



On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
I’ve been working on port of Csound to run on the Chrome browser, as a pNaCL client/app.
This now is complete, so html5+pNaCL webpages can be designed with it.

I managed to put together an interactive example. Here is a demo:

http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be

The code is in GIT under ./nacl (requires a pnacl build of libsndfile).

Regard

Victor

Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-11-15 14:04
FromOeyvind Brandtsegg
SubjectRe: [Csnd] Csound running on Chrome
Very nice, thanks, it'll be great for the DSP eartraining course!
Oeyvind

2013/11/15 andy fillebrown :
> Nice!
>
>
> On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
> wrote:
>>
>> Oh my god, that's amazing. Great for teaching.
>>
>>
>>
>>
>> www.peimankhosravi.co.uk || RSS Feed || Concert News
>>
>>
>> On 15 November 2013 12:45, Victor Lazzarini 
>> wrote:
>>>
>>> I’ve been working on port of Csound to run on the Chrome browser, as a
>>> pNaCL client/app.
>>> This now is complete, so html5+pNaCL webpages can be designed with it.
>>>
>>> I managed to put together an interactive example. Here is a demo:
>>>
>>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>>>
>>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
>>>
>>> Regard
>>>
>>> Victor
>>>
>>> Send bugs reports to the Sourceforge bug trackers
>>> csound6:
>>>             https://sourceforge.net/p/csound/tickets/
>>> csound5:
>>>             https://sourceforge.net/p/csound/bugs/
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp


Date2013-11-15 14:10
FromMichael Gogins
SubjectRe: [Csnd] Csound running on Chrome
This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
 
 
Regards,
Mike


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


On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
Very nice, thanks, it'll be great for the DSP eartraining course!
Oeyvind

2013/11/15 andy fillebrown <andy.fillebrown@gmail.com>:
> Nice!
>
>
> On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi <peimankhosravi@gmail.com>
> wrote:
>>
>> Oh my god, that's amazing. Great for teaching.
>>
>>
>>
>>
>> www.peimankhosravi.co.uk || RSS Feed || Concert News
>>
>>
>> On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie>
>> wrote:
>>>
>>> I’ve been working on port of Csound to run on the Chrome browser, as a
>>> pNaCL client/app.
>>> This now is complete, so html5+pNaCL webpages can be designed with it.
>>>
>>> I managed to put together an interactive example. Here is a demo:
>>>
>>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>>>
>>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
>>>
>>> Regard
>>>
>>> Victor
>>>
>>> Send bugs reports to the Sourceforge bug trackers
>>> csound6:
>>>             https://sourceforge.net/p/csound/tickets/
>>> csound5:
>>>             https://sourceforge.net/p/csound/bugs/
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>



--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-15 14:26
FromRichard Dobson
SubjectRe: [Csnd] Csound running on Chrome
Congratulations. The word "awesome" is somewhat overused these days, but
this must surely be a case where it is entirely appropriate. Incredible
work; and so quick too - two days? The educational possibilities alone
are vast.

I hope to see an emscripten verison too; the more platforms for Csound
on the net the better!

Richard Dobson



On 15/11/2013 12:45, Victor Lazzarini wrote:
> I’ve been working on port of Csound to run on the Chrome browser, as
> a pNaCL client/app. This now is complete, so html5+pNaCL webpages
> can be designed with it.
>
> I managed to put together an interactive example. Here is a demo:
>
> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>
> The code is in GIT under ./nacl (requires a pnacl build of
> libsndfile).
>



Date2013-11-15 14:29
FromRory Walsh
SubjectRe: [Csnd] Csound running on Chrome
I guess it won't be too long before all the examples in the online
manual can be hacked in place on a browser :)

On 15 November 2013 14:26, Richard Dobson
 wrote:
> Congratulations. The word "awesome" is somewhat overused these days, but
> this must surely be a case where it is entirely appropriate. Incredible
> work; and so quick too - two days? The educational possibilities alone
> are vast.
>
> I hope to see an emscripten verison too; the more platforms for Csound
> on the net the better!
>
> Richard Dobson
>
>
>
>
> On 15/11/2013 12:45, Victor Lazzarini wrote:
>>
>> I’ve been working on port of Csound to run on the Chrome browser, as
>> a pNaCL client/app. This now is complete, so html5+pNaCL webpages
>> can be designed with it.
>>
>> I managed to put together an interactive example. Here is a demo:
>>
>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>>
>> The code is in GIT under ./nacl (requires a pnacl build of
>> libsndfile).
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Date2013-11-15 14:32
FromMichael Gogins
SubjectRe: [Csnd] Csound running on Chrome
Yes, if the resources (samples, analysis files, etc.) the examples need are in the "app."
 
Also, this makes it SO EASY to embed Csound as an audio engine in an online game. It is online gaming that is driving this technology.
 
Regards,
Mike


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


On Fri, Nov 15, 2013 at 9:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
I guess it won't be too long before all the examples in the online
manual can be hacked in place on a browser :)

On 15 November 2013 14:26, Richard Dobson
<richarddobson@blueyonder.co.uk> wrote:
> Congratulations. The word "awesome" is somewhat overused these days, but
> this must surely be a case where it is entirely appropriate. Incredible
> work; and so quick too - two days? The educational possibilities alone
> are vast.
>
> I hope to see an emscripten verison too; the more platforms for Csound
> on the net the better!
>
> Richard Dobson
>
>
>
>
> On 15/11/2013 12:45, Victor Lazzarini wrote:
>>
>> I’ve been working on port of Csound to run on the Chrome browser, as
>> a pNaCL client/app. This now is complete, so html5+pNaCL webpages
>> can be designed with it.
>>
>> I managed to put together an interactive example. Here is a demo:
>>
>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>>
>> The code is in GIT under ./nacl (requires a pnacl build of
>> libsndfile).
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> 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 the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-11-15 14:40
FromVictor Lazzarini
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
a way in. 

Victor
On 15 Nov 2013, at 14:10, Michael Gogins  wrote:

> This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
>  
> This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
>  
> Regards,
> Mike
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> 
> 
> On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg  wrote:
> Very nice, thanks, it'll be great for the DSP eartraining course!
> Oeyvind
> 
> 2013/11/15 andy fillebrown :
> > Nice!
> >
> >
> > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
> > wrote:
> >>
> >> Oh my god, that's amazing. Great for teaching.
> >>
> >>
> >>
> >>
> >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> >>
> >>
> >> On 15 November 2013 12:45, Victor Lazzarini 
> >> wrote:
> >>>
> >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> >>> pNaCL client/app.
> >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> >>>
> >>> I managed to put together an interactive example. Here is a demo:
> >>>
> >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> >>>
> >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> >>>
> >>> Regard
> >>>
> >>> Victor
> >>>
> >>> Send bugs reports to the Sourceforge bug trackers
> >>> csound6:
> >>>             https://sourceforge.net/p/csound/tickets/
> >>> csound5:
> >>>             https://sourceforge.net/p/csound/bugs/
> >>> Discussions of bugs and features can be posted here
> >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >>> csound"
> >>>
> >>>
> >>
> >
> 
> 
> 
> --
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-15 14:48
FromVictor Lazzarini
SubjectRe: [Csnd] Csound running on Chrome
Thanks; I was noting elsewhere that I was impressed how easy it was to use the nacl_sdk, and
that there were only a few steps involved in it, so I guess it really qualifies as a RADE.

Steven has put the first pnacl effort up in his site, so you can try it by yourself. Not 
very exciting, but works. 

http://kunstmusik.com/example/

You will need Chrome 31 (check if pnacl is enable by typing chrome://nacl in the address bar).
It takes a little while to load (depending on your connection) the first time you open the page,
so wait for the status to change to RUNNING, before playing it.

I have tested in on OSX, Windows and Linux (ubuntu).

Regards

Victor
On 15 Nov 2013, at 14:26, Richard Dobson  wrote:

> Congratulations. The word "awesome" is somewhat overused these days, but
> this must surely be a case where it is entirely appropriate. Incredible
> work; and so quick too - two days? The educational possibilities alone
> are vast.
> 
> I hope to see an emscripten verison too; the more platforms for Csound
> on the net the better!
> 
> Richard Dobson
> 
> 
> 
> On 15/11/2013 12:45, Victor Lazzarini wrote:
>> I’ve been working on port of Csound to run on the Chrome browser, as
>> a pNaCL client/app. This now is complete, so html5+pNaCL webpages
>> can be designed with it.
>> 
>> I managed to put together an interactive example. Here is a demo:
>> 
>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>> 
>> The code is in GIT under ./nacl (requires a pnacl build of
>> libsndfile).
>> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>           https://sourceforge.net/p/csound/tickets/
> csound5:
>           https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-11-15 14:52
FromVictor Lazzarini
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
Here’s the page for nacl_mounts

https://developers.google.com/native-client/devguide/coding/naclmounts?hl=en

On 15 Nov 2013, at 14:40, Victor Lazzarini  wrote:

> I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> a way in. 
> 
> Victor
> On 15 Nov 2013, at 14:10, Michael Gogins  wrote:
> 
>> This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
>> 
>> This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
>> 
>> Regards,
>> Mike
>> 
>> 
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>> 
>> 
>> On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg  wrote:
>> Very nice, thanks, it'll be great for the DSP eartraining course!
>> Oeyvind
>> 
>> 2013/11/15 andy fillebrown :
>>> Nice!
>>> 
>>> 
>>> On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
>>> wrote:
>>>> 
>>>> Oh my god, that's amazing. Great for teaching.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> www.peimankhosravi.co.uk || RSS Feed || Concert News
>>>> 
>>>> 
>>>> On 15 November 2013 12:45, Victor Lazzarini 
>>>> wrote:
>>>>> 
>>>>> I’ve been working on port of Csound to run on the Chrome browser, as a
>>>>> pNaCL client/app.
>>>>> This now is complete, so html5+pNaCL webpages can be designed with it.
>>>>> 
>>>>> I managed to put together an interactive example. Here is a demo:
>>>>> 
>>>>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
>>>>> 
>>>>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
>>>>> 
>>>>> Regard
>>>>> 
>>>>> Victor
>>>>> 
>>>>> Send bugs reports to the Sourceforge bug trackers
>>>>> csound6:
>>>>>            https://sourceforge.net/p/csound/tickets/
>>>>> csound5:
>>>>>            https://sourceforge.net/p/csound/bugs/
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>>> csound"
>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>> 
>> 
>> --
>> 
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>> 
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>> 
>> 
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
>> 
>> 
> 
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-15 14:52
FromMichael Gogins
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
AttachmentsNone  None  

Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.

Regards,
Mike

On Nov 15, 2013 9:40 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
a way in.

Victor
On 15 Nov 2013, at 14:10, Michael Gogins <michael.gogins@gmail.com> wrote:

> This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
>
> This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
>
> Regards,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> Very nice, thanks, it'll be great for the DSP eartraining course!
> Oeyvind
>
> 2013/11/15 andy fillebrown <andy.fillebrown@gmail.com>:
> > Nice!
> >
> >
> > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi <peimankhosravi@gmail.com>
> > wrote:
> >>
> >> Oh my god, that's amazing. Great for teaching.
> >>
> >>
> >>
> >>
> >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> >>
> >>
> >> On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie>
> >> wrote:
> >>>
> >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> >>> pNaCL client/app.
> >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> >>>
> >>> I managed to put together an interactive example. Here is a demo:
> >>>
> >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> >>>
> >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> >>>
> >>> Regard
> >>>
> >>> Victor
> >>>
> >>> Send bugs reports to the Sourceforge bug trackers
> >>> csound6:
> >>>             https://sourceforge.net/p/csound/tickets/
> >>> csound5:
> >>>             https://sourceforge.net/p/csound/bugs/
> >>> Discussions of bugs and features can be posted here
> >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> >>> csound"
> >>>
> >>>
> >>
> >
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-11-15 15:02
FromVictor Lazzarini
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
Ok, but the pages you posted seemed to indicate the use of pepper API instead of the usual C stdio.

I am looking here now that actually nacl_mounts has become nacl_io in pepper_31 and provides full C stdio compatibility, so it should
all work OK.

https://developers.google.com/native-client/dev/devguide/coding/nacl_io

Victor
On 15 Nov 2013, at 14:52, Michael Gogins  wrote:

> Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.
> 
> Regards, 
> Mike
> 
> On Nov 15, 2013 9:40 AM, "Victor Lazzarini"  wrote:
> I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> a way in.
> 
> Victor
> On 15 Nov 2013, at 14:10, Michael Gogins  wrote:
> 
> > This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
> >
> > This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
> >
> > Regards,
> > Mike
> >
> >
> > -----------------------------------------------------
> > Michael Gogins
> > Irreducible Productions
> > http://michaelgogins.tumblr.com
> > Michael dot Gogins at gmail dot com
> >
> >
> > On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg  wrote:
> > Very nice, thanks, it'll be great for the DSP eartraining course!
> > Oeyvind
> >
> > 2013/11/15 andy fillebrown :
> > > Nice!
> > >
> > >
> > > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
> > > wrote:
> > >>
> > >> Oh my god, that's amazing. Great for teaching.
> > >>
> > >>
> > >>
> > >>
> > >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> > >>
> > >>
> > >> On 15 November 2013 12:45, Victor Lazzarini 
> > >> wrote:
> > >>>
> > >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> > >>> pNaCL client/app.
> > >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> > >>>
> > >>> I managed to put together an interactive example. Here is a demo:
> > >>>
> > >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> > >>>
> > >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> > >>>
> > >>> Regard
> > >>>
> > >>> Victor
> > >>>
> > >>> Send bugs reports to the Sourceforge bug trackers
> > >>> csound6:
> > >>>             https://sourceforge.net/p/csound/tickets/
> > >>> csound5:
> > >>>             https://sourceforge.net/p/csound/bugs/
> > >>> Discussions of bugs and features can be posted here
> > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > >>> csound"
> > >>>
> > >>>
> > >>
> > >
> >
> >
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://flyndresang.no/
> > http://www.partikkelaudio.com/
> > http://soundcloud.com/brandtsegg
> > http://soundcloud.com/t-emp
> >
> >
> > Send bugs reports to the Sourceforge bug trackers
> > csound6:
> >             https://sourceforge.net/p/csound/tickets/
> > csound5:
> >             https://sourceforge.net/p/csound/bugs/
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> >
> >
> >
> 
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-15 15:24
FromMichael Gogins
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
AttachmentsNone  None  
But that would only be inside the sandbox, no?
 
Regards,
Mike


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


On Fri, Nov 15, 2013 at 10:02 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Ok, but the pages you posted seemed to indicate the use of pepper API instead of the usual C stdio.

I am looking here now that actually nacl_mounts has become nacl_io in pepper_31 and provides full C stdio compatibility, so it should
all work OK.

https://developers.google.com/native-client/dev/devguide/coding/nacl_io

Victor
On 15 Nov 2013, at 14:52, Michael Gogins <michael.gogins@gmail.com> wrote:

> Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.
>
> Regards,
> Mike
>
> On Nov 15, 2013 9:40 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
> I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> a way in.
>
> Victor
> On 15 Nov 2013, at 14:10, Michael Gogins <michael.gogins@gmail.com> wrote:
>
> > This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
> >
> > This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
> >
> > Regards,
> > Mike
> >
> >
> > -----------------------------------------------------
> > Michael Gogins
> > Irreducible Productions
> > http://michaelgogins.tumblr.com
> > Michael dot Gogins at gmail dot com
> >
> >
> > On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > Very nice, thanks, it'll be great for the DSP eartraining course!
> > Oeyvind
> >
> > 2013/11/15 andy fillebrown <andy.fillebrown@gmail.com>:
> > > Nice!
> > >
> > >
> > > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi <peimankhosravi@gmail.com>
> > > wrote:
> > >>
> > >> Oh my god, that's amazing. Great for teaching.
> > >>
> > >>
> > >>
> > >>
> > >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> > >>
> > >>
> > >> On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie>
> > >> wrote:
> > >>>
> > >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> > >>> pNaCL client/app.
> > >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> > >>>
> > >>> I managed to put together an interactive example. Here is a demo:
> > >>>
> > >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> > >>>
> > >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> > >>>
> > >>> Regard
> > >>>
> > >>> Victor
> > >>>
> > >>> Send bugs reports to the Sourceforge bug trackers
> > >>> csound6:
> > >>>             https://sourceforge.net/p/csound/tickets/
> > >>> csound5:
> > >>>             https://sourceforge.net/p/csound/bugs/
> > >>> Discussions of bugs and features can be posted here
> > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > >>> csound"
> > >>>
> > >>>
> > >>
> > >
> >
> >
> >
> > --
> >
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> >
> > http://flyndresang.no/
> > http://www.partikkelaudio.com/
> > http://soundcloud.com/brandtsegg
> > http://soundcloud.com/t-emp
> >
> >
> > Send bugs reports to the Sourceforge bug trackers
> > csound6:
> >             https://sourceforge.net/p/csound/tickets/
> > csound5:
> >             https://sourceforge.net/p/csound/bugs/
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> >
> >
> >
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-11-15 15:43
FromVictor Lazzarini
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
yes, it’s  the html5s filesystem, which the app should mount. I see how I can read from the server, there is no problem
there (it looks). There is also persistent local storage. We just have to find how to access the mounted file system so files can
be copied there.

Victor

On 15 Nov 2013, at 15:24, Michael Gogins  wrote:

> But that would only be inside the sandbox, no?
>  
> Regards,
> Mike
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> 
> 
> On Fri, Nov 15, 2013 at 10:02 AM, Victor Lazzarini  wrote:
> Ok, but the pages you posted seemed to indicate the use of pepper API instead of the usual C stdio.
> 
> I am looking here now that actually nacl_mounts has become nacl_io in pepper_31 and provides full C stdio compatibility, so it should
> all work OK.
> 
> https://developers.google.com/native-client/dev/devguide/coding/nacl_io
> 
> Victor
> On 15 Nov 2013, at 14:52, Michael Gogins  wrote:
> 
> > Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.
> >
> > Regards,
> > Mike
> >
> > On Nov 15, 2013 9:40 AM, "Victor Lazzarini"  wrote:
> > I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> > an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> > allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> > a way in.
> >
> > Victor
> > On 15 Nov 2013, at 14:10, Michael Gogins  wrote:
> >
> > > This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
> > >
> > > This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
> > >
> > > Regards,
> > > Mike
> > >
> > >
> > > -----------------------------------------------------
> > > Michael Gogins
> > > Irreducible Productions
> > > http://michaelgogins.tumblr.com
> > > Michael dot Gogins at gmail dot com
> > >
> > >
> > > On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg  wrote:
> > > Very nice, thanks, it'll be great for the DSP eartraining course!
> > > Oeyvind
> > >
> > > 2013/11/15 andy fillebrown :
> > > > Nice!
> > > >
> > > >
> > > > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
> > > > wrote:
> > > >>
> > > >> Oh my god, that's amazing. Great for teaching.
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > >>
> > > >>
> > > >> On 15 November 2013 12:45, Victor Lazzarini 
> > > >> wrote:
> > > >>>
> > > >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> > > >>> pNaCL client/app.
> > > >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> > > >>>
> > > >>> I managed to put together an interactive example. Here is a demo:
> > > >>>
> > > >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> > > >>>
> > > >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> > > >>>
> > > >>> Regard
> > > >>>
> > > >>> Victor
> > > >>>
> > > >>> Send bugs reports to the Sourceforge bug trackers
> > > >>> csound6:
> > > >>>             https://sourceforge.net/p/csound/tickets/
> > > >>> csound5:
> > > >>>             https://sourceforge.net/p/csound/bugs/
> > > >>> Discussions of bugs and features can be posted here
> > > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > > >>> csound"
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Oeyvind Brandtsegg
> > > Professor of Music Technology
> > > NTNU
> > > 7491 Trondheim
> > > Norway
> > > Cell: +47 92 203 205
> > >
> > > http://flyndresang.no/
> > > http://www.partikkelaudio.com/
> > > http://soundcloud.com/brandtsegg
> > > http://soundcloud.com/t-emp
> > >
> > >
> > > Send bugs reports to the Sourceforge bug trackers
> > > csound6:
> > >             https://sourceforge.net/p/csound/tickets/
> > > csound5:
> > >             https://sourceforge.net/p/csound/bugs/
> > > Discussions of bugs and features can be posted here
> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> > >
> > >
> > >
> >
> >
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-15 16:10
FromMichael Gogins
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
AttachmentsNone  None  
That is exactly what I was talking about.
 
Regards,
Mike


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


On Fri, Nov 15, 2013 at 10:43 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, it’s  the html5s filesystem, which the app should mount. I see how I can read from the server, there is no problem
there (it looks). There is also persistent local storage. We just have to find how to access the mounted file system so files can
be copied there.

Victor

On 15 Nov 2013, at 15:24, Michael Gogins <michael.gogins@gmail.com> wrote:

> But that would only be inside the sandbox, no?
>
> Regards,
> Mike
>
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Fri, Nov 15, 2013 at 10:02 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Ok, but the pages you posted seemed to indicate the use of pepper API instead of the usual C stdio.
>
> I am looking here now that actually nacl_mounts has become nacl_io in pepper_31 and provides full C stdio compatibility, so it should
> all work OK.
>
> https://developers.google.com/native-client/dev/devguide/coding/nacl_io
>
> Victor
> On 15 Nov 2013, at 14:52, Michael Gogins <michael.gogins@gmail.com> wrote:
>
> > Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.
> >
> > Regards,
> > Mike
> >
> > On Nov 15, 2013 9:40 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
> > I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> > an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> > allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> > a way in.
> >
> > Victor
> > On 15 Nov 2013, at 14:10, Michael Gogins <michael.gogins@gmail.com> wrote:
> >
> > > This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
> > >
> > > This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
> > >
> > > Regards,
> > > Mike
> > >
> > >
> > > -----------------------------------------------------
> > > Michael Gogins
> > > Irreducible Productions
> > > http://michaelgogins.tumblr.com
> > > Michael dot Gogins at gmail dot com
> > >
> > >
> > > On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
> > > Very nice, thanks, it'll be great for the DSP eartraining course!
> > > Oeyvind
> > >
> > > 2013/11/15 andy fillebrown <andy.fillebrown@gmail.com>:
> > > > Nice!
> > > >
> > > >
> > > > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi <peimankhosravi@gmail.com>
> > > > wrote:
> > > >>
> > > >> Oh my god, that's amazing. Great for teaching.
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > >>
> > > >>
> > > >> On 15 November 2013 12:45, Victor Lazzarini <Victor.Lazzarini@nuim.ie>
> > > >> wrote:
> > > >>>
> > > >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> > > >>> pNaCL client/app.
> > > >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> > > >>>
> > > >>> I managed to put together an interactive example. Here is a demo:
> > > >>>
> > > >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> > > >>>
> > > >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> > > >>>
> > > >>> Regard
> > > >>>
> > > >>> Victor
> > > >>>
> > > >>> Send bugs reports to the Sourceforge bug trackers
> > > >>> csound6:
> > > >>>             https://sourceforge.net/p/csound/tickets/
> > > >>> csound5:
> > > >>>             https://sourceforge.net/p/csound/bugs/
> > > >>> Discussions of bugs and features can be posted here
> > > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > > >>> csound"
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Oeyvind Brandtsegg
> > > Professor of Music Technology
> > > NTNU
> > > 7491 Trondheim
> > > Norway
> > > Cell: +47 92 203 205
> > >
> > > http://flyndresang.no/
> > > http://www.partikkelaudio.com/
> > > http://soundcloud.com/brandtsegg
> > > http://soundcloud.com/t-emp
> > >
> > >
> > > Send bugs reports to the Sourceforge bug trackers
> > > csound6:
> > >             https://sourceforge.net/p/csound/tickets/
> > > csound5:
> > >             https://sourceforge.net/p/csound/bugs/
> > > Discussions of bugs and features can be posted here
> > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> > >
> > >
> > >
> >
> >
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-11-15 16:35
FromVictor Lazzarini
SubjectRe: [Cs-dev] [Csnd] Csound running on Chrome
yes, but that blog was discussing accessing files through the pepper API, which is not possible/useful with Csound.

Victor
On 15 Nov 2013, at 16:10, Michael Gogins  wrote:

> That is exactly what I was talking about.
>  
> Regards,
> Mike
> 
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
> 
> 
> On Fri, Nov 15, 2013 at 10:43 AM, Victor Lazzarini  wrote:
> yes, it’s  the html5s filesystem, which the app should mount. I see how I can read from the server, there is no problem
> there (it looks). There is also persistent local storage. We just have to find how to access the mounted file system so files can
> be copied there.
> 
> Victor
> 
> On 15 Nov 2013, at 15:24, Michael Gogins  wrote:
> 
> > But that would only be inside the sandbox, no?
> >
> > Regards,
> > Mike
> >
> >
> > -----------------------------------------------------
> > Michael Gogins
> > Irreducible Productions
> > http://michaelgogins.tumblr.com
> > Michael dot Gogins at gmail dot com
> >
> >
> > On Fri, Nov 15, 2013 at 10:02 AM, Victor Lazzarini  wrote:
> > Ok, but the pages you posted seemed to indicate the use of pepper API instead of the usual C stdio.
> >
> > I am looking here now that actually nacl_mounts has become nacl_io in pepper_31 and provides full C stdio compatibility, so it should
> > all work OK.
> >
> > https://developers.google.com/native-client/dev/devguide/coding/nacl_io
> >
> > Victor
> > On 15 Nov 2013, at 14:52, Michael Gogins  wrote:
> >
> > > Actually I wouldn't dream of ditching libsndfile. I was thinking of some simple hack to copy files easily or even automatically to and from the sandbox.
> > >
> > > Regards,
> > > Mike
> > >
> > > On Nov 15, 2013 9:40 AM, "Victor Lazzarini"  wrote:
> > > I don’t think this is useful for Csound, because to use pepper file IO would mean ditching libsndfile and rewrite the whole file IO backend specifically for this, which is
> > > an enormous task. We need to look for options that allow fopen() and fread() to be used. The notes mention  a nacls_mount library that might
> > > allow a filesystem to be mounted and used with fread() etc. (https://developers.google.com/native-client/sdk/release-notes), so that might be
> > > a way in.
> > >
> > > Victor
> > > On 15 Nov 2013, at 14:10, Michael Gogins  wrote:
> > >
> > > > This shows how to write files from the PNaCl sandbox to the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/08/nacl-writing-files-outside-sandbox.html.
> > > >
> > > > This shows how to read files from the local host computer's filesystem: http://mainroach.blogspot.com/2012/08/nacl-writing-files-outside-sandbox.html#!/2012/07/native-client-and-loading-user-chosen.html.
> > > >
> > > > Regards,
> > > > Mike
> > > >
> > > >
> > > > -----------------------------------------------------
> > > > Michael Gogins
> > > > Irreducible Productions
> > > > http://michaelgogins.tumblr.com
> > > > Michael dot Gogins at gmail dot com
> > > >
> > > >
> > > > On Fri, Nov 15, 2013 at 9:04 AM, Oeyvind Brandtsegg  wrote:
> > > > Very nice, thanks, it'll be great for the DSP eartraining course!
> > > > Oeyvind
> > > >
> > > > 2013/11/15 andy fillebrown :
> > > > > Nice!
> > > > >
> > > > >
> > > > > On Fri, Nov 15, 2013 at 7:52 AM, peiman khosravi 
> > > > > wrote:
> > > > >>
> > > > >> Oh my god, that's amazing. Great for teaching.
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >> www.peimankhosravi.co.uk || RSS Feed || Concert News
> > > > >>
> > > > >>
> > > > >> On 15 November 2013 12:45, Victor Lazzarini 
> > > > >> wrote:
> > > > >>>
> > > > >>> I’ve been working on port of Csound to run on the Chrome browser, as a
> > > > >>> pNaCL client/app.
> > > > >>> This now is complete, so html5+pNaCL webpages can be designed with it.
> > > > >>>
> > > > >>> I managed to put together an interactive example. Here is a demo:
> > > > >>>
> > > > >>> http://www.youtube.com/watch?v=RHwpsgprOFE&feature=youtu.be
> > > > >>>
> > > > >>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
> > > > >>>
> > > > >>> Regard
> > > > >>>
> > > > >>> Victor
> > > > >>>
> > > > >>> Send bugs reports to the Sourceforge bug trackers
> > > > >>> csound6:
> > > > >>>             https://sourceforge.net/p/csound/tickets/
> > > > >>> csound5:
> > > > >>>             https://sourceforge.net/p/csound/bugs/
> > > > >>> Discussions of bugs and features can be posted here
> > > > >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > > > >>> csound"
> > > > >>>
> > > > >>>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Oeyvind Brandtsegg
> > > > Professor of Music Technology
> > > > NTNU
> > > > 7491 Trondheim
> > > > Norway
> > > > Cell: +47 92 203 205
> > > >
> > > > http://flyndresang.no/
> > > > http://www.partikkelaudio.com/
> > > > http://soundcloud.com/brandtsegg
> > > > http://soundcloud.com/t-emp
> > > >
> > > >
> > > > Send bugs reports to the Sourceforge bug trackers
> > > > csound6:
> > > >             https://sourceforge.net/p/csound/tickets/
> > > > csound5:
> > > >             https://sourceforge.net/p/csound/bugs/
> > > > Discussions of bugs and features can be posted here
> > > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> > > >
> > > >
> > > >
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > > Free app hosting. Or install the open source package on any LAMP server.
> > > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > > ------------------------------------------------------------------------------
> > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > > Free app hosting. Or install the open source package on any LAMP server.
> > > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-15 16:59
FromRichard Dobson
SubjectRe: [Csnd] Csound running on Chrome
..
>
> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
>

I have discovered that as a complete git newbie I do not understand what 
this means. What git command should I use to download csound with the 
nacl materials?

Richard Dobson


Date2013-11-15 18:06
FromVictor Lazzarini
SubjectRe: [Csnd] Csound running on Chrome
On OSX/linux:

git clone git://git.code.sf.net/p/csound/csound6-git csound-csound6-git

Victor
On 15 Nov 2013, at 16:59, Richard Dobson  wrote:

> ..
>> 
>> The code is in GIT under ./nacl (requires a pnacl build of libsndfile).
>> 
> 
> I have discovered that as a complete git newbie I do not understand what this means. What git command should I use to download csound with the nacl materials?
> 
> Richard Dobson
> 
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>           https://sourceforge.net/p/csound/tickets/
> csound5:
>           https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 



Date2013-11-16 07:50
Fromzappfinger
Subject[Csnd] Re: Csound running on Chrome
Amazing developments here...very nice!

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-running-on-Chrome-tp5729697p5729747.html
Sent from the Csound - General mailing list archive at Nabble.com.