Copyright (c) 2018 Anna Xambó
This code has been presented as a performance piece at the Web Audio Conference 2018 in Berlin. This code builds upon the framework Handwaving by Gerard Roma. Documentation of the performance can be found here: http://annaxambo.me/code/imaginary-berlin/
Before launching the code, make sure to install the node_modules folder:
npm install
Also, make sure to install the following 3rd party JS libraries and store them in the folder js/3rdparty
:
- Flocking.js for generation of sounds.
- ConvNet.js: for training Deep Learning models (Neural Networks) needed to make Handwaving work.
- DSP.js: for signal analysis and generation used by Handwaving.
- jquery.js for enhanced JavaScript code.
- socket.io to enable communication between clients and servers.
Go to the directory and start the server:
node app.js
Or if you want to close the command shell:
nohup ./start.sh
To kill the process, go to Activity Monitor, search for “node” and kill the job.
To start (music background):
Instructions:
To start:
The ISC License: http://opensource.org/licenses/ISC
The sounds used come from FreeSound.org and are published under CC licenses. Here is a full sound credit list. The sounds have been converted to MP3 stereo. The sample rate of sounds has been set to 44.1Hz and the bitrate to 256 kb/s.