summaryrefslogtreecommitdiff
path: root/src/mdaPiano
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdaPiano')
-rw-r--r--src/mdaPiano/data/0c.rawbin0 -> 72550 bytes
-rw-r--r--src/mdaPiano/data/0e.rawbin0 -> 93714 bytes
-rw-r--r--src/mdaPiano/data/0g.rawbin0 -> 127238 bytes
-rw-r--r--src/mdaPiano/data/1c.rawbin0 -> 116478 bytes
-rw-r--r--src/mdaPiano/data/1e.rawbin0 -> 79818 bytes
-rw-r--r--src/mdaPiano/data/1g.rawbin0 -> 92136 bytes
-rw-r--r--src/mdaPiano/data/2c.rawbin0 -> 103936 bytes
-rw-r--r--src/mdaPiano/data/2e.rawbin0 -> 97600 bytes
-rw-r--r--src/mdaPiano/data/2g.rawbin0 -> 90326 bytes
-rw-r--r--src/mdaPiano/data/3c.rawbin0 -> 63780 bytes
-rw-r--r--src/mdaPiano/data/3e.rawbin0 -> 47926 bytes
-rw-r--r--src/mdaPiano/data/3g.rawbin0 -> 79038 bytes
-rw-r--r--src/mdaPiano/data/4a.rawbin0 -> 24440 bytes
-rw-r--r--src/mdaPiano/data/4c.rawbin0 -> 55794 bytes
-rw-r--r--src/mdaPiano/data/4e.rawbin0 -> 27854 bytes
-rw-r--r--src/mdaPiano/data/convert.rb48
-rw-r--r--src/mdaPiano/presets/broken.ttl48
-rw-r--r--src/mdaPiano/presets/compressed.ttl48
-rw-r--r--src/mdaPiano/presets/concert.ttl48
-rw-r--r--src/mdaPiano/presets/dance.ttl48
-rw-r--r--src/mdaPiano/presets/dark.ttl48
-rw-r--r--src/mdaPiano/presets/default.ttl48
-rw-r--r--src/mdaPiano/presets/plain.ttl49
-rw-r--r--src/mdaPiano/presets/school.ttl48
24 files changed, 433 insertions, 0 deletions
diff --git a/src/mdaPiano/data/0c.raw b/src/mdaPiano/data/0c.raw
new file mode 100644
index 0000000..14b9e58
--- /dev/null
+++ b/src/mdaPiano/data/0c.raw
Binary files differ
diff --git a/src/mdaPiano/data/0e.raw b/src/mdaPiano/data/0e.raw
new file mode 100644
index 0000000..3236a7c
--- /dev/null
+++ b/src/mdaPiano/data/0e.raw
Binary files differ
diff --git a/src/mdaPiano/data/0g.raw b/src/mdaPiano/data/0g.raw
new file mode 100644
index 0000000..4392502
--- /dev/null
+++ b/src/mdaPiano/data/0g.raw
Binary files differ
diff --git a/src/mdaPiano/data/1c.raw b/src/mdaPiano/data/1c.raw
new file mode 100644
index 0000000..6cca174
--- /dev/null
+++ b/src/mdaPiano/data/1c.raw
Binary files differ
diff --git a/src/mdaPiano/data/1e.raw b/src/mdaPiano/data/1e.raw
new file mode 100644
index 0000000..5b90baf
--- /dev/null
+++ b/src/mdaPiano/data/1e.raw
Binary files differ
diff --git a/src/mdaPiano/data/1g.raw b/src/mdaPiano/data/1g.raw
new file mode 100644
index 0000000..28dd2f1
--- /dev/null
+++ b/src/mdaPiano/data/1g.raw
Binary files differ
diff --git a/src/mdaPiano/data/2c.raw b/src/mdaPiano/data/2c.raw
new file mode 100644
index 0000000..5befe2d
--- /dev/null
+++ b/src/mdaPiano/data/2c.raw
Binary files differ
diff --git a/src/mdaPiano/data/2e.raw b/src/mdaPiano/data/2e.raw
new file mode 100644
index 0000000..fb245e1
--- /dev/null
+++ b/src/mdaPiano/data/2e.raw
Binary files differ
diff --git a/src/mdaPiano/data/2g.raw b/src/mdaPiano/data/2g.raw
new file mode 100644
index 0000000..7fb1847
--- /dev/null
+++ b/src/mdaPiano/data/2g.raw
Binary files differ
diff --git a/src/mdaPiano/data/3c.raw b/src/mdaPiano/data/3c.raw
new file mode 100644
index 0000000..d655355
--- /dev/null
+++ b/src/mdaPiano/data/3c.raw
Binary files differ
diff --git a/src/mdaPiano/data/3e.raw b/src/mdaPiano/data/3e.raw
new file mode 100644
index 0000000..f5bc7af
--- /dev/null
+++ b/src/mdaPiano/data/3e.raw
Binary files differ
diff --git a/src/mdaPiano/data/3g.raw b/src/mdaPiano/data/3g.raw
new file mode 100644
index 0000000..6490227
--- /dev/null
+++ b/src/mdaPiano/data/3g.raw
Binary files differ
diff --git a/src/mdaPiano/data/4a.raw b/src/mdaPiano/data/4a.raw
new file mode 100644
index 0000000..023de8d
--- /dev/null
+++ b/src/mdaPiano/data/4a.raw
Binary files differ
diff --git a/src/mdaPiano/data/4c.raw b/src/mdaPiano/data/4c.raw
new file mode 100644
index 0000000..da0eb61
--- /dev/null
+++ b/src/mdaPiano/data/4c.raw
Binary files differ
diff --git a/src/mdaPiano/data/4e.raw b/src/mdaPiano/data/4e.raw
new file mode 100644
index 0000000..afbec99
--- /dev/null
+++ b/src/mdaPiano/data/4e.raw
Binary files differ
diff --git a/src/mdaPiano/data/convert.rb b/src/mdaPiano/data/convert.rb
new file mode 100644
index 0000000..5d45bc8
--- /dev/null
+++ b/src/mdaPiano/data/convert.rb
@@ -0,0 +1,48 @@
+f = File.open("samples.raw", "r")
+
+kgrp = []
+
+kgrp[ 0]={}; kgrp[ 0][:pos] = 0; kgrp[ 0][:end] = 36275;
+kgrp[ 1]={}; kgrp[ 1][:pos] = 36278; kgrp[ 1][:end] = 83135;
+kgrp[ 2]={}; kgrp[ 2][:pos] = 83137; kgrp[ 2][:end] = 146756;
+kgrp[ 3]={}; kgrp[ 3][:pos] = 146758; kgrp[ 3][:end] = 204997;
+kgrp[ 4]={}; kgrp[ 4][:pos] = 204999; kgrp[ 4][:end] = 244908;
+kgrp[ 5]={}; kgrp[ 5][:pos] = 244910; kgrp[ 5][:end] = 290978;
+kgrp[ 6]={}; kgrp[ 6][:pos] = 290980; kgrp[ 6][:end] = 342948;
+kgrp[ 7]={}; kgrp[ 7][:pos] = 342950; kgrp[ 7][:end] = 391750;
+kgrp[ 8]={}; kgrp[ 8][:pos] = 391752; kgrp[ 8][:end] = 436915;
+kgrp[ 9]={}; kgrp[ 9][:pos] = 436917; kgrp[ 9][:end] = 468807;
+kgrp[10]={}; kgrp[10][:pos] = 468809; kgrp[10][:end] = 492772;
+kgrp[11]={}; kgrp[11][:pos] = 492774; kgrp[11][:end] = 532293;
+kgrp[12]={}; kgrp[12][:pos] = 532295; kgrp[12][:end] = 560192;
+kgrp[13]={}; kgrp[13][:pos] = 560194; kgrp[13][:end] = 574121;
+kgrp[14]={}; kgrp[14][:pos] = 574123; kgrp[14][:end] = 586343;
+
+
+(0..14).each do |i|
+ f.seek(2 * kgrp[i][:pos])
+ kgrp[i][:data] = f.read(2 * (kgrp[i][:end] - kgrp[i][:pos]))
+end
+f.close
+
+kgrp[ 0][:name] = "0c"
+kgrp[ 1][:name] = "0e"
+kgrp[ 2][:name] = "0g"
+kgrp[ 3][:name] = "1c"
+kgrp[ 4][:name] = "1e"
+kgrp[ 5][:name] = "1g"
+kgrp[ 6][:name] = "2c"
+kgrp[ 7][:name] = "2e"
+kgrp[ 8][:name] = "2g"
+kgrp[ 9][:name] = "3c"
+kgrp[10][:name] = "3e"
+kgrp[11][:name] = "3g"
+kgrp[12][:name] = "4c"
+kgrp[13][:name] = "4e"
+kgrp[14][:name] = "4a"
+
+kgrp.each do |k|
+ f = File.open("#{k[:name]}.raw", "w")
+ f.write k[:data]
+ f.close
+end
diff --git a/src/mdaPiano/presets/broken.ttl b/src/mdaPiano/presets/broken.ttl
new file mode 100644
index 0000000..3720b52
--- /dev/null
+++ b/src/mdaPiano/presets/broken.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:broken
+ a pset:Preset ;
+ rdfs:label "Broken Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.050
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.957
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.299
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 1.000
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.450
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.718
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.000
+ ] .
diff --git a/src/mdaPiano/presets/compressed.ttl b/src/mdaPiano/presets/compressed.ttl
new file mode 100644
index 0000000..7ddd10d
--- /dev/null
+++ b/src/mdaPiano/presets/compressed.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:compressed
+ a pset:Preset ;
+ rdfs:label "Compressed Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.902
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.399
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.623
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 1.000
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.331
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.299
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.499
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.500
+ ] .
diff --git a/src/mdaPiano/presets/concert.ttl b/src/mdaPiano/presets/concert.ttl
new file mode 100644
index 0000000..2a86c43
--- /dev/null
+++ b/src/mdaPiano/presets/concert.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:concert
+ a pset:Preset ;
+ rdfs:label "Concert Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.648
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.298
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.602
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.550
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.850
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.356
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.339
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.660
+ ] .
diff --git a/src/mdaPiano/presets/dance.ttl b/src/mdaPiano/presets/dance.ttl
new file mode 100644
index 0000000..5d480bc
--- /dev/null
+++ b/src/mdaPiano/presets/dance.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:dance
+ a pset:Preset ;
+ rdfs:label "Dance Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.399
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.251
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 1.000
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.672
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.124
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.127
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.249
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.283
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.667
+ ] .
diff --git a/src/mdaPiano/presets/dark.ttl b/src/mdaPiano/presets/dark.ttl
new file mode 100644
index 0000000..af74ec5
--- /dev/null
+++ b/src/mdaPiano/presets/dark.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:dark
+ a pset:Preset ;
+ rdfs:label "Dark Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.602
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.304
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.200
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.336
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.651
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.317
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.500
+ ] .
diff --git a/src/mdaPiano/presets/default.ttl b/src/mdaPiano/presets/default.ttl
new file mode 100644
index 0000000..a68ec44
--- /dev/null
+++ b/src/mdaPiano/presets/default.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:default
+ a pset:Preset ;
+ rdfs:label "mda Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.803
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.251
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.376
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.246
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.500
+ ] .
diff --git a/src/mdaPiano/presets/plain.ttl b/src/mdaPiano/presets/plain.ttl
new file mode 100644
index 0000000..161cf0d
--- /dev/null
+++ b/src/mdaPiano/presets/plain.ttl
@@ -0,0 +1,49 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:plain
+ a pset:Preset ;
+ rdfs:label "Plain Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.751
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.452
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.000
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.500
+ ] .
+
diff --git a/src/mdaPiano/presets/school.ttl b/src/mdaPiano/presets/school.ttl
new file mode 100644
index 0000000..803ac2b
--- /dev/null
+++ b/src/mdaPiano/presets/school.ttl
@@ -0,0 +1,48 @@
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix base: <http://elephly.net/lv2/> .
+@prefix pset: <http://lv2plug.in/ns/ext/presets#> .
+@prefix pre: <http://elephly.net/lv2/mdaPiano/presets#> .
+
+pre:school
+ a pset:Preset ;
+ rdfs:label "School Piano" ;
+ pset:appliesTo base:mdaPiano ;
+
+ lv2:port [
+ lv2:symbol "envelope_decay" ;
+ pset:value 0.450
+ ] , [
+ lv2:symbol "envelope_release" ;
+ pset:value 0.598
+ ] , [
+ lv2:symbol "hardness_offset" ;
+ pset:value 0.626
+ ] , [
+ lv2:symbol "velocity_to_hardness" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "muffling_filter" ;
+ pset:value 0.603
+ ] , [
+ lv2:symbol "velocity_to_muffling" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "velocity_sensitivity" ;
+ pset:value 0.174
+ ] , [
+ lv2:symbol "stereo_width" ;
+ pset:value 0.331
+ ] , [
+ lv2:symbol "polyphony" ;
+ pset:value 0.330
+ ] , [
+ lv2:symbol "fine_tuning" ;
+ pset:value 0.500
+ ] , [
+ lv2:symbol "random_detuning" ;
+ pset:value 0.421
+ ] , [
+ lv2:symbol "stretch_tuning" ;
+ pset:value 0.801
+ ] .