-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
38 lines (25 loc) · 1.26 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
README
jsaPhoneControl is an experiment in using smartphones as controllers for jsaSound Models.
DEPENDS ON:
1) node.js, and socket.io.js
2 jsaSounds gitHub project (for 3 directories: jsaCore, jsaModels, jsaOpCodes,
and 1 file: scripts/require.js)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
jsaPhoneControl code should all reside on a server.
run message-router.js on the server
Point your client browser to index.html.
Point your phone browser to control.html
A 9-letter code will show up in your phone window that you can type in to the space provided at SoundManagerControlee.html.
Bob is your uncle.
Currently hardcoded to run at:
http://animatedsoundworks.com/ctlexp/SoundManagerControlee.html
It might be availabe there right now.
If you want to run it on a different server (e.g. locally),
At the top of files
control.html and SoundManagerControlee.html
1) change jsaHost to the name or IP address of the server
2) change the following line to reflect the host IP or name
<script src="http://192.168.1.85:8000/socket.io/socket.io.js"></script>
run: node message-router.js
Open localhost:port/index.html,
point phone browser to [server IP]:port/control.html