Compare commits
34 Commits
daemon-ser
...
57aed71400
| Author | SHA1 | Date | |
|---|---|---|---|
| 57aed71400 | |||
| adb4dedffa | |||
| 3a4deac12e | |||
| 9fbfad49e7 | |||
| 72d106557b | |||
| 6516bbace7 | |||
| 89fcb769da | |||
| 6409cbf759 | |||
| 421cbf13f5 | |||
| e52bd86dbb | |||
| 9a5c940373 | |||
| fbd4ea9efc | |||
| d5841011ec | |||
| 78765914b3 | |||
| 9a5fae655a | |||
| a0172378bf | |||
| f91504b5d1 | |||
| 80c419fd33 | |||
| 8ad10a44a9 | |||
| 531468dcb4 | |||
| 0893676169 | |||
| 2875a9af90 | |||
| 89908f2353 | |||
| 9a709c82a2 | |||
| f706d28287 | |||
| f183cc5ca5 | |||
| 9339c50ed1 | |||
| 6bb583a379 | |||
| 82208c3a77 | |||
| ec695e35eb | |||
| 00de227b48 | |||
| 120a0700e0 | |||
| 83d63c38b9 | |||
| bdbd3771ce |
83384
Presets/Loria_HSS_Composition.json
Normal file
83384
Presets/Loria_HSS_Composition.json
Normal file
File diff suppressed because it is too large
Load Diff
83384
Presets/MeiyanChenPreset2024-08-21.json
Normal file
83384
Presets/MeiyanChenPreset2024-08-21.json
Normal file
File diff suppressed because it is too large
Load Diff
10
README.md
10
README.md
@@ -5,7 +5,15 @@ The patches require the installation of [drawsocket](https://github.com/drawsock
|
||||
|
||||
<img width="1624" alt="image" src="https://github.com/HfMT-ZM4/healing-soundscapes/assets/17442406/0251cad9-4f36-44f2-9e85-ed5c2500f3e2">
|
||||
|
||||
Instructions:
|
||||
## Installation:
|
||||
Note that this repo served on Gitea must be cloned with SSH rather than HTTPS. The SSH port is 2222
|
||||
|
||||
If you're not sure what this means, but you know how to use Github Desktop, you can follow the tutorial at
|
||||
|
||||
[Teams Tutorial](https://teams.microsoft.com/l/message/19:K8SFmqtgHNmETeFMqunIiUqPx8njA5GmyttI788pXrQ1@thread.tacv2/1722428967353?tenantId=6fe94159-f184-4738-8023-3e026978a06c&groupId=0f95cf31-fcc5-4226-a9bf-d80b1703871e&parentMessageId=1722428967353&teamName=Healing%20Soundscapes&channelName=General&createdTime=1722428967353)
|
||||
|
||||
|
||||
## Instructions:
|
||||
1. When running drawsocket the first time, install resources by clicking on script npm install **drawsocket**
|
||||
2. Start drawsocket server by clicking on **script start**
|
||||
3. Dump html page by clicking on the button in the upper left-hand corner
|
||||
|
||||
24530
Sound Banks/HSS_Samples_25.7.24.json → Sound Banks/HSS_Samples.json
Executable file → Normal file
24530
Sound Banks/HSS_Samples_25.7.24.json → Sound Banks/HSS_Samples.json
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
@@ -55,6 +55,28 @@ function setInstruments()
|
||||
function bang()
|
||||
{
|
||||
|
||||
css = [];
|
||||
elements = [];
|
||||
body = [];
|
||||
svg = [];
|
||||
var html = {
|
||||
"*" : [{
|
||||
"key" : "css",
|
||||
"val" : css
|
||||
},
|
||||
{
|
||||
"key" : "html",
|
||||
"val" : elements
|
||||
},
|
||||
{
|
||||
"key" : "svg",
|
||||
"val" : svg
|
||||
},
|
||||
{
|
||||
"key" : "function",
|
||||
"val" : body
|
||||
}]
|
||||
};
|
||||
css.push({
|
||||
"selector" : ".menu",
|
||||
"props" : {
|
||||
@@ -175,7 +197,7 @@ svg.push({
|
||||
addMenu(-1, "basicDIV", "Piece", "piece", 36, 0, pieces, "wide");
|
||||
addMenu(-1, "basicDIV", "Playing Mode", "mode", 66, 0, modes, "wide");
|
||||
addCheckbox(-1, "basicDIV", "Play", "play", 96, 0, "left");
|
||||
addSlider(-1, "basicDIV", "Tempo", "tempo", 0, [20, 160], 1, 60, "this.value", "this.value");
|
||||
addSlider(-1, "basicDIV", "Tempo", "tempo", 0, [10, 160], 1, 60, "this.value", "this.value");
|
||||
addSlider(-1, "basicDIV", "Duration", "duration", 1, [0, 100], 1, 100, "this.value", "this.value");
|
||||
addSlider(-1, "basicDIV", "Silence", "silence", 2, [0, 100], 1, 100, "this.value", "this.value");
|
||||
|
||||
@@ -183,6 +205,7 @@ svg.push({
|
||||
for (var i = 0; i < 4; i++) {
|
||||
var j = 0;
|
||||
addMenu(i, "player" + i, "Instrument", "instrument", 36, 0, instruments, "narrow");
|
||||
post("instruments", instruments, "\n");
|
||||
addMenu(i, "player" + i, "Scale", "scale", 66, 0, scales, "narrow");
|
||||
addMenu(i, "player" + i, "Meter", "meter", 96, 11, meters, "narrow");
|
||||
addCheckbox(i, "player" + i, "On", "stream", 36, 0, "right");
|
||||
@@ -190,7 +213,7 @@ svg.push({
|
||||
addCheckbox(i, "player" + i, "Overlap", "overlap", 96, 0, "right");
|
||||
addSlider(i, "player" + i, "Outset Pulses", "outset_pulses", j++, [1, 16], 1, 1, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Eventfulness", "eventfulness", j++, [0, 100], 1, 100, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Event Length", "event_length", j++, [5, 100], 1, 100, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Event Length", "event_length", j++, [5, 650], 1, 100, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Metriclarity", "metriclarity", j++, [0, 100], 1, 100, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Harmoniclarity", "harmoniclarity", j++, [0, 100], 1, 50, "this.value", "this.value");
|
||||
addSlider(i, "player" + i, "Chordal Weight", "chordal_weight", j++, [1, 5], 1, 1, "this.value", "this.value");
|
||||
@@ -463,9 +486,15 @@ function addMenu(index, parent, name, id, position, value, array, type)
|
||||
,
|
||||
"oninput" : "drawsocket.send({" + "djster" + ": {player: " + (index + 1) + ", " + id + ": this.value}})"
|
||||
}
|
||||
];
|
||||
];
|
||||
var obj2 = {
|
||||
"id" : id + "_value" + "_" + index,
|
||||
"args" : "v",
|
||||
"body" : "document.getElementById('" + id + "_" + index + "').value = v;document.getElementById('" + id + "_num" + "_" + index + "').value = v"
|
||||
};
|
||||
elements.push(obj[0]);
|
||||
elements.push(obj[1]);
|
||||
body.push(obj2);
|
||||
}
|
||||
|
||||
function addCheckbox(index, parent, name, id, position, checked, type)
|
||||
@@ -473,7 +502,7 @@ function addCheckbox(index, parent, name, id, position, checked, type)
|
||||
var left = (type == "left") ? 10 : 252;
|
||||
var leftoffset = (type == "left") ? 126 : 85;
|
||||
checkboxes[index + 1][id].name = name;
|
||||
checkboxes[index + 1][id].pos = [left + leftoffset, position - 2];
|
||||
checkboxes[index + 1][id].pos = [left + leftoffset - 4, position - 1];
|
||||
checkboxes[index + 1][id].parent = parent;
|
||||
var obj = [{
|
||||
"parent" : parent,
|
||||
@@ -661,12 +690,12 @@ function param()
|
||||
d.name = p[1];
|
||||
var obj = {};
|
||||
var out = new Dict;
|
||||
if (d.contains("player") == 0) return;
|
||||
var keys = d.getkeys();
|
||||
//post(d.stringify(), "\n");
|
||||
var index1 = d.get("player");
|
||||
var msg = keys.indexOf("player") ? keys[0] : keys[1];
|
||||
var val = d.get(msg);
|
||||
//post("what?", JSON.stringify(checkboxes), index1, msg, val, "\n");
|
||||
//post("what?", msg + "_value_" + (index1 - 1), val, "\n");
|
||||
//for range sliders (calc pulse_length, tonic_pitch, pitch_range)
|
||||
switch (msg) {
|
||||
//menus
|
||||
@@ -675,6 +704,7 @@ function param()
|
||||
case "instrument" :
|
||||
case "scale" :
|
||||
case "meter" :
|
||||
/*
|
||||
obj["*"] = {
|
||||
"key" : "html",
|
||||
"val" : {
|
||||
@@ -682,6 +712,14 @@ function param()
|
||||
"selected" : true
|
||||
}
|
||||
};
|
||||
*/
|
||||
obj["*"] = {
|
||||
"key" : "function",
|
||||
"val" : {
|
||||
"id" : msg + "_value_" + (index1 - 1),
|
||||
"call" : val
|
||||
}
|
||||
};
|
||||
break;
|
||||
//checkboxes
|
||||
case "play" :
|
||||
@@ -725,6 +763,7 @@ function param()
|
||||
val = ['C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#', 'A', 'A#', 'B'][val % 12] + (parseInt((val) / 12) - 2);
|
||||
break;
|
||||
}
|
||||
/*
|
||||
obj["*"] = {
|
||||
"key" : "html",
|
||||
"val" : [{
|
||||
@@ -736,6 +775,14 @@ function param()
|
||||
"value" : val
|
||||
}]
|
||||
};
|
||||
*/
|
||||
obj["*"] = {
|
||||
"key" : "function",
|
||||
"val" : {
|
||||
"id" : msg + "_value_" + (index1 - 1),
|
||||
"call" : val
|
||||
}
|
||||
};
|
||||
}
|
||||
out.parse(JSON.stringify(obj));
|
||||
outlet(0, "dictionary", out.name);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -47,16 +47,18 @@ function readPiece(path)
|
||||
jpieces = JSON.parse(outdict.stringify());
|
||||
var keys = outdict.getkeys();
|
||||
for (var i = 0; i < keys.length; i++) outlet(3, keys[i]);
|
||||
outlet(1, outdict.get("DefaultSetting::1::networkData");
|
||||
outlet(1, predict(0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5;
|
||||
outlet(1, outdict.get("DefaultSetting::1::networkData"));
|
||||
outlet(1, "predict", 0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5);
|
||||
}
|
||||
|
||||
function getSection(section)
|
||||
{
|
||||
outlet(1, outdict.get(section + "::1::networkData");
|
||||
outlet(1, predict(0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5;
|
||||
if (outdict.contains(section)) {
|
||||
outlet(1, outdict.get(section + "::1::networkData"));
|
||||
outlet(1, "predict", 0.5, 0.5);
|
||||
outlet(0, 0.5, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
function writePiece()
|
||||
|
||||
53
vbap.mxo/Contents/Info.plist
Normal file
53
vbap.mxo/Contents/Info.plist
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>23C71</string>
|
||||
<key>C74ObjectProperties</key>
|
||||
<dict>
|
||||
<key>c74excludefromcollectives</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>vbap</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>.</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleLongVersionString</key>
|
||||
<string>vbap - </string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>iLaX</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>max2</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
<key>DTCompiler</key>
|
||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||
<key>DTPlatformBuild</key>
|
||||
<string></string>
|
||||
<key>DTPlatformName</key>
|
||||
<string>macosx</string>
|
||||
<key>DTPlatformVersion</key>
|
||||
<string>14.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>23C53</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>macosx14.2</string>
|
||||
<key>DTXcode</key>
|
||||
<string>1520</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>15C500b</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.11</string>
|
||||
<key>LSRequiresCarbon</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
BIN
vbap.mxo/Contents/MacOS/vbap
Executable file
BIN
vbap.mxo/Contents/MacOS/vbap
Executable file
Binary file not shown.
1
vbap.mxo/Contents/PkgInfo
Normal file
1
vbap.mxo/Contents/PkgInfo
Normal file
@@ -0,0 +1 @@
|
||||
iLaX????
|
||||
115
vbap.mxo/Contents/_CodeSignature/CodeResources
Normal file
115
vbap.mxo/Contents/_CodeSignature/CodeResources
Normal file
@@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>files</key>
|
||||
<dict/>
|
||||
<key>files2</key>
|
||||
<dict/>
|
||||
<key>rules</key>
|
||||
<dict>
|
||||
<key>^Resources/</key>
|
||||
<true/>
|
||||
<key>^Resources/.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Resources/Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^version.plist$</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>rules2</key>
|
||||
<dict>
|
||||
<key>.*\.dSYM($|/)</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>11</real>
|
||||
</dict>
|
||||
<key>^(.*/)?\.DS_Store$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>2000</real>
|
||||
</dict>
|
||||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
||||
<dict>
|
||||
<key>nested</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>10</real>
|
||||
</dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^Info\.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^PkgInfo$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^Resources/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^Resources/.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Resources/Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^[^/]+$</key>
|
||||
<dict>
|
||||
<key>nested</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>10</real>
|
||||
</dict>
|
||||
<key>^embedded\.provisionprofile$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^version\.plist$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user