Code of the performance Imaginary Berlin (WAC '18)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
public
LICENSE
NOTICE.txt
README.md
app.js
iBerlin-setup-diagram.png
package-lock.json
package.json

README.md

iBerlin

Copyright (c) 2018 Anna Xambó

Introduction

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/

Setup

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.

Application Start

Terminal (server)

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.

Browser Admin

To start (music background):

http://SERVER:4000/master

Browser User (mobile device)

Instructions:

http://SERVER:4000/info

To start:

http://SERVER:4000/start or http://SERVER:4000/

License

The ISC License: http://opensource.org/licenses/ISC

Sound credits

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.