Csound Csound-dev Csound-tekno Search About

emscripten load audio file

Date2016-01-27 17:00
FromTarmo Johannes
Subjectemscripten load audio file

Hi,

 

Sorry, I did not find any note about it - can Csound emscripten load a audio file to play? Should I place it to the same directory as csd?

 

Does Csound Notebook http://csound-notebook.kunstmusik.com/ support uploading audio files? (or loading them from remote url-s)?

 

thanks,

tarmo


Date2016-01-27 18:12
FromRory Walsh
SubjectRe: emscripten load audio file

On 27 January 2016 at 17:00, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:

Hi,

 

Sorry, I did not find any note about it - can Csound emscripten load a audio file to play? Should I place it to the same directory as csd?

 

Does Csound Notebook http://csound-notebook.kunstmusik.com/ support uploading audio files? (or loading them from remote url-s)?

 

thanks,

tarmo

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-01-27 18:28
FromSteven Yi
SubjectRe: emscripten load audio file
I can't speak to the Emscripten implementation and audio files in
general.  However, Csound Notebook does not support audio file uploads
at this time.

On Wed, Jan 27, 2016 at 12:00 PM, Tarmo Johannes
 wrote:
> Hi,
>
>
>
> Sorry, I did not find any note about it - can Csound emscripten load a audio
> file to play? Should I place it to the same directory as csd?
>
>
>
> Does Csound Notebook http://csound-notebook.kunstmusik.com/ support
> uploading audio files? (or loading them from remote url-s)?
>
>
>
> thanks,
>
> tarmo
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-27 19:51
FromTarmo Johannes
SubjectRe: emscripten load audio file

Thanks for the example!

 

Unity does not work In linux Firefox but examining the source code, I see how it is done with

 

fileManger.fileUploadFromServer

 

method in

dl.dropboxusercontent.com/u/11301894/CsoundUnityWeb/javascripts/FileManager.js

 

Hope to try it out later.

 

I know it is somewhat easier with Csound pnacl but now time to learn something about empscripten.

 

tarmo

 

 

On Wednesday 27 January 2016 18:12:45 you wrote:

> It sure can. Check out the source of this page.

>

> https://dl.dropboxusercontent.com/u/11301894/CsoundUnityWeb/WebPlayer.html

>

>

>

> On 27 January 2016 at 17:00, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>

> wrote:

> > Hi,

> >

> >

> >

> > Sorry, I did not find any note about it - can Csound emscripten load a

> > audio file to play? Should I place it to the same directory as csd?

> >

> >

> >

> > Does Csound Notebook http://csound-notebook.kunstmusik.com/ support

> > uploading audio files? (or loading them from remote url-s)?

> >

> >

> >

> > thanks,

> >

> > tarmo

> > Csound mailing list Csound@listserv.heanet.ie

> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to

> > https://github.com/csound/csound/issues Discussions of bugs and features

> > can be posted here

>

> Csound mailing list

> Csound@listserv.heanet.ie

> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND

> Send bugs reports to

> https://github.com/csound/csound/issues

> Discussions of bugs and features can be posted here

 


Date2016-01-27 20:51
FromRory Walsh
SubjectRe: emscripten load audio file

I forgot about the Linux issue but knew you would find the answer based on the code rather than the unity stuff. 

On 27 Jan 2016 19:51, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:

Thanks for the example!

 

Unity does not work In linux Firefox but examining the source code, I see how it is done with

 

fileManger.fileUploadFromServer

 

method in

dl.dropboxusercontent.com/u/11301894/CsoundUnityWeb/javascripts/FileManager.js

 

Hope to try it out later.

 

I know it is somewhat easier with Csound pnacl but now time to learn something about empscripten.

 

tarmo

 

 

On Wednesday 27 January 2016 18:12:45 you wrote:

> It sure can. Check out the source of this page.

>

> https://dl.dropboxusercontent.com/u/11301894/CsoundUnityWeb/WebPlayer.html

>

>

>

> On 27 January 2016 at 17:00, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee>

> wrote:

> > Hi,

> >

> >

> >

> > Sorry, I did not find any note about it - can Csound emscripten load a

> > audio file to play? Should I place it to the same directory as csd?

> >

> >

> >

> > Does Csound Notebook http://csound-notebook.kunstmusik.com/ support

> > uploading audio files? (or loading them from remote url-s)?

> >

> >

> >

> > thanks,

> >

> > tarmo

> > Csound mailing list Csound@listserv.heanet.ie

> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to

> > https://github.com/csound/csound/issues Discussions of bugs and features

> > can be posted here

>

> Csound mailing list

> Csound@listserv.heanet.ie

> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND

> Send bugs reports to

> https://github.com/csound/csound/issues

> Discussions of bugs and features can be posted here

 

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here