# AudioGuide meets Bach/Max via Javascript

**URL:** <https://discourse.flucoma.org/t/audioguide-meets-bach-max-via-javascript/622>\
**Category:** Code Sharing\
**Created:** [August 3, 2020, 12:40pm UTC](https://discourse.flucoma.org/t/audioguide-meets-bach-max-via-javascript/622 "2020-08-03T12:40:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tremblap](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/tremblap/32/5_2.png) [@tremblap](https://discourse.flucoma.org/u/tremblap)\
**Post date:** [August 3, 2020, 12:40pm UTC](https://discourse.flucoma.org/t/audioguide-meets-bach-max-via-javascript/622/1 "2020-08-03T12:40:25Z")

</div>

Hello

As I said in [my talk](https://www.youtube.com/watch?v=ZOGjCWLy0do), I used (amongst various tools) @b.hackbarth’s [Audioguide](http://www.benhackbarth.com/audioGuide/) in my piece for [Wet Ink](http://www.wetink.org/). I found it powerful and flexible and the queries are fun to explore… but then I wanted to be able to hear it and write it in a score… so I did this little hack to make use of the powerful interactive quantization of Bach.roll. It parses the json score out via a JS little code bit.

This is very much own code, so not commented, nor explained, but it might be a good base for anyone to start poking at this… although I’m told that some more solid things are coming our way 🙂

Enjoy!

ps there are also examples of my searches as variation making…  
[parsing-audioguide.zip](https://discourse.flucoma.org/uploads/short-url/8LxERwmP8zMwgoqJxBMSCAw8AvO.zip) (11.5 KB)
