3 Commits

Author SHA1 Message Date
d1efc39fcc proper initialization of piece and preset via delay system 2024-09-23 16:43:36 +02:00
trian-gles
3a039b30c7 on-off timings 2024-09-18 15:13:58 +02:00
26e036f8f8 auto cycling 2024-09-16 15:55:30 +02:00
28 changed files with 19067 additions and 473087 deletions

2
.gitattributes vendored
View File

@@ -1,2 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "tensorflow-max-mlp"]
path = tensorflow-max-mlp
url = https://github.com/trian-gles/tensorflow-max-mlp

8260
HSSPieces.json Normal file

File diff suppressed because it is too large Load Diff

7182
HSSPiecesNN.json Normal file

File diff suppressed because it is too large Load Diff

49202
HSS_NOT.json

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -28,9 +28,9 @@
"Djster.µbus[0]::attenuation" : [ 50.0 ], "Djster.µbus[0]::attenuation" : [ 50.0 ],
"Djster.µbus[0]::chordal_weight" : [ 1.0 ], "Djster.µbus[0]::chordal_weight" : [ 1.0 ],
"Djster.µbus[0]::dynamics" : [ 64.0 ], "Djster.µbus[0]::dynamics" : [ 64.0 ],
"Djster.µbus[0]::event_length" : [ 20000.0 ], "Djster.µbus[0]::event_length" : [ 3000.000000000000455 ],
"Djster.µbus[0]::event_length_display_style" : [ 0.0 ], "Djster.µbus[0]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[0]::eventfulness" : [ 10.0 ], "Djster.µbus[0]::eventfulness" : [ 15.787401574803217 ],
"Djster.µbus[0]::global_transport_active" : [ 1.0 ], "Djster.µbus[0]::global_transport_active" : [ 1.0 ],
"Djster.µbus[0]::harmoniclarity" : [ 90.0 ], "Djster.µbus[0]::harmoniclarity" : [ 90.0 ],
"Djster.µbus[0]::instance" : [ 1.0 ], "Djster.µbus[0]::instance" : [ 1.0 ],
@@ -4190,9 +4190,9 @@
"Djster.µbus[1]::attenuation" : [ 50.0 ], "Djster.µbus[1]::attenuation" : [ 50.0 ],
"Djster.µbus[1]::chordal_weight" : [ 1.0 ], "Djster.µbus[1]::chordal_weight" : [ 1.0 ],
"Djster.µbus[1]::dynamics" : [ 50.0 ], "Djster.µbus[1]::dynamics" : [ 50.0 ],
"Djster.µbus[1]::event_length" : [ 14999.999999999998181 ], "Djster.µbus[1]::event_length" : [ 6000.000000000000909 ],
"Djster.µbus[1]::event_length_display_style" : [ 0.0 ], "Djster.µbus[1]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[1]::eventfulness" : [ 10.0 ], "Djster.µbus[1]::eventfulness" : [ 15.0 ],
"Djster.µbus[1]::global_transport_active" : [ 1.0 ], "Djster.µbus[1]::global_transport_active" : [ 1.0 ],
"Djster.µbus[1]::harmoniclarity" : [ 82.283464566929126 ], "Djster.µbus[1]::harmoniclarity" : [ 82.283464566929126 ],
"Djster.µbus[1]::instance" : [ 2.0 ], "Djster.µbus[1]::instance" : [ 2.0 ],
@@ -8351,10 +8351,10 @@
"Djster.µbus[1]::presets::file" : [ 0 ], "Djster.µbus[1]::presets::file" : [ 0 ],
"Djster.µbus[2]::attenuation" : [ 50.0 ], "Djster.µbus[2]::attenuation" : [ 50.0 ],
"Djster.µbus[2]::chordal_weight" : [ 1.0 ], "Djster.µbus[2]::chordal_weight" : [ 1.0 ],
"Djster.µbus[2]::dynamics" : [ 64.0 ], "Djster.µbus[2]::dynamics" : [ 78.0 ],
"Djster.µbus[2]::event_length" : [ 9999.999999999990905 ], "Djster.µbus[2]::event_length" : [ 10000.0 ],
"Djster.µbus[2]::event_length_display_style" : [ 0.0 ], "Djster.µbus[2]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[2]::eventfulness" : [ 10.0 ], "Djster.µbus[2]::eventfulness" : [ 15.0 ],
"Djster.µbus[2]::global_transport_active" : [ 1.0 ], "Djster.µbus[2]::global_transport_active" : [ 1.0 ],
"Djster.µbus[2]::harmoniclarity" : [ 80.0 ], "Djster.µbus[2]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[2]::instance" : [ 3.0 ], "Djster.µbus[2]::instance" : [ 3.0 ],
@@ -12514,9 +12514,9 @@
"Djster.µbus[3]::attenuation" : [ 50.0 ], "Djster.µbus[3]::attenuation" : [ 50.0 ],
"Djster.µbus[3]::chordal_weight" : [ 1.0 ], "Djster.µbus[3]::chordal_weight" : [ 1.0 ],
"Djster.µbus[3]::dynamics" : [ 50.0 ], "Djster.µbus[3]::dynamics" : [ 50.0 ],
"Djster.µbus[3]::event_length" : [ 10000.0 ], "Djster.µbus[3]::event_length" : [ 20000.0 ],
"Djster.µbus[3]::event_length_display_style" : [ 0.0 ], "Djster.µbus[3]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[3]::eventfulness" : [ 10.0 ], "Djster.µbus[3]::eventfulness" : [ 15.0 ],
"Djster.µbus[3]::global_transport_active" : [ 1.0 ], "Djster.µbus[3]::global_transport_active" : [ 1.0 ],
"Djster.µbus[3]::harmoniclarity" : [ 90.0 ], "Djster.µbus[3]::harmoniclarity" : [ 90.0 ],
"Djster.µbus[3]::instance" : [ 4.0 ], "Djster.µbus[3]::instance" : [ 4.0 ],
@@ -16705,7 +16705,7 @@
"Djster.µbus[0]::dynamics" : [ 64.0 ], "Djster.µbus[0]::dynamics" : [ 64.0 ],
"Djster.µbus[0]::event_length" : [ 10000.0 ], "Djster.µbus[0]::event_length" : [ 10000.0 ],
"Djster.µbus[0]::event_length_display_style" : [ 0.0 ], "Djster.µbus[0]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[0]::eventfulness" : [ 10.0 ], "Djster.µbus[0]::eventfulness" : [ 15.0 ],
"Djster.µbus[0]::global_transport_active" : [ 1.0 ], "Djster.µbus[0]::global_transport_active" : [ 1.0 ],
"Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ], "Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ],
"Djster.µbus[0]::instance" : [ 1.0 ], "Djster.µbus[0]::instance" : [ 1.0 ],
@@ -20864,10 +20864,10 @@
"Djster.µbus[0]::presets::file" : [ 0 ], "Djster.µbus[0]::presets::file" : [ 0 ],
"Djster.µbus[1]::attenuation" : [ 50.0 ], "Djster.µbus[1]::attenuation" : [ 50.0 ],
"Djster.µbus[1]::chordal_weight" : [ 1.0 ], "Djster.µbus[1]::chordal_weight" : [ 1.0 ],
"Djster.µbus[1]::dynamics" : [ 60.0 ], "Djster.µbus[1]::dynamics" : [ 40.0 ],
"Djster.µbus[1]::event_length" : [ 10000.0 ], "Djster.µbus[1]::event_length" : [ 10000.0 ],
"Djster.µbus[1]::event_length_display_style" : [ 0.0 ], "Djster.µbus[1]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[1]::eventfulness" : [ 10.0 ], "Djster.µbus[1]::eventfulness" : [ 15.0 ],
"Djster.µbus[1]::global_transport_active" : [ 1.0 ], "Djster.µbus[1]::global_transport_active" : [ 1.0 ],
"Djster.µbus[1]::harmoniclarity" : [ 50.0 ], "Djster.µbus[1]::harmoniclarity" : [ 50.0 ],
"Djster.µbus[1]::instance" : [ 2.0 ], "Djster.µbus[1]::instance" : [ 2.0 ],
@@ -20882,10 +20882,10 @@
"Djster.µbus[1]::ostinato-buffer" : [ 0.0 ], "Djster.µbus[1]::ostinato-buffer" : [ 0.0 ],
"Djster.µbus[1]::outset_pulses" : [ 1.0 ], "Djster.µbus[1]::outset_pulses" : [ 1.0 ],
"Djster.µbus[1]::overlap" : [ 1.0 ], "Djster.µbus[1]::overlap" : [ 1.0 ],
"Djster.µbus[1]::pitch_center" : [ 60.0 ], "Djster.µbus[1]::pitch_center" : [ 72.0 ],
"Djster.µbus[1]::pitch_range" : [ 7.000000000000002 ], "Djster.µbus[1]::pitch_range" : [ 7.000000000000002 ],
"Djster.µbus[1]::precision" : [ 1.0 ], "Djster.µbus[1]::precision" : [ 1.0 ],
"Djster.µbus[1]::pulse_length" : [ 999.999999999999659 ], "Djster.µbus[1]::pulse_length" : [ 333.333333333333314 ],
"Djster.µbus[1]::scale" : [ "Major Pentatonic" ], "Djster.µbus[1]::scale" : [ "Major Pentatonic" ],
"Djster.µbus[1]::scales" : [ { "Djster.µbus[1]::scales" : [ {
"Major" : { "Major" : {
@@ -25015,21 +25015,21 @@
"Djster.µbus[1]::silent_downbeat" : [ 0.0 ], "Djster.µbus[1]::silent_downbeat" : [ 0.0 ],
"Djster.µbus[1]::sorted" : [ 1.0 ], "Djster.µbus[1]::sorted" : [ 1.0 ],
"Djster.µbus[1]::stream" : [ 1.0 ], "Djster.µbus[1]::stream" : [ 1.0 ],
"Djster.µbus[1]::subdivision" : [ "3" ], "Djster.µbus[1]::subdivision" : [ "3 3" ],
"Djster.µbus[1]::tempo" : [ 20.0 ], "Djster.µbus[1]::tempo" : [ 20.0 ],
"Djster.µbus[1]::timesig_denominator" : [ "4" ], "Djster.µbus[1]::timesig_denominator" : [ "4" ],
"Djster.µbus[1]::timesig_numerator" : [ 4 ], "Djster.µbus[1]::timesig_numerator" : [ 4 ],
"Djster.µbus[1]::tonic_pitch" : [ 60.0 ], "Djster.µbus[1]::tonic_pitch" : [ 72.0 ],
"Djster.µbus[1]::use_transport" : [ 1.0 ], "Djster.µbus[1]::use_transport" : [ 1.0 ],
"Djster.µbus[1]::µbus" : [ -1 ], "Djster.µbus[1]::µbus" : [ -1 ],
"Djster.µbus[1]::meter" : [ "3" ], "Djster.µbus[1]::meter" : [ "3 3" ],
"Djster.µbus[1]::presets::file" : [ 0 ], "Djster.µbus[1]::presets::file" : [ 0 ],
"Djster.µbus[2]::attenuation" : [ 50.0 ], "Djster.µbus[2]::attenuation" : [ 50.0 ],
"Djster.µbus[2]::chordal_weight" : [ 1.0 ], "Djster.µbus[2]::chordal_weight" : [ 1.0 ],
"Djster.µbus[2]::dynamics" : [ 60.0 ], "Djster.µbus[2]::dynamics" : [ 60.0 ],
"Djster.µbus[2]::event_length" : [ 10000.0 ], "Djster.µbus[2]::event_length" : [ 10000.0 ],
"Djster.µbus[2]::event_length_display_style" : [ 0.0 ], "Djster.µbus[2]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[2]::eventfulness" : [ 10.0 ], "Djster.µbus[2]::eventfulness" : [ 15.0 ],
"Djster.µbus[2]::global_transport_active" : [ 1.0 ], "Djster.µbus[2]::global_transport_active" : [ 1.0 ],
"Djster.µbus[2]::harmoniclarity" : [ 80.0 ], "Djster.µbus[2]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[2]::instance" : [ 3.0 ], "Djster.µbus[2]::instance" : [ 3.0 ],
@@ -25047,7 +25047,7 @@
"Djster.µbus[2]::pitch_center" : [ 60.0 ], "Djster.µbus[2]::pitch_center" : [ 60.0 ],
"Djster.µbus[2]::pitch_range" : [ 12.000000000000004 ], "Djster.µbus[2]::pitch_range" : [ 12.000000000000004 ],
"Djster.µbus[2]::precision" : [ 1.0 ], "Djster.µbus[2]::precision" : [ 1.0 ],
"Djster.µbus[2]::pulse_length" : [ 1500.0 ], "Djster.µbus[2]::pulse_length" : [ 749.999999999999773 ],
"Djster.µbus[2]::scale" : [ "Major Pentatonic" ], "Djster.µbus[2]::scale" : [ "Major Pentatonic" ],
"Djster.µbus[2]::scales" : [ { "Djster.µbus[2]::scales" : [ {
"Major" : { "Major" : {
@@ -29177,21 +29177,21 @@
"Djster.µbus[2]::silent_downbeat" : [ 0.0 ], "Djster.µbus[2]::silent_downbeat" : [ 0.0 ],
"Djster.µbus[2]::sorted" : [ 1.0 ], "Djster.µbus[2]::sorted" : [ 1.0 ],
"Djster.µbus[2]::stream" : [ 1.0 ], "Djster.µbus[2]::stream" : [ 1.0 ],
"Djster.µbus[2]::subdivision" : [ "2" ], "Djster.µbus[2]::subdivision" : [ "2 2" ],
"Djster.µbus[2]::tempo" : [ 20.0 ], "Djster.µbus[2]::tempo" : [ 20.0 ],
"Djster.µbus[2]::timesig_denominator" : [ "4" ], "Djster.µbus[2]::timesig_denominator" : [ "4" ],
"Djster.µbus[2]::timesig_numerator" : [ 4 ], "Djster.µbus[2]::timesig_numerator" : [ 4 ],
"Djster.µbus[2]::tonic_pitch" : [ 60.0 ], "Djster.µbus[2]::tonic_pitch" : [ 60.0 ],
"Djster.µbus[2]::use_transport" : [ 1.0 ], "Djster.µbus[2]::use_transport" : [ 1.0 ],
"Djster.µbus[2]::µbus" : [ -1 ], "Djster.µbus[2]::µbus" : [ -1 ],
"Djster.µbus[2]::meter" : [ "2" ], "Djster.µbus[2]::meter" : [ "2 2" ],
"Djster.µbus[2]::presets::file" : [ 0 ], "Djster.µbus[2]::presets::file" : [ 0 ],
"Djster.µbus[3]::attenuation" : [ 50.0 ], "Djster.µbus[3]::attenuation" : [ 50.0 ],
"Djster.µbus[3]::chordal_weight" : [ 1.0 ], "Djster.µbus[3]::chordal_weight" : [ 1.0 ],
"Djster.µbus[3]::dynamics" : [ 60.0 ], "Djster.µbus[3]::dynamics" : [ 50.0 ],
"Djster.µbus[3]::event_length" : [ 10000.0 ], "Djster.µbus[3]::event_length" : [ 10000.0 ],
"Djster.µbus[3]::event_length_display_style" : [ 0.0 ], "Djster.µbus[3]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[3]::eventfulness" : [ 5.0 ], "Djster.µbus[3]::eventfulness" : [ 15.0 ],
"Djster.µbus[3]::global_transport_active" : [ 1.0 ], "Djster.µbus[3]::global_transport_active" : [ 1.0 ],
"Djster.µbus[3]::harmoniclarity" : [ 80.0 ], "Djster.µbus[3]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[3]::instance" : [ 4.0 ], "Djster.µbus[3]::instance" : [ 4.0 ],
@@ -29209,7 +29209,7 @@
"Djster.µbus[3]::pitch_center" : [ 48.0 ], "Djster.µbus[3]::pitch_center" : [ 48.0 ],
"Djster.µbus[3]::pitch_range" : [ 12.000000000000004 ], "Djster.µbus[3]::pitch_range" : [ 12.000000000000004 ],
"Djster.µbus[3]::precision" : [ 1.0 ], "Djster.µbus[3]::precision" : [ 1.0 ],
"Djster.µbus[3]::pulse_length" : [ 749.999999999999773 ], "Djster.µbus[3]::pulse_length" : [ 500.000000000000341 ],
"Djster.µbus[3]::scale" : [ "Major Pentatonic" ], "Djster.µbus[3]::scale" : [ "Major Pentatonic" ],
"Djster.µbus[3]::scales" : [ { "Djster.µbus[3]::scales" : [ {
"Major" : { "Major" : {
@@ -33339,14 +33339,14 @@
"Djster.µbus[3]::silent_downbeat" : [ 0.0 ], "Djster.µbus[3]::silent_downbeat" : [ 0.0 ],
"Djster.µbus[3]::sorted" : [ 1.0 ], "Djster.µbus[3]::sorted" : [ 1.0 ],
"Djster.µbus[3]::stream" : [ 1.0 ], "Djster.µbus[3]::stream" : [ 1.0 ],
"Djster.µbus[3]::subdivision" : [ "2 2" ], "Djster.µbus[3]::subdivision" : [ "2 3" ],
"Djster.µbus[3]::tempo" : [ 20.0 ], "Djster.µbus[3]::tempo" : [ 20.0 ],
"Djster.µbus[3]::timesig_denominator" : [ "4" ], "Djster.µbus[3]::timesig_denominator" : [ "4" ],
"Djster.µbus[3]::timesig_numerator" : [ 4 ], "Djster.µbus[3]::timesig_numerator" : [ 4 ],
"Djster.µbus[3]::tonic_pitch" : [ 48.0 ], "Djster.µbus[3]::tonic_pitch" : [ 48.0 ],
"Djster.µbus[3]::use_transport" : [ 1.0 ], "Djster.µbus[3]::use_transport" : [ 1.0 ],
"Djster.µbus[3]::µbus" : [ -1 ], "Djster.µbus[3]::µbus" : [ -1 ],
"Djster.µbus[3]::meter" : [ "2 2" ], "Djster.µbus[3]::meter" : [ "2 3" ],
"Djster.µbus[3]::presets::file" : [ 0 ] "Djster.µbus[3]::presets::file" : [ 0 ]
} }
@@ -33380,7 +33380,7 @@
"Djster.µbus[0]::dynamics" : [ 64.0 ], "Djster.µbus[0]::dynamics" : [ 64.0 ],
"Djster.µbus[0]::event_length" : [ 10000.0 ], "Djster.µbus[0]::event_length" : [ 10000.0 ],
"Djster.µbus[0]::event_length_display_style" : [ 0.0 ], "Djster.µbus[0]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[0]::eventfulness" : [ 15.0 ], "Djster.µbus[0]::eventfulness" : [ 10.0 ],
"Djster.µbus[0]::global_transport_active" : [ 1.0 ], "Djster.µbus[0]::global_transport_active" : [ 1.0 ],
"Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ], "Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ],
"Djster.µbus[0]::instance" : [ 1.0 ], "Djster.µbus[0]::instance" : [ 1.0 ],
@@ -37539,10 +37539,10 @@
"Djster.µbus[0]::presets::file" : [ 0 ], "Djster.µbus[0]::presets::file" : [ 0 ],
"Djster.µbus[1]::attenuation" : [ 50.0 ], "Djster.µbus[1]::attenuation" : [ 50.0 ],
"Djster.µbus[1]::chordal_weight" : [ 1.0 ], "Djster.µbus[1]::chordal_weight" : [ 1.0 ],
"Djster.µbus[1]::dynamics" : [ 48.0 ], "Djster.µbus[1]::dynamics" : [ 60.0 ],
"Djster.µbus[1]::event_length" : [ 10000.0 ], "Djster.µbus[1]::event_length" : [ 10000.0 ],
"Djster.µbus[1]::event_length_display_style" : [ 0.0 ], "Djster.µbus[1]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[1]::eventfulness" : [ 5.0 ], "Djster.µbus[1]::eventfulness" : [ 15.0 ],
"Djster.µbus[1]::global_transport_active" : [ 1.0 ], "Djster.µbus[1]::global_transport_active" : [ 1.0 ],
"Djster.µbus[1]::harmoniclarity" : [ 80.0 ], "Djster.µbus[1]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[1]::instance" : [ 2.0 ], "Djster.µbus[1]::instance" : [ 2.0 ],
@@ -41704,7 +41704,7 @@
"Djster.µbus[2]::dynamics" : [ 60.0 ], "Djster.µbus[2]::dynamics" : [ 60.0 ],
"Djster.µbus[2]::event_length" : [ 10000.0 ], "Djster.µbus[2]::event_length" : [ 10000.0 ],
"Djster.µbus[2]::event_length_display_style" : [ 0.0 ], "Djster.µbus[2]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[2]::eventfulness" : [ 15.0 ], "Djster.µbus[2]::eventfulness" : [ 10.0 ],
"Djster.µbus[2]::global_transport_active" : [ 1.0 ], "Djster.µbus[2]::global_transport_active" : [ 1.0 ],
"Djster.µbus[2]::harmoniclarity" : [ 80.0 ], "Djster.µbus[2]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[2]::instance" : [ 3.0 ], "Djster.µbus[2]::instance" : [ 3.0 ],
@@ -45866,7 +45866,7 @@
"Djster.µbus[3]::dynamics" : [ 60.0 ], "Djster.µbus[3]::dynamics" : [ 60.0 ],
"Djster.µbus[3]::event_length" : [ 10000.0 ], "Djster.µbus[3]::event_length" : [ 10000.0 ],
"Djster.µbus[3]::event_length_display_style" : [ 0.0 ], "Djster.µbus[3]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[3]::eventfulness" : [ 5.0 ], "Djster.µbus[3]::eventfulness" : [ 10.0 ],
"Djster.µbus[3]::global_transport_active" : [ 1.0 ], "Djster.µbus[3]::global_transport_active" : [ 1.0 ],
"Djster.µbus[3]::harmoniclarity" : [ 80.0 ], "Djster.µbus[3]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[3]::instance" : [ 4.0 ], "Djster.µbus[3]::instance" : [ 4.0 ],
@@ -54217,9 +54217,9 @@
"Djster.µbus[1]::dynamics" : [ 60.0 ], "Djster.µbus[1]::dynamics" : [ 60.0 ],
"Djster.µbus[1]::event_length" : [ 10000.0 ], "Djster.µbus[1]::event_length" : [ 10000.0 ],
"Djster.µbus[1]::event_length_display_style" : [ 0.0 ], "Djster.µbus[1]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[1]::eventfulness" : [ 5.0 ], "Djster.µbus[1]::eventfulness" : [ 10.0 ],
"Djster.µbus[1]::global_transport_active" : [ 1.0 ], "Djster.µbus[1]::global_transport_active" : [ 1.0 ],
"Djster.µbus[1]::harmoniclarity" : [ 70.0 ], "Djster.µbus[1]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[1]::instance" : [ 2.0 ], "Djster.µbus[1]::instance" : [ 2.0 ],
"Djster.µbus[1]::melodic_cohesion" : [ 50.0 ], "Djster.µbus[1]::melodic_cohesion" : [ 50.0 ],
"Djster.µbus[1]::melody_scope" : [ 7.000000000000002 ], "Djster.µbus[1]::melody_scope" : [ 7.000000000000002 ],
@@ -54232,10 +54232,10 @@
"Djster.µbus[1]::ostinato-buffer" : [ 0.0 ], "Djster.µbus[1]::ostinato-buffer" : [ 0.0 ],
"Djster.µbus[1]::outset_pulses" : [ 1.0 ], "Djster.µbus[1]::outset_pulses" : [ 1.0 ],
"Djster.µbus[1]::overlap" : [ 1.0 ], "Djster.µbus[1]::overlap" : [ 1.0 ],
"Djster.µbus[1]::pitch_center" : [ 60.0 ], "Djster.µbus[1]::pitch_center" : [ 48.0 ],
"Djster.µbus[1]::pitch_range" : [ 7.000000000000002 ], "Djster.µbus[1]::pitch_range" : [ 7.000000000000002 ],
"Djster.µbus[1]::precision" : [ 1.0 ], "Djster.µbus[1]::precision" : [ 1.0 ],
"Djster.µbus[1]::pulse_length" : [ 749.999999999999773 ], "Djster.µbus[1]::pulse_length" : [ 500.000000000000341 ],
"Djster.µbus[1]::scale" : [ "Major Pentatonic" ], "Djster.µbus[1]::scale" : [ "Major Pentatonic" ],
"Djster.µbus[1]::scales" : [ { "Djster.µbus[1]::scales" : [ {
"Major" : { "Major" : {
@@ -58365,21 +58365,21 @@
"Djster.µbus[1]::silent_downbeat" : [ 0.0 ], "Djster.µbus[1]::silent_downbeat" : [ 0.0 ],
"Djster.µbus[1]::sorted" : [ 1.0 ], "Djster.µbus[1]::sorted" : [ 1.0 ],
"Djster.µbus[1]::stream" : [ 1.0 ], "Djster.µbus[1]::stream" : [ 1.0 ],
"Djster.µbus[1]::subdivision" : [ "2 2" ], "Djster.µbus[1]::subdivision" : [ "2 3" ],
"Djster.µbus[1]::tempo" : [ 20.0 ], "Djster.µbus[1]::tempo" : [ 20.0 ],
"Djster.µbus[1]::timesig_denominator" : [ "4" ], "Djster.µbus[1]::timesig_denominator" : [ "4" ],
"Djster.µbus[1]::timesig_numerator" : [ 4 ], "Djster.µbus[1]::timesig_numerator" : [ 4 ],
"Djster.µbus[1]::tonic_pitch" : [ 60.0 ], "Djster.µbus[1]::tonic_pitch" : [ 48.0 ],
"Djster.µbus[1]::use_transport" : [ 1.0 ], "Djster.µbus[1]::use_transport" : [ 1.0 ],
"Djster.µbus[1]::µbus" : [ -1 ], "Djster.µbus[1]::µbus" : [ -1 ],
"Djster.µbus[1]::meter" : [ "2 2" ], "Djster.µbus[1]::meter" : [ "2 3" ],
"Djster.µbus[1]::presets::file" : [ 0 ], "Djster.µbus[1]::presets::file" : [ 0 ],
"Djster.µbus[2]::attenuation" : [ 50.0 ], "Djster.µbus[2]::attenuation" : [ 50.0 ],
"Djster.µbus[2]::chordal_weight" : [ 1.0 ], "Djster.µbus[2]::chordal_weight" : [ 1.0 ],
"Djster.µbus[2]::dynamics" : [ 60.0 ], "Djster.µbus[2]::dynamics" : [ 60.0 ],
"Djster.µbus[2]::event_length" : [ 10000.0 ], "Djster.µbus[2]::event_length" : [ 10000.0 ],
"Djster.µbus[2]::event_length_display_style" : [ 0.0 ], "Djster.µbus[2]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[2]::eventfulness" : [ 5.0 ], "Djster.µbus[2]::eventfulness" : [ 10.0 ],
"Djster.µbus[2]::global_transport_active" : [ 1.0 ], "Djster.µbus[2]::global_transport_active" : [ 1.0 ],
"Djster.µbus[2]::harmoniclarity" : [ 80.0 ], "Djster.µbus[2]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[2]::instance" : [ 3.0 ], "Djster.µbus[2]::instance" : [ 3.0 ],
@@ -66730,7 +66730,7 @@
"Djster.µbus[0]::dynamics" : [ 64.0 ], "Djster.µbus[0]::dynamics" : [ 64.0 ],
"Djster.µbus[0]::event_length" : [ 10000.0 ], "Djster.µbus[0]::event_length" : [ 10000.0 ],
"Djster.µbus[0]::event_length_display_style" : [ 0.0 ], "Djster.µbus[0]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[0]::eventfulness" : [ 10.0 ], "Djster.µbus[0]::eventfulness" : [ 15.0 ],
"Djster.µbus[0]::global_transport_active" : [ 1.0 ], "Djster.µbus[0]::global_transport_active" : [ 1.0 ],
"Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ], "Djster.µbus[0]::harmoniclarity" : [ 80.708661417322787 ],
"Djster.µbus[0]::instance" : [ 1.0 ], "Djster.µbus[0]::instance" : [ 1.0 ],
@@ -70892,7 +70892,7 @@
"Djster.µbus[1]::dynamics" : [ 40.0 ], "Djster.µbus[1]::dynamics" : [ 40.0 ],
"Djster.µbus[1]::event_length" : [ 10000.0 ], "Djster.µbus[1]::event_length" : [ 10000.0 ],
"Djster.µbus[1]::event_length_display_style" : [ 0.0 ], "Djster.µbus[1]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[1]::eventfulness" : [ 10.0 ], "Djster.µbus[1]::eventfulness" : [ 15.0 ],
"Djster.µbus[1]::global_transport_active" : [ 1.0 ], "Djster.µbus[1]::global_transport_active" : [ 1.0 ],
"Djster.µbus[1]::harmoniclarity" : [ 80.0 ], "Djster.µbus[1]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[1]::instance" : [ 2.0 ], "Djster.µbus[1]::instance" : [ 2.0 ],
@@ -75054,7 +75054,7 @@
"Djster.µbus[2]::dynamics" : [ 64.0 ], "Djster.µbus[2]::dynamics" : [ 64.0 ],
"Djster.µbus[2]::event_length" : [ 10000.0 ], "Djster.µbus[2]::event_length" : [ 10000.0 ],
"Djster.µbus[2]::event_length_display_style" : [ 0.0 ], "Djster.µbus[2]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[2]::eventfulness" : [ 10.0 ], "Djster.µbus[2]::eventfulness" : [ 15.0 ],
"Djster.µbus[2]::global_transport_active" : [ 1.0 ], "Djster.µbus[2]::global_transport_active" : [ 1.0 ],
"Djster.µbus[2]::harmoniclarity" : [ 80.0 ], "Djster.µbus[2]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[2]::instance" : [ 3.0 ], "Djster.µbus[2]::instance" : [ 3.0 ],
@@ -75069,10 +75069,10 @@
"Djster.µbus[2]::ostinato-buffer" : [ 0.0 ], "Djster.µbus[2]::ostinato-buffer" : [ 0.0 ],
"Djster.µbus[2]::outset_pulses" : [ 1.0 ], "Djster.µbus[2]::outset_pulses" : [ 1.0 ],
"Djster.µbus[2]::overlap" : [ 1.0 ], "Djster.µbus[2]::overlap" : [ 1.0 ],
"Djster.µbus[2]::pitch_center" : [ 60.0 ], "Djster.µbus[2]::pitch_center" : [ 48.0 ],
"Djster.µbus[2]::pitch_range" : [ 7.000000000000002 ], "Djster.µbus[2]::pitch_range" : [ 7.000000000000002 ],
"Djster.µbus[2]::precision" : [ 1.0 ], "Djster.µbus[2]::precision" : [ 1.0 ],
"Djster.µbus[2]::pulse_length" : [ 500.000000000000341 ], "Djster.µbus[2]::pulse_length" : [ 333.333333333333314 ],
"Djster.µbus[2]::scale" : [ "Major Pentatonic" ], "Djster.µbus[2]::scale" : [ "Major Pentatonic" ],
"Djster.µbus[2]::scales" : [ { "Djster.µbus[2]::scales" : [ {
"Major" : { "Major" : {
@@ -79202,21 +79202,21 @@
"Djster.µbus[2]::silent_downbeat" : [ 0.0 ], "Djster.µbus[2]::silent_downbeat" : [ 0.0 ],
"Djster.µbus[2]::sorted" : [ 1.0 ], "Djster.µbus[2]::sorted" : [ 1.0 ],
"Djster.µbus[2]::stream" : [ 1.0 ], "Djster.µbus[2]::stream" : [ 1.0 ],
"Djster.µbus[2]::subdivision" : [ "3 2" ], "Djster.µbus[2]::subdivision" : [ "3 3" ],
"Djster.µbus[2]::tempo" : [ 20.0 ], "Djster.µbus[2]::tempo" : [ 20.0 ],
"Djster.µbus[2]::timesig_denominator" : [ "4" ], "Djster.µbus[2]::timesig_denominator" : [ "4" ],
"Djster.µbus[2]::timesig_numerator" : [ 4 ], "Djster.µbus[2]::timesig_numerator" : [ 4 ],
"Djster.µbus[2]::tonic_pitch" : [ 60.0 ], "Djster.µbus[2]::tonic_pitch" : [ 48.0 ],
"Djster.µbus[2]::use_transport" : [ 1.0 ], "Djster.µbus[2]::use_transport" : [ 1.0 ],
"Djster.µbus[2]::µbus" : [ -1 ], "Djster.µbus[2]::µbus" : [ -1 ],
"Djster.µbus[2]::meter" : [ "3 2" ], "Djster.µbus[2]::meter" : [ "3 3" ],
"Djster.µbus[2]::presets::file" : [ 0 ], "Djster.µbus[2]::presets::file" : [ 0 ],
"Djster.µbus[3]::attenuation" : [ 50.0 ], "Djster.µbus[3]::attenuation" : [ 50.0 ],
"Djster.µbus[3]::chordal_weight" : [ 1.0 ], "Djster.µbus[3]::chordal_weight" : [ 1.0 ],
"Djster.µbus[3]::dynamics" : [ 50.0 ], "Djster.µbus[3]::dynamics" : [ 50.0 ],
"Djster.µbus[3]::event_length" : [ 10000.0 ], "Djster.µbus[3]::event_length" : [ 10000.0 ],
"Djster.µbus[3]::event_length_display_style" : [ 0.0 ], "Djster.µbus[3]::event_length_display_style" : [ 0.0 ],
"Djster.µbus[3]::eventfulness" : [ 10.0 ], "Djster.µbus[3]::eventfulness" : [ 15.0 ],
"Djster.µbus[3]::global_transport_active" : [ 1.0 ], "Djster.µbus[3]::global_transport_active" : [ 1.0 ],
"Djster.µbus[3]::harmoniclarity" : [ 80.0 ], "Djster.µbus[3]::harmoniclarity" : [ 80.0 ],
"Djster.µbus[3]::instance" : [ 4.0 ], "Djster.µbus[3]::instance" : [ 4.0 ],

View File

@@ -5,7 +5,7 @@
"1" : { "1" : {
"id" : 1, "id" : 1,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ], "hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ],
"hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ], "hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ],
"hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ], "hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ],
@@ -16680,7 +16680,7 @@
"2" : { "2" : {
"id" : 2, "id" : 2,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ], "hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ],
"hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ], "hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ],
"hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ], "hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ],
@@ -33355,7 +33355,7 @@
"3" : { "3" : {
"id" : 3, "id" : 3,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ], "hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ],
"hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ], "hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ],
"hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ], "hub::instrument::instrument-3" : [ "Dreamy-Fifths.instr.json" ],
@@ -50030,7 +50030,7 @@
"4" : { "4" : {
"id" : 4, "id" : 4,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ], "hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ],
"hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ], "hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ],
"hub::instrument::instrument-3" : [ "G_Musicbox.instr.json" ], "hub::instrument::instrument-3" : [ "G_Musicbox.instr.json" ],
@@ -66705,7 +66705,7 @@
"5" : { "5" : {
"id" : 5, "id" : 5,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ], "hub::instrument::instrument-1" : [ "Gentle-Metallic-1.instr.json" ],
"hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ], "hub::instrument::instrument-2" : [ "kalimba1_circleskin.instr.json" ],
"hub::instrument::instrument-3" : [ "G_Crystal.instr.json" ], "hub::instrument::instrument-3" : [ "G_Crystal.instr.json" ],

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"1" : { "1" : {
"id" : 1, "id" : 1,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ], "hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ],
"hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ], "hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ],
"hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ], "hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ],
@@ -16680,7 +16680,7 @@
"2" : { "2" : {
"id" : 2, "id" : 2,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ], "hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ],
"hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ], "hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ],
"hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ], "hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ],
@@ -33355,7 +33355,7 @@
"3" : { "3" : {
"id" : 3, "id" : 3,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ], "hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ],
"hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ], "hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ],
"hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ], "hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ],
@@ -50030,7 +50030,7 @@
"4" : { "4" : {
"id" : 4, "id" : 4,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ], "hub::instrument::instrument-1" : [ "X_Windwhistle.instr.json" ],
"hub::instrument::instrument-2" : [ "X_Grain.instr.json" ], "hub::instrument::instrument-2" : [ "X_Grain.instr.json" ],
"hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ], "hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ],
@@ -66705,7 +66705,7 @@
"5" : { "5" : {
"id" : 5, "id" : 5,
"data" : { "data" : {
"hub::instrument::bank" : [ "HSS_Samples.json" ], "hub::instrument::bank" : [ "HSS_Samples_25.7.24.json" ],
"hub::instrument::instrument-1" : [ "X_Darkswarm.instr.json" ], "hub::instrument::instrument-1" : [ "X_Darkswarm.instr.json" ],
"hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ], "hub::instrument::instrument-2" : [ "X_Darkswarm.instr.json" ],
"hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ], "hub::instrument::instrument-3" : [ "X_BasicBells.instr.json" ],

File diff suppressed because one or more lines are too long

25
Scripts/time.js Normal file
View File

@@ -0,0 +1,25 @@
inlets = 1
outlets = 1
var lastHour = null;
var onOffHours = {}
function bang(){
var d = new Date(); // for now
var hour = d.getHours();
if (hour !== lastHour){
lastHour = hour;
if (onOffHours[hour]){
outlet(0, onOffHours[hour]);
}
}
}
function on(hour){
onOffHours[hour] = 1;
}
function off(hour){
onOffHours[hour] = 0;
}

View File

@@ -11294,7 +11294,7 @@
} }
, ,
"Simple-Glow.instr.json" : { "Simple-Glow.json" : {
"1" : { "1" : {
"sample" : "Simple-Glow-C2-p.wav", "sample" : "Simple-Glow-C2-p.wav",
"root_key" : 36, "root_key" : 36,
@@ -12164,7 +12164,7 @@
} }
, ,
"Warm-Bounce.instr.json" : { "Warm-Bounce.json" : {
"1" : { "1" : {
"sample" : "Warm-Bounce-C2-p.wav", "sample" : "Warm-Bounce-C2-p.wav",
"root_key" : 36, "root_key" : 36,
@@ -12671,7 +12671,7 @@
} }
, ,
"Wide-Dimension.instr.json" : { "Wide-Dimension.json" : {
"1" : { "1" : {
"sample" : "Wide-Dimension-C2-p.wav", "sample" : "Wide-Dimension-C2-p.wav",
"root_key" : 36, "root_key" : 36,

View File

@@ -1 +0,0 @@
00:00, 0.111111 0.093878;

View File

@@ -1 +0,0 @@
00:00, 0.277778 0.232653;

View File

@@ -1 +0,0 @@
00:00, 0.730159 0.265306;

View File

@@ -1 +0,0 @@
00:00, 0.318122 0.065112;

View File

@@ -1 +0,0 @@
00:00, 1. 0.;

View File

@@ -1,6 +0,0 @@
cd ..
IPADDR="$(ipconfig getifaddr en0)"
echo "With machine on same local network, run : "
echo "\`git remote set-url origin git://$IPADDR/\`"
echo "\`git pull\`"
git daemon --export-all --base-path="$(pwd)"

View File

@@ -226,19 +226,15 @@ svg.push({
addSlider(i, "player" + i, "Attenuation", "attenuation", j++, [0, 100], 1, 15, "this.value", "this.value"); addSlider(i, "player" + i, "Attenuation", "attenuation", j++, [0, 100], 1, 15, "this.value", "this.value");
} }
createSpatBox(); createSpatBox();
addSlider(-1, "roomDIV", "Level 1 (dB)", "level_1", 2, [-70, 6], 1, -10, "this.value", "this.value"); addSlider(-1, "roomDIV", "Gain (dB)", "gain", 2, [-70, 6], 1, -10, "this.value", "this.value");
addSlider(-1, "roomDIV", "Level 2 (dB)", "level_2", 3, [-70, 6], 1, -10, "this.value", "this.value"); addSlider(-1, "roomDIV", "Room Size", "roomsize", 3, [1, 300], 1, 75, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Level 3 (dB)", "level_3", 4, [-70, 6], 1, -10, "this.value", "this.value"); addSlider(-1, "roomDIV", "Rev. Time (ms)", "amount", 4, [0.5, 15], 0.1, 11, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Level 4 (dB)", "level_4", 5, [-70, 6], 1, -10, "this.value", "this.value"); addSlider(-1, "roomDIV", "Spread", "spread", 5, [0, 100], 1, 23, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Gain (dB)", "gain", 6, [-70, 6], 1, -10, "this.value", "this.value"); addSlider(-1, "roomDIV", "Bandwidth", "bandwidth", 6, [0, 100], 1, 50, "this.value", "this.value"); //50
addSlider(-1, "roomDIV", "Room Size", "roomsize", 7, [1, 300], 1, 75, "this.value", "this.value");// addSlider(-1, "roomDIV", "Damping", "damping", 7, [0, 100], 1, 70, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Rev. Time (ms)", "amount", 8, [0.5, 15], 0.1, 11, "this.value", "this.value");// addSlider(-1, "roomDIV", "Early", "early", 8, [0, 100], 1, 25, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Spread", "spread", 9, [0, 100], 1, 23, "this.value", "this.value");// addSlider(-1, "roomDIV", "Tail", "tail", 9, [0, 100], 1, 25, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Bandwidth", "bandwidth", 10, [0, 100], 1, 50, "this.value", "this.value"); //50 addSlider(-1, "roomDIV", "Dry", "dry", 10, [0, 100], 1, 100, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Damping", "damping", 11, [0, 100], 1, 70, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Early", "early", 12, [0, 100], 1, 25, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Tail", "tail", 13, [0, 100], 1, 25, "this.value", "this.value");//
addSlider(-1, "roomDIV", "Dry", "dry", 14, [0, 100], 1, 100, "this.value", "this.value");//
elements.push( elements.push(

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
{
}

View File

@@ -1,19 +1,17 @@
inlets = 2 inlets = 2
outlets = 4; outlets = 4;
var jpieces = {};
var presets = []; var presets = [];
var filename = "";
var currentPiece = "";
var hsspiece = {}; var hsspiece = {};
var metaComposition = "";
var outdict = new Dict("HSSPieces");; var outdict = new Dict("HSSPieces");;
var points = [[0.5, 0.5], [0., 1.], [1., 1.], [1., 0.], [0., 0.]]; var points = [[0.5, 0.5], [1., 0.], [1., 1.], [0., 1.], [0., 0.]];
var net = new Dict; var net = new Dict;
var title;
var DJsterParams = { var DJsterParams = {
"attenuation" : [0, 100, "linear"], // "attenuation" : [0, 100, "linear"], //
"chordal_weight" : [1, 5, "linear"],// "chordal_weight" : [1, 5, "linear"],//
"dynamics" : [0, 127, "linear"],// "dynamics" : [0, 127, "linear"],//
"event_length_display_style" : [0, 1, "linear"],//
"event_length" : [60, 600, "log"],// "event_length" : [60, 600, "log"],//
"eventfulness" : [0, 100, "linear"],// "eventfulness" : [0, 100, "linear"],//
"harmoniclarity" : [0, 100, "linear"],// "harmoniclarity" : [0, 100, "linear"],//
@@ -34,76 +32,40 @@ var DJsterParams = {
"tonic_pitch" : [12, 108, "enum"],// "tonic_pitch" : [12, 108, "enum"],//
}; };
if(jsarguments.length>1) // argument 0 is the name of the js file
{
metaComposition = jsarguments[1];
}
var path = this.patcher.filepath.slice(0, this.patcher.filepath.lastIndexOf("/") + 1);
function loadbang()
{
bang();
post("currentPiece", path, "\n");
}
function bang()
{
if (metaComposition != "") readPiece(path + metaComposition);
}
// //
function dictionary(d) function dictionary(d)
{ {
net.name = d; net.name = d;
hsspiece[currentPiece]["networkData"] = JSON.parse(net.stringify()); hsspiece[title]["networkData"] = JSON.parse(net.stringify());
outdict.parse(JSON.stringify(hsspiece)); outdict.parse(JSON.stringify(hsspiece));
//jpieces = JSON.parse(outdict.stringify()); //outlet(0, "dictionary", outdict.name);
setMenu();
} }
function readPiece(path) function readPiece(path)
{ {
outdict.import_json(path); outdict.import_json(path);
hsspiece = JSON.parse(outdict.stringify()); jpieces = JSON.parse(outdict.stringify());
setMenu(); 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);
} }
function setMenu() function getSection(section)
{ {
this.patcher.getnamed("currentPiece").message("clear"); if (outdict.contains(section)) {
for (var i = 0; i < Object.keys(hsspiece).length; i++) this.patcher.getnamed("currentPiece").message("append", Object.keys(hsspiece)[i]); outlet(1, outdict.get(section + "::1::networkData"));
this.patcher.getnamed("currentPiece").message("set", Object.keys(hsspiece).length - 1); outlet(1, "predict", 0.5, 0.5);
this.patcher.getnamed("currentPiece").message("clearchecks"); outlet(0, 0.5, 0.5);
this.patcher.getnamed("currentPiece").message("checkitem", Object.keys(hsspiece).length - 1, 1); }
} }
function writePiece() function writePiece()
{ {
if (metaComposition != "") outdict.export_json(path + metaComposition); outdict.export_json(this.patcher.filepath + "HSSPiece.json");
} }
function setDict()
{
hsspiece = JSON.parse(outdict.stringify());
}
function setSection(section)
{
if (outdict.contains(section)) {
var networkData = outdict.get(section + "::networkData");
outlet(1, "set_weights", "dictionary", networkData.name);
outlet(1, "predict", 0.5, 0.5);
outlet(0, 0.5, 0.5);
if (outdict.contains(section + "::breakpoints")) this.patcher.getnamed("mc.function").setvalueof(outdict.get(section + "::breakpoints"));
post("data", outdict.get(section + "::audiolevels"), "\n");
if (outdict.contains(section + "::audiolevels")) for (var i = 0; i < 4; i++) outlet(2, "hub::global::level_" + (i + 1), outdict.get(section + "::audiolevels")[i]);
}
currentPiece = section;
}
/*
function anything() function anything()
{ {
var filenames = arrayfromargs(messagename, arguments); var filenames = arrayfromargs(messagename, arguments);
@@ -150,104 +112,51 @@ function anything()
outlet(1, "train", 10000); outlet(1, "train", 10000);
} }
} }
*/
function setPresetFile(f)
{
filename = f;
currentPiece = filename.slice(filename.lastIndexOf("/") + 1, filename.lastIndexOf("."));
hsspiece[currentPiece] = {};
outdict.parse(JSON.stringify(hsspiece));
setMenu();
}
function train()
{
presets = new Dict;
presets.import_json(filename);
if (!hsspiece.hasOwnProperty(currentPiece)) hsspiece[currentPiece] = {};
var slots = presets.get("pattrstorage::slots").getkeys();//number of slots here
outlet(1, "clear_data");
for (var j = 0; j < slots.length; j++){
hsspiece[currentPiece][j + 1] = {};
var trainingData = [];
var data = JSON.parse(presets.get("pattrstorage::slots::" + (j + 1) + "::data").stringify());
for (var p = 0; p < 4; p++) {
delete data["Djster.µbus[" + p + "]::scales"];
delete data["Djster.µbus[" + p + "]::meters"];
for (var param in DJsterParams) {
var val = data["Djster.µbus[" + p + "]::" + param];
switch (DJsterParams[param][2]) {
case "linear" :
trainingData.push(scale(val, DJsterParams[param][0], DJsterParams[param][1], 0., 1.));
break;
case "log" :
trainingData.push(scale(val, DJsterParams[param][0], DJsterParams[param][1], 0., 1.));
break;
case "enum" :
trainingData.push(j/5);
break;
}
}
trainingData.push(j/5);
var val = data["hub::src::src" + (p + 1)];
trainingData.push(scale(val[0], 0, 127, 0., 1.));
trainingData.push(scale(val[1], 0, 127, 0., 1.));
}
hsspiece[currentPiece][j + 1] = data;
outlet(1, "data_point", points[j].concat(trainingData));
}
outlet(1, "train", 10000);
}
function list() function list()
{ {
var vector = arrayfromargs(arguments); var vector = arrayfromargs(arguments);
var src = []; var src = [];
//currentPiece = this.patcher.getnamed("currentPiece").getvalueof(); var currentPiece = this.patcher.getnamed("currentPiece").getvalueof();
var keys = Object.keys(DJsterParams); var keys = Object.keys(DJsterParams);
for (var i = 0; i < 4; i++) { for (var i = 0; i < 4; i++) {
for (var j = 0; j < vector.length/4; j++) { for (var j = 0; j < vector.length/4; j++) {
var k = j + i * vector.length/4; var k = j + i * vector.length/4;
//post("vector", j, "\n");
switch (j) { switch (j) {
case 1 : case 3 : case 10 : case 11 : case 15 : case 16 : case 20 : case 3 : //log
var val = Math.round(scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1])); case 17 :
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val);
break;
case 4 : //log (not yet)
case 18 :
var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]); var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]);
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val);
break; break;
case 14 : //enum case 13 : //enum
//val = "Major"; //val = "Major";
//post(vector[k], Math.floor(vector[k]/0.2 + 1), "\n"); post(vector[k], Math.floor(vector[k]/0.2 + 1), "\n");
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], hsspiece[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::scale"]); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::scale"]);
break; break;
case 17 : case 16 :
//val = "2 2 2"; //val = "2 2 2";
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], hsspiece[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::meter"]); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::meter"]);
break; break;
case 19 : case 18 :
//val = "4" //val = "4"
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], hsspiece[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::timesig_denominator"]); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::timesig_denominator"]);
break; break;
case 21 : case 21 :
//tonic pitch
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], hsspiece[currentPiece][parseInt(vector[k]/0.2 + 1)]["Djster.µbus[" + i + "]::tonic_pitch"]);
break;
case 22 :
val = "4" val = "4"
outlet(2, "hub::instrument::instrument-" + (i + 1), hsspiece[currentPiece][parseInt(vector[k]/0.2 + 1)]["hub::instrument::instrument-" + (i + 1)]); outlet(2, "hub::instrument::instrument-" + (i + 1), jpieces[currentPiece][parseInt(vector[k]/0.2 + 1)]["hub::instrument::instrument-" + (i + 1)]);
break; break;
case 23 : case 22 :
src[0] = scale(vector[k], 0, 1, 0, 127); src[0] = scale(vector[k], 0, 1, 0, 127);
break; break;
case 24 : case 23 :
src[1] = scale(vector[k], 0, 1, 0, 127); src[1] = scale(vector[k], 0, 1, 0, 127);
outlet(2, "hub::src::src" + (i + 1), src); outlet(2, "hub::src::src" + (i + 1), src);
break; break;
case 1 : case 9 : case 10 : case 14 : case 15 : case 19 : case 20 :
var val = Math.round(scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]));
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val);
break;
default : //linear default : //linear
var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]); var val = scale(vector[k], 0, 1, DJsterParams[keys[j]][0], DJsterParams[keys[j]][1]);
outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val); outlet(2, "Djster.µbus[" + i + "]::" + keys[j], val);
@@ -256,23 +165,6 @@ function list()
} }
} }
function setBreakPoints()
{
hsspiece[currentPiece]["breakpoints"] = this.patcher.getnamed("mc.function").getvalueof();
outdict.parse(JSON.stringify(hsspiece));
//jpieces = JSON.parse(outdict.stringify());
}
function setAudioLevels()
{
post("hsspiece", currentPiece, "\n");
hsspiece[currentPiece]["audiolevels"] = this.patcher.getnamed("hub").subpatcher().getnamed("global").subpatcher().getnamed("level_1").getvalueof().concat(this.patcher.getnamed("hub").subpatcher().getnamed("global").subpatcher().getnamed("level_2").getvalueof(), this.patcher.getnamed("hub").subpatcher().getnamed("global").subpatcher().getnamed("level_3").getvalueof(), this.patcher.getnamed("hub").subpatcher().getnamed("global").subpatcher().getnamed("level_4").getvalueof());
outdict.parse(JSON.stringify(hsspiece));
//jpieces = JSON.parse(outdict.stringify());
}
function scale(x, inputmin, inputmax, outputmin, outputmax) function scale(x, inputmin, inputmax, outputmin, outputmax)
{ {