File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ swift build --triple wasm32-unknown-none-wasm -c release --product Plotter
21
21
for n in Bass HiHat Kick Mix; do
22
22
swift build --triple wasm32-unknown-none-wasm -c release --product $n
23
23
24
- cp " ${bin_path} /${n} .wasm" ~ /Desktop
24
+ cp " ${bin_path} /${n} .wasm" $HOME
25
25
done
26
26
27
-
Original file line number Diff line number Diff line change @@ -54,19 +54,21 @@ cd /root/build
54
54
## How to Build and Run
55
55
56
56
Assuming you're within the cloned repository and have the latest development snapshots selected per the instructions
57
- above, first build the package:
57
+ above, build modules from the ` Guest ` package (this will copy ` .wasm ` modules to the home directory of the current user) :
58
58
59
59
``` sh
60
- swift build --triple wasm32-unknown-none-wasm -c release --product swift-audio
60
+ cd Guest ; ./build.sh
61
61
```
62
62
63
- Then start the HTTP server:
63
+
64
+ Then build and start the HTTP server:
64
65
65
66
``` sh
66
- python3 -m http.server
67
+ cd ../ServerHost ; swift run Server
67
68
```
68
69
69
- Open http://localhost:8000 in your browser to see the project running.
70
+ Open http://localhost:8080 in your browser to see the project running. Use the web interface to upload previously built
71
+ ` Guest ` modules from the home directory.
70
72
71
73
## License
72
74
You can’t perform that action at this time.
0 commit comments