Csound Csound-dev Csound-tekno Search About

[Csnd] Some Csound-Web instruments & code share

Date2021-07-23 11:53
FromdocB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Some Csound-Web instruments & code share

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.


this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian







Date2021-07-23 13:06
FromRory Walsh
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Thanks for sharing Christian, these are excellent! 

On Fri, 23 Jul 2021 at 11:54, docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.


this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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

Date2021-07-23 14:59
FromJason Hallen
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Wow, excellent work!  Can't wait to dig into the technologies you're using and look through the code.  Thanks!

Jason

On Fri, Jul 23, 2021 at 7:06 AM Rory Walsh <rorywalsh@ear.ie> wrote:
Thanks for sharing Christian, these are excellent! 

On Fri, 23 Jul 2021 at 11:54, docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.


this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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

Date2021-07-23 20:29
FromdocB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Some Csound-Web instruments & code share

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian







Date2021-07-24 13:39
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Hello docB,

Wonderful work.  Thanks for sharing and making.

On my Intel Mac - running BigSur macOS 11.4, it runs perfectly in Safari (although it says MIDI is not supported)
but it does not run in Chrome (it just says - loading Csound and goes no further)

However, in Chrome   ide.csound.com runs fine.

I will check on other Macs later today.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Fri, Jul 23, 2021 at 3:29 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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

Date2021-07-24 14:12
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Christian,

I am happy to report that they are all running under Chrome on my M1 MacBook Pro (macOS Big Sur 11.4)

How can one automate the waveterrain parameters or control them dynamically? is there a 'key' or 'keycombo'?
- MIDI does not seem to be supported?

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 8:39 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello docB,

Wonderful work.  Thanks for sharing and making.

On my Intel Mac - running BigSur macOS 11.4, it runs perfectly in Safari (although it says MIDI is not supported)
but it does not run in Chrome (it just says - loading Csound and goes no further)

However, in Chrome   ide.csound.com runs fine.

I will check on other Macs later today.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Fri, Jul 23, 2021 at 3:29 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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

Date2021-07-24 14:26
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Running on my iPhone 12 Pro Max iOS 14.7 too!

On Sat, Jul 24, 2021 at 9:12 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Christian,

I am happy to report that they are all running under Chrome on my M1 MacBook Pro (macOS Big Sur 11.4)

How can one automate the waveterrain parameters or control them dynamically? is there a 'key' or 'keycombo'?
- MIDI does not seem to be supported?

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 8:39 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello docB,

Wonderful work.  Thanks for sharing and making.

On my Intel Mac - running BigSur macOS 11.4, it runs perfectly in Safari (although it says MIDI is not supported)
but it does not run in Chrome (it just says - loading Csound and goes no further)

However, in Chrome   ide.csound.com runs fine.

I will check on other Macs later today.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Fri, Jul 23, 2021 at 3:29 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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
--
Dr. Richard Boulanger
Professor of Electronic Production and Design
Berklee College of Music
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

Date2021-07-24 14:48
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Some Csound-Web instruments & code share
The random music and drone machines are awesome.

I think that I understand how to use the terrains now - with the blue dot and mousePad

Wondering about MIDI - will try on one other MacBook for that

Have you considered:
Virtual MIDI keyboard on screen?
MIDI mapping?
slow LFO and slow random control of rx, ry, rot, and param?  (check-box to enable?)

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 9:26 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Running on my iPhone 12 Pro Max iOS 14.7 too!

On Sat, Jul 24, 2021 at 9:12 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Christian,

I am happy to report that they are all running under Chrome on my M1 MacBook Pro (macOS Big Sur 11.4)

How can one automate the waveterrain parameters or control them dynamically? is there a 'key' or 'keycombo'?
- MIDI does not seem to be supported?

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 8:39 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello docB,

Wonderful work.  Thanks for sharing and making.

On my Intel Mac - running BigSur macOS 11.4, it runs perfectly in Safari (although it says MIDI is not supported)
but it does not run in Chrome (it just says - loading Csound and goes no further)

However, in Chrome   ide.csound.com runs fine.

I will check on other Macs later today.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Fri, Jul 23, 2021 at 3:29 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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
--
Dr. Richard Boulanger
Professor of Electronic Production and Design
Berklee College of Music
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

Date2021-07-24 15:31
FromdocB <000005d2745f1ec0-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Some Csound-Web instruments & code share
Attachmentsdndlmjopjhopjmlh.png  

Richard,

thanks for the tests on the macs.

On 7/24/21 3:48 PM, Dr. Richard Boulanger wrote:
The random music and drone machines are awesome.

I think that I understand how to use the terrains now - with the blue dot and mousePad

Wondering about MIDI - will try on one other MacBook for that

you could  look at the browser console - there the found devices are listed like so (screenshot)

note that if no or only busy midi devices  are found then currently the same message "midi not available" is displayed.


Have you considered:
Virtual MIDI keyboard on screen?

yes, i have a component which displays a terpstra keyboard (hexagonal) but not yet integrated.

MIDI mapping?
yes, it is planned to assign midi controller numbers to the parameters.
slow LFO and slow random control of rx, ry, rot, and param?  (check-box to enable?)

yes, planned -- i am still thinking about where to place them -- may be i'll make a tab panel for this.

Regarding mobile: i have still the problem that on a ipad pro 2017 (may be too old ;-)) i encounter audio glitches,

but good to hear it works on newer devices.

- Christian


- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 9:26 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Running on my iPhone 12 Pro Max iOS 14.7 too!

On Sat, Jul 24, 2021 at 9:12 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Christian,

I am happy to report that they are all running under Chrome on my M1 MacBook Pro (macOS Big Sur 11.4)

How can one automate the waveterrain parameters or control them dynamically? is there a 'key' or 'keycombo'?
- MIDI does not seem to be supported?

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Jul 24, 2021 at 8:39 AM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello docB,

Wonderful work.  Thanks for sharing and making.

On my Intel Mac - running BigSur macOS 11.4, it runs perfectly in Safari (although it says MIDI is not supported)
but it does not run in Chrome (it just says - loading Csound and goes no further)

However, in Chrome   ide.csound.com runs fine.

I will check on other Macs later today.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Fri, Jul 23, 2021 at 3:29 PM docB <000005d2745f1ec0-dmarc-request@listserv.heanet.ie> wrote:

thanks!

i have seen the link to the sterrain instrument is missing see below there it is.

hi,

first thanks to the web audio team for this great effort on the webaudio-csound branch.
The following instruments are made with csound.esm.js 6.16.2 and also use plugin opcodes compiled to wasm.
The csound.esm.js is not released yet but seems to work ok -- the web instruments are tested on a linux desktop
with firefox (can be triggered with the computer keyboard) and chrome (can also triggered via midi) and should also work on windows and mac desktop

csound-web on mobile devices seems not to work by now as i encountered audio glitches and timing problems but this was so far also true for ide.csound.com.


https://docb.io/waveterrain

this instrument demonstrates the wterrain2 opcode with visual support and on the fly table definitions.



https://docb.io/superterrain

this instrument demonstrates the sterrain opcode with visual support and on the fly table definitions.
The sterrain opcode is injected as plugin as it was not available in webaudio-csound yet.
This version also has a fix/enhancement with a mode where no period parameter is needed anymore (set period to zero)
--

https://docb.io/geneticterrain

this instrument uses the genetic terrain opcode as plugin with visual support.
It supports terrains build with simplex noise (nr 0), value noise with different distributions like in gendy (nr. 1-6)
terrains build with trigonometric functions (7-27) and some simple non-bandlimited terrains - pulse,saw,triangle (28-33)
New terrains can be build by combining the provided ones.

https://docb.io/geneticsuperterrain

same as geneticterrain but with superformula curves

--

https://docb.io/random-music

this instrument generates "infinity" random-electro using the hvs3 opcode where the cube is filled with random values with selectable distributions and it provides programmable drums.

https://docb.io/random-music/drones

this instrument generates "infinity" random-drones using the hvs3 opcode where the cube is filled with random values with selectable distributions.

--

https://docb.io/randomsplinewaves

A simple instrument using morphed random splines for synthesis (using GEN08 and tabmorpha)

I have packed this instrument in a starter for building new instruments using this technology (gatsby and react-bootstrap).

https://github.com/docb/csound-web-gatsby-react-bootstrap-starter

you may not need to clone the repository but if you have node.js 12+ installed:

npm install -g gatsby-cli
# create a new Gatsby site using the csound-web-gatsby-react-bootstrap-starter starter
gatsby new my_new_csound_web_project https://github.com/docb/csound-web-gatsby-react-bootstrap-starter
cd my_new_csound_web_project
gatsby develop

and the instrument should be running on localhost:8000. See further documentation in the git repository.

Note that this is ongoing work and is only tested on linux.

Best regards,

Christian






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
--
Dr. Richard Boulanger
Professor of Electronic Production and Design
Berklee College of Music
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