Csound Csound-dev Csound-tekno Search About

[Csnd] Csound WASM fs

Date2022-11-12 19:49
FromVictor Lazzarini
Subject[Csnd] Csound WASM fs
I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried

csd = await fetch("./my.csd")
dat = await csd.arrayBuffer();
await csound.fs.writeFile("my.csd", new Uint8Array(dat));
await csound.compileCsd("my.csd");
await csound.start();

does that look right? The csd is in the same server directory as the html page.

Somehow it seems to get stuck in compileCsd().

Prof. Victor Lazzarini
Maynooth University
Ireland
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

Date2022-11-12 22:10
FromVictor Lazzarini
SubjectRe: [Csnd] Csound WASM fs
That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
Got my MIDI file player working now with Csound WASM, you can check it here

https://vlazzarini.github.io/wasm/midiplayer.html

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 19:49, Victor Lazzarini  wrote:
> 
> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
> 
> csd = await fetch("./my.csd")
> dat = await csd.arrayBuffer();
> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
> await csound.compileCsd("my.csd");
> await csound.start();
> 
> does that look right? The csd is in the same server directory as the html page.
> 
> Somehow it seems to get stuck in compileCsd().
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfa92abe1b3eb4c3f750208dac4e7157f%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038794023185444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XJ%2Fpy6y9qOj0w8de3TmOtlAEc1ZD%2B2iEdJMH6tWJzAw%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Cfa92abe1b3eb4c3f750208dac4e7157f%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038794023185444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yL9LSoNERBwDlQcXLI9w6tqzTc%2FuQov84IKkzXMbyNo%3D&reserved=0
> 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

Date2022-11-12 22:48
FromVictor Lazzarini
SubjectRe: [Csnd] Csound WASM fs
and here’s a short video

https://youtu.be/0TRXOOb3cOI

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 22:10, Victor Lazzarini  wrote:
> 
> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
> Got my MIDI file player working now with Csound WASM, you can check it here
> 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6IVUp6H9%2Bp%2Bx0%2B8sv8ANalPx6hBwE5tZeNOamSmw6sg%3D&reserved=0
> 
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 12 Nov 2022, at 19:49, Victor Lazzarini  wrote:
>> 
>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>> 
>> csd = await fetch("./my.csd")
>> dat = await csd.arrayBuffer();
>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>> await csound.compileCsd("my.csd");
>> await csound.start();
>> 
>> does that look right? The csd is in the same server directory as the html page.
>> 
>> Somehow it seems to get stuck in compileCsd().
>> 
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&reserved=0
>> Discussions of bugs and features can be posted here
> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&reserved=0
> 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

Date2022-11-12 22:56
FromDave Seidel
SubjectRe: [Csnd] Csound WASM fs
Looks like it works very smoothly! But I am only hearing the right channel in the video.

On Sat, Nov 12, 2022 at 5:48 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
and here’s a short video

https://youtu.be/0TRXOOb3cOI

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>
> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
> Got my MIDI file player working now with Csound WASM, you can check it here
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=6IVUp6H9%2Bp%2Bx0%2B8sv8ANalPx6hBwE5tZeNOamSmw6sg%3D&amp;reserved=0
>
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>
>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>
>> csd = await fetch("./my.csd")
>> dat = await csd.arrayBuffer();
>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>> await csound.compileCsd("my.csd");
>> await csound.start();
>>
>> does that look right? The csd is in the same server directory as the html page.
>>
>> Somehow it seems to get stuck in compileCsd().
>>
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
> 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

Date2022-11-12 22:59
FromDave Seidel
SubjectRe: [Csnd] Csound WASM fs
Sorry, I was wrong, but it does seem stronger in the right channel. Same thing with a local file, but less of a difference between the channels.

On Sat, Nov 12, 2022 at 5:56 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Looks like it works very smoothly! But I am only hearing the right channel in the video.

On Sat, Nov 12, 2022 at 5:48 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
and here’s a short video

https://youtu.be/0TRXOOb3cOI

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>
> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
> Got my MIDI file player working now with Csound WASM, you can check it here
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=6IVUp6H9%2Bp%2Bx0%2B8sv8ANalPx6hBwE5tZeNOamSmw6sg%3D&amp;reserved=0
>
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>
>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>
>> csd = await fetch("./my.csd")
>> dat = await csd.arrayBuffer();
>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>> await csound.compileCsd("my.csd");
>> await csound.start();
>>
>> does that look right? The csd is in the same server directory as the html page.
>>
>> Somehow it seems to get stuck in compileCsd().
>>
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
> 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

Date2022-11-12 23:08
Fromjoachim heintz
SubjectRe: [Csnd] Csound WASM fs
amazing --- also the other examples on https://vlazzarini.github.io/wasm/
thanks for sharing!
	j


On 12/11/2022 23:48, Victor Lazzarini wrote:
> and here’s a short video
> 
> https://youtu.be/0TRXOOb3cOI
> 
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
>> On 12 Nov 2022, at 22:10, Victor Lazzarini  wrote:
>>
>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>> Got my MIDI file player working now with Csound WASM, you can check it here
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6IVUp6H9%2Bp%2Bx0%2B8sv8ANalPx6hBwE5tZeNOamSmw6sg%3D&reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>> On 12 Nov 2022, at 19:49, Victor Lazzarini  wrote:
>>>
>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>
>>> csd = await fetch("./my.csd")
>>> dat = await csd.arrayBuffer();
>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>> await csound.compileCsd("my.csd");
>>> await csound.start();
>>>
>>> does that look right? The csd is in the same server directory as the html page.
>>>
>>> Somehow it seems to get stuck in compileCsd().
>>>
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&reserved=0
>> 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

Date2022-11-12 23:40
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
It's whatever panning the soundfonts have got, I guess and probably the midifiles too maybe.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 12 Nov 2022, at 23:01, Dave Seidel <dave.seidel@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Sorry, I was wrong, but it does seem stronger in the right channel. Same thing with a local file, but less of a difference between the channels.

On Sat, Nov 12, 2022 at 5:56 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Looks like it works very smoothly! But I am only hearing the right channel in the video.

On Sat, Nov 12, 2022 at 5:48 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
and here’s a short video

https://youtu.be/0TRXOOb3cOI

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>
> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
> Got my MIDI file player working now with Csound WASM, you can check it here
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=6IVUp6H9%2Bp%2Bx0%2B8sv8ANalPx6hBwE5tZeNOamSmw6sg%3D&amp;reserved=0
>
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>
>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>
>> csd = await fetch("./my.csd")
>> dat = await csd.arrayBuffer();
>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>> await csound.compileCsd("my.csd");
>> await csound.start();
>>
>> does that look right? The csd is in the same server directory as the html page.
>>
>> Somehow it seems to get stuck in compileCsd().
>>
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=k4d4vUSYtrTnqfqIAT1QtB7v%2F4r1Jrx%2BftYbe%2F%2BXAw4%3D&amp;reserved=0
> Send bugs reports to
>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7Ce5f1a42f41754b5f59ae08dac4fabf12%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038878470650261%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=kaPgtLrsJGT%2F0KVE2j%2B7wNJD6HNRzDnrYzkVRNznjpQ%3D&amp;reserved=0
> 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

Date2022-11-12 23:43
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&reserved=0
> thanks for sharing!
>       j
> 
> 
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>> 
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&reserved=0
>> 
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>> 
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini  wrote:
>>> 
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>> 
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&reserved=0
>>> 
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>> 
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini  wrote:
>>>> 
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>> 
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>> 
>>>> does that look right? The csd is in the same server directory as the html page.
>>>> 
>>>> Somehow it seems to get stuck in compileCsd().
>>>> 
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&reserved=0
>>>> Discussions of bugs and features can be posted here
>>> 
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&reserved=0
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&reserved=0
> 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

Date2022-11-13 03:25
FromJosh Moore
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
i have been messing about with this as well i have modified victor's code a great deal actually to get it the way I use it (browser live coding/algorithmic stuff)

i did perhaps find an opcode bug though somewhere in the pitch to midi conversion, it's off by a note if i send (.0, .02, .04, .05, .07, .09, .11) when switching octaves but if i send (60, 62, 64, 65, 67, 69, 71) it works fine 

 

On Sat, Nov 12, 2022 at 3:44 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz <jh@joachimheintz.de> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&amp;reserved=0
> thanks for sharing!
>       j
>
>
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&amp;reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>>
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&amp;reserved=0
>>>
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>>
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>>
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>>
>>>> does that look right? The csd is in the same server directory as the html page.
>>>>
>>>> Somehow it seems to get stuck in compileCsd().
>>>>
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
> 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

Date2022-11-13 03:28
FromJosh Moore
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
wait is there a new release of csound-wasm? i'm still stuck on 6.15? (i think)

On Sat, Nov 12, 2022 at 7:25 PM Josh Moore <kh405.7h30ry@gmail.com> wrote:
i have been messing about with this as well i have modified victor's code a great deal actually to get it the way I use it (browser live coding/algorithmic stuff)

i did perhaps find an opcode bug though somewhere in the pitch to midi conversion, it's off by a note if i send (.0, .02, .04, .05, .07, .09, .11) when switching octaves but if i send (60, 62, 64, 65, 67, 69, 71) it works fine 

 

On Sat, Nov 12, 2022 at 3:44 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz <jh@joachimheintz.de> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&amp;reserved=0
> thanks for sharing!
>       j
>
>
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&amp;reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>>
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&amp;reserved=0
>>>
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>>
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>>
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>>
>>>> does that look right? The csd is in the same server directory as the html page.
>>>>
>>>> Somehow it seems to get stuck in compileCsd().
>>>>
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
> 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

Date2022-11-13 09:29
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
npm install @csound/browser and you get the latest.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Nov 2022, at 03:30, Josh Moore <kh405.7h30ry@gmail.com> wrote:


wait is there a new release of csound-wasm? i'm still stuck on 6.15? (i think)

On Sat, Nov 12, 2022 at 7:25 PM Josh Moore <kh405.7h30ry@gmail.com> wrote:
i have been messing about with this as well i have modified victor's code a great deal actually to get it the way I use it (browser live coding/algorithmic stuff)

i did perhaps find an opcode bug though somewhere in the pitch to midi conversion, it's off by a note if i send (.0, .02, .04, .05, .07, .09, .11) when switching octaves but if i send (60, 62, 64, 65, 67, 69, 71) it works fine 

 

On Sat, Nov 12, 2022 at 3:44 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz <jh@joachimheintz.de> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&amp;reserved=0
> thanks for sharing!
>       j
>
>
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&amp;reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>>
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&amp;reserved=0
>>>
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>>
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>>
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>>
>>>> does that look right? The csd is in the same server directory as the html page.
>>>>
>>>> Somehow it seems to get stuck in compileCsd().
>>>>
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
> 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

Date2022-11-13 09:54
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
maybe you are thinking of a different code, this one from the midiplayer does not do any pitch to midi conversion. It just sends midi messages to an sf instrument. It's an adaptation of the fluidcomplex.csd manual example made to work with sfplay.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Nov 2022, at 03:28, Josh Moore <kh405.7h30ry@gmail.com> wrote:


i have been messing about with this as well i have modified victor's code a great deal actually to get it the way I use it (browser live coding/algorithmic stuff)

i did perhaps find an opcode bug though somewhere in the pitch to midi conversion, it's off by a note if i send (.0, .02, .04, .05, .07, .09, .11) when switching octaves but if i send (60, 62, 64, 65, 67, 69, 71) it works fine 

 

On Sat, Nov 12, 2022 at 3:44 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz <jh@joachimheintz.de> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&amp;reserved=0
> thanks for sharing!
>       j
>
>
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&amp;reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>>
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&amp;reserved=0
>>>
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>>
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>>
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>>
>>>> does that look right? The csd is in the same server directory as the html page.
>>>>
>>>> Somehow it seems to get stuck in compileCsd().
>>>>
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
> 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

Date2022-11-13 16:35
FromJosh Moore
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Csound WASM fs
i am aware, i more or less just used it as an example to learn how sfplay worked since fluid opcodes aren't in wasm... i am actually passing schedule opcodes to it, pulling numbers from an array so p4 could be 60 (+12/-12) or 8.0 (+0.12/-0.12) but you would have to pass the pchtom opcode to it if you are using pch values. i think i have nailed it down to that opcode and not the array because if i put the same array through cpspch and a regular ol oscil it works fine.

On Sun, Nov 13, 2022 at 1:55 AM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
maybe you are thinking of a different code, this one from the midiplayer does not do any pitch to midi conversion. It just sends midi messages to an sf instrument. It's an adaptation of the fluidcomplex.csd manual example made to work with sfplay.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 13 Nov 2022, at 03:28, Josh Moore <kh405.7h30ry@gmail.com> wrote:


i have been messing about with this as well i have modified victor's code a great deal actually to get it the way I use it (browser live coding/algorithmic stuff)

i did perhaps find an opcode bug though somewhere in the pitch to midi conversion, it's off by a note if i send (.0, .02, .04, .05, .07, .09, .11) when switching octaves but if i send (60, 62, 64, 65, 67, 69, 71) it works fine 

 

On Sat, Nov 12, 2022 at 3:44 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
I think that what Steven and Hlodver have done really simplified the process. Converting old examples was not too difficult even when it involved more or less a total rewrite.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 12 Nov 2022, at 23:08, joachim heintz <jh@joachimheintz.de> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> amazing --- also the other examples on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2F&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=KASWoc34GQDymh01F7%2F%2F6MC6FxktXkXsEMkWqn6bTaE%3D&amp;reserved=0
> thanks for sharing!
>       j
>
>
>> On 12/11/2022 23:48, Victor Lazzarini wrote:
>> and here’s a short video
>>
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fyoutu.be%2F0TRXOOb3cOI&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=cmQiswukQi1GTU2QVnyPP%2B3HE5PTGN8zi6kVh%2FEkcGI%3D&amp;reserved=0
>>
>> ========================
>> Prof. Victor Lazzarini
>> Maynooth University
>> Ireland
>>
>>>> On 12 Nov 2022, at 22:10, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>
>>> That’s working fine here now. It’s all a matter of getting all the async stuff lined up properly.
>>> Got my MIDI file player working now with Csound WASM, you can check it here
>>>
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvlazzarini.github.io%2Fwasm%2Fmidiplayer.html&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=A1Pnl0gUIR22EWH4M%2F3S5flcHAts1T5mBe45Zz4gb7k%3D&amp;reserved=0
>>>
>>> ========================
>>> Prof. Victor Lazzarini
>>> Maynooth University
>>> Ireland
>>>
>>>> On 12 Nov 2022, at 19:49, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>>>>
>>>> I was trying to figure out the way to use the fs to copy in a CSD etc, the code I tried
>>>>
>>>> csd = await fetch("./my.csd")
>>>> dat = await csd.arrayBuffer();
>>>> await csound.fs.writeFile("my.csd", new Uint8Array(dat));
>>>> await csound.compileCsd("my.csd");
>>>> await csound.start();
>>>>
>>>> does that look right? The csd is in the same server directory as the html page.
>>>>
>>>> Somehow it seems to get stuck in compileCsd().
>>>>
>>>> Prof. Victor Lazzarini
>>>> Maynooth University
>>>> Ireland
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>>> Send bugs reports to
>>>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>>> Discussions of bugs and features can be posted here
>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
>> Send bugs reports to
>>         https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=PZW0HLVsy6fV3wiR4JYoN7cdGearEauiTqCzifo9pO4%3D&amp;reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=05%7C01%7CVictor.Lazzarini%40mu.ie%7C473169625996475a80ad08dac502dcd2%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C638038913324967238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=QjXlTKIY6fSqZcNf51YZjd2cOhnNh3RZ9MKru0vTdn0%3D&amp;reserved=0
> 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
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