Skip to content

experimental project to play with the WebAudio API

License

Notifications You must be signed in to change notification settings

gregja/algoravix

Repository files navigation

Algoravix

Experimental algorave project to play with the WebAudio API


4 examples of algorave machines, to play and have fun with electronic sounds and rythms.

The exemples are inspired by a more simple algorave machine proposed by Matthew Yee-King (computer scientist, musician and educator) on this excellent course :

https://www.futurelearn.com/courses/electronic-music-tools

Some sounds used here come from this project :

https://github.com/tidalcycles/Dirt-Samples

and others sounds come from my project below :

https://github.com/gregja/sounds4creativeProjects/

Three examples are proposed here with differect possibilities :

  • algorave1.html : the simplest example (closer to the Matthew Yee-King example)
  • algorave2.html : intermediate level
  • algorave3.html : more sounds, with "mute" checkbox for each sound
  • algorave4.html : similar to algorave3, with additional sounds, and a general "mute" checkbox

Just a small explanation about the values :

  • you can use a lot of combinations, like for example : 0,1,0,1 or 1,0,1,0, 0,0,0,1, etc..

With the value "1", the sound is played everytime. With the value "0", the sound isn't played.

  • you can use some decimal values, like for example : 0.1 , 0.5 , 0.05 , etc..

When you use decimal values, the computer calculates a random value between 0 and 1, and if you value is greater or equal to the random value, so the sound is played.

You can mix different sequences with 4, 5, 6 notes, and more, for example : 0, 1, 0, 1, 0, 1 0.5, 0, 0, 1 1, 0, 0.2, 1, 0, .5

You can change sounds, modify the algorithm about random values, or experiment in other directions.

You can test the algorave4 machine online here :

http://ledefrichoir.com/labo/GregsLab/other_projects/algoravix/algorave4.html

Play, modify the code (if you want), and Have fun !!!

This module is powered by the CreativeCodeParis Meetup :

https://www.meetup.com/fr-FR/CreativeCodeParis/

About

experimental project to play with the WebAudio API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published