diff --git a/instruments/Bastl_Drum/patches/Looo.yml b/instruments/Bastl_Drum/patches/Looo.yml deleted file mode 100644 index 2de9b12..0000000 --- a/instruments/Bastl_Drum/patches/Looo.yml +++ /dev/null @@ -1,25 +0,0 @@ -cables: '' -date: '2022-06-26' -decay: '50' -description: test -drum: '50' -drum_mod: '82' -name: Looo -pitch: '50' -pitch_mod: '50' -slug: Looo -tempo: '50' -tempo_mod: '50' diff --git a/instruments/Bastl_Drum/patches/test.yml b/instruments/Bastl_Drum/patches/test.yml deleted file mode 100644 index af8458f..0000000 --- a/instruments/Bastl_Drum/patches/test.yml +++ /dev/null @@ -1,49 +0,0 @@ -date: "2022-06-28" -decay: "50" -description: toast -drum: "50" -drum_mod: "50" -name: test -pitch: "50" -pitch_mod: "50" -slug: test -tempo: "50" -tempo_mod: "50" -cables: '' diff --git a/static/css/global.css b/static/css/global.css index 69af073..14ce9eb 100644 --- a/static/css/global.css +++ b/static/css/global.css @@ -13,87 +13,89 @@ a { } a.stretched:after { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; } header a:hover { - opacity: .5; + opacity: 0.5; } header { - width: 100%; - display: flex; - justify-content: start; - padding: 8px; - font-size: 32px; - + width: 100%; + display: flex; + justify-content: start; + padding: 8px; + font-size: 32px; } header > * { - flex-shrink: 0; + flex-shrink: 0; } - - header .title { - margin: 0; - margin-right: 32px; - font-size: 32px; - font-weight: normal; - + margin: 0; + margin-right: 32px; + font-size: 32px; + font-weight: normal; } .path-slash { - margin: 0 4px; + margin: 0 4px; } .parent { - /* color: rgb(147, 149, 161); */ + /* color: rgb(147, 149, 161); */ } +.search, +.print { + position: relative; -.search, .print { - position: relative; - - display: inline-block; - height: 32px; - margin-left: auto; - overflow: hidden; - flex: 0 0 32px; - transition: flex 0.3s ease-in; + display: inline-block; + height: 32px; + margin-left: auto; + overflow: hidden; + flex: 0 0 32px; + transition: flex 0.3s ease-in; } -.search:hover{ - transition: flex 0.6s ease-out; - flex: 1 0 auto; +.search:hover { + transition: flex 0.6s ease-out; + flex: 1 0 auto; } -.search svg, .print svg { - width: 32px; - height: 32px; - padding: 4px; - margin: 0; +.search svg, +.print svg { + width: 32px; + height: 32px; + padding: 4px; + margin: 0; } .search input { - border: none; - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 32px; - outline: none; - border-bottom: 1px solid currentColor; + border: none; + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 32px; + outline: none; + border-bottom: 1px solid currentColor; + + font-size: 32px; - font-size: 32px; + padding: 0; + padding-left: 4px; - padding: 0; - padding-left: 4px; + background: none; +} - background: none; +svg #params, +svg #sockets { + display: none; } diff --git a/static/css/patches.css b/static/css/patches.css index d6362c2..a4de5ca 100644 --- a/static/css/patches.css +++ b/static/css/patches.css @@ -91,11 +91,6 @@ main { font-weight: normal; } -svg #params, -svg #sockets { - display: none; -} - @media (max-width: 767px) { header { display: block; diff --git a/instruments/Bastl_Drum/model.yml b/static/instruments/Bastl_Drum/model.yml similarity index 87% rename from instruments/Bastl_Drum/model.yml rename to static/instruments/Bastl_Drum/model.yml index 4114647..cab1306 100644 --- a/instruments/Bastl_Drum/model.yml +++ b/static/instruments/Bastl_Drum/model.yml @@ -1,6 +1,6 @@ name: Bastl Drum slug: Bastl_Drum -description: The drum without buttons, not that drums usually have button but +description: The classic one, the one that is not broken params: - drum_mod - drum diff --git a/instruments/Bastl_Drum/panel.svg b/static/instruments/Bastl_Drum/panel.svg similarity index 100% rename from instruments/Bastl_Drum/panel.svg rename to static/instruments/Bastl_Drum/panel.svg diff --git a/static/instruments/Bastl_Drum/patches/A_test_patch/A_test_patch.yml b/static/instruments/Bastl_Drum/patches/A_test_patch/A_test_patch.yml new file mode 100644 index 0000000..e965b1a --- /dev/null +++ b/static/instruments/Bastl_Drum/patches/A_test_patch/A_test_patch.yml @@ -0,0 +1,29 @@ +cables: '' +date: '2022-10-01' +decay: '98' +description: a patch to test +drum: '61' +drum_mod: '50' +name: A test patch +output: JBL Spearker +pitch: '50' +pitch_mod: '50' +routing: Drum to JBL +slug: A_test_patch +tempo: '50' +tempo_mod: '50' diff --git a/static/instruments/Bastl_Drum/patches/A_test_patch/snippets/test.wav b/static/instruments/Bastl_Drum/patches/A_test_patch/snippets/test.wav new file mode 100644 index 0000000..f689129 Binary files /dev/null and b/static/instruments/Bastl_Drum/patches/A_test_patch/snippets/test.wav differ diff --git a/static/instruments/Bastl_Drum/patches/Second_test/Second_test.yml b/static/instruments/Bastl_Drum/patches/Second_test/Second_test.yml new file mode 100644 index 0000000..eb26458 --- /dev/null +++ b/static/instruments/Bastl_Drum/patches/Second_test/Second_test.yml @@ -0,0 +1,135 @@ +cables: '' +date: '2022-02-16' +decay: '50' +description: just the second +drum: '100' +drum_mod: '50' +name: Second test +pitch: '50' +pitch_mod: '50' +slug: Second_test +tempo: '50' +tempo_mod: '50' diff --git a/static/instruments/Bastl_Drum/patches/Second_test/snippets/531510__eponn__correct-blips.wav b/static/instruments/Bastl_Drum/patches/Second_test/snippets/531510__eponn__correct-blips.wav new file mode 100644 index 0000000..cc8eb3f Binary files /dev/null and b/static/instruments/Bastl_Drum/patches/Second_test/snippets/531510__eponn__correct-blips.wav differ diff --git a/instruments/Bastl_Kastle_v1.5/model.yml b/static/instruments/Bastl_Kastle_v1.5/model.yml similarity index 100% rename from instruments/Bastl_Kastle_v1.5/model.yml rename to static/instruments/Bastl_Kastle_v1.5/model.yml diff --git a/instruments/Bastl_Kastle_v1.5/panel.svg b/static/instruments/Bastl_Kastle_v1.5/panel.svg similarity index 100% rename from instruments/Bastl_Kastle_v1.5/panel.svg rename to static/instruments/Bastl_Kastle_v1.5/panel.svg diff --git a/instruments/Bastl_Kastle_v1.5/patches/For_Pongi.yml b/static/instruments/Bastl_Kastle_v1.5/patches/For_Pongi.yml similarity index 100% rename from instruments/Bastl_Kastle_v1.5/patches/For_Pongi.yml rename to static/instruments/Bastl_Kastle_v1.5/patches/For_Pongi.yml diff --git a/static/instruments/Bastl_Kastle_v1.5/patches/panel.svg b/static/instruments/Bastl_Kastle_v1.5/patches/panel.svg new file mode 100644 index 0000000..2c048ed --- /dev/null +++ b/static/instruments/Bastl_Kastle_v1.5/patches/panel.svg @@ -0,0 +1,175 @@ + diff --git a/instruments/Bastl_Kastle_v1.5/patches/uzumaki.yml b/static/instruments/Bastl_Kastle_v1.5/patches/uzumaki.yml similarity index 100% rename from instruments/Bastl_Kastle_v1.5/patches/uzumaki.yml rename to static/instruments/Bastl_Kastle_v1.5/patches/uzumaki.yml diff --git a/instruments/Test_Panel/model.yml b/static/instruments/Test_Panel/model.yml similarity index 100% rename from instruments/Test_Panel/model.yml rename to static/instruments/Test_Panel/model.yml diff --git a/instruments/Test_Panel/panel.svg b/static/instruments/Test_Panel/panel.svg similarity index 100% rename from instruments/Test_Panel/panel.svg rename to static/instruments/Test_Panel/panel.svg diff --git a/instruments/Test_Panel/patches/A_test_patch.yml b/static/instruments/Test_Panel/patches/A_test_patch.yml similarity index 100% rename from instruments/Test_Panel/patches/A_test_patch.yml rename to static/instruments/Test_Panel/patches/A_test_patch.yml diff --git a/templates/patch.html b/templates/patch.html index a02daac..af7434c 100644 --- a/templates/patch.html +++ b/templates/patch.html @@ -43,26 +43,22 @@ {{panel|safe}} {% if patch['cables'] %} {{patch['cables']|safe}} {% endif %} -
- Description skjdflkajsdkfLabore aliqua ut sit consequat veniam ut do ad - nulla.Ad labore mollit ut cillum cillum est. In ex nostrud esse sit fugiat - elit qui. Enim do laboris irure in sint deserunt irure culpa ad officia eu - est non. Officia reprehenderit labore excepteur non. Exercitation aliqua - commodo exercitation quis deserunt exercitation esse eiusmod excepteur sint - consectetur fugiat nisi dolore. Eiusmod adipisicing aliqua veniam eu ullamco - anim duis labore commodo cupidatat voluptate nisi mollit. Tempor fugiat in - enim culpa ut veniam veniam. -
- -