Sign inSign up

sidec/hvcc-c2js

By sidec

Updated almost 7 years ago

https://github.com/enzienaudio/hvcc.git with emsdk to compile Puredata patches to WebAssembly.

Image
0

1.5K

sidec/hvcc-c2js repository overview

Read about Heavy compiler at https://github.com/enzienaudio/hvcc.git. To use this image to compile your patch, do like so:

docker pull sidec/hvcc-c2js:latest
cd /to/dir/with/patch/you/want/to/compile
docker run -v $(pwd):/opt/hvcc/tmp hvcc -o /opt/hvcc/tmp/NameOfYourPatch -n NameOfYourPatch /opt/hvcc/tmp/NameOfYourPatch.pd

This will generate NameOfYourPatch folder with a number of folders, among them js. You can test your build by running following command and then browsing in Firefox (tested) tohttp://localhost:8080:

cd ./NameOfYourPatch/js
python2.7 -m SimpleHTTPServer -p 8080

Tag summary

Content type

Image

Digest

Size

800.6 MB

Last updated

almost 7 years ago

docker pull sidec/hvcc-c2js