Web Audio Patches

We now have the ability to compile patches into Javascript and run them in the browser.

To try it out, check out this PD patch:
http://hoxtonowl.com/patch-library/patch/Arp_with_Delay_and_Envelope/
Click the Test tab and then Start to run the patch; use the knobs to change parameters.

Or for something with an audio input, try:
http://hoxtonowl.com/patch-library/patch/Ping_Pong_Delay/
Select an input then press Start to run the patch.

We’re still working on making sure that all patches in the library compile and run ok, so consider this a preview :slight_smile: and let us know what problems you find!

You can compile your own patches into Javascript too using the online compiler, check the Documentation for instructions.

Great feature!

We’ve got more features on our todo-list than we can handle ourselves right now. If anyone’s up for donating some web development time just let us know!

Am interested, what would you be looking for?

Great! The wishlist includes:

  • waveform visualiser, showing the l/r outputs
  • Web MIDI: a new tab in the patch details that connects to your OWL to send patches and change settings (we’ve already got a proof-of-concept implementation)
  • patch recommendations and comments

Plus a whole lot of fixes and improvements. The issue tracker is here:

Thanks mars, will take a look

Hi,

I would like to compile a patch to JavaScript, but I just find the link to compile to sysex.

How can I compile to JS?

We’ve streamlined the compilation stage so that both SysEx and JS are done with one action, using the Compile link. Details here:
https://hoxtonowl.com/forums/topic/web-midi/

I’ve tried it, but when i click “Compile Patch” I just get the sysex version, no JS.
It is currently a private patch, can this be the reason?

If you click the AUDIO tab, does it not play?

I removed the JS download link in the compact version of the web page as I didn’t think it was useful. It’s a responsive design: if you zoom out you will get both download links appearing in the left hand side box.

You can otherwise copy the sysex link and replace ‘format=sysx’ with ‘format=js’

Edit: I just realised there’s a problem with the deployed code, and the file was not copied over properly. Sorry - fixed now!

Now it’s working perfectly, thank you!

I love the js download feature. Do you mind, if i used js code of a patch of myself on my own website, if i linked back here as well?

Sure, please do. A link back to the original patch page is probably most appropriate.

Thank you! Will do! Should generate some extra interest in the Owl i hope.

Is it up? Can we have a peek?

Not yet. I’ll have to go through embedding the js code first. it’s tricky and i have to work on a composing job for a week before. I’ll let you guys know :slight_smile: