diff options
author | rekado <rekado@elephly.net> | 2013-07-27 22:14:03 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-07-27 22:14:03 +0800 |
commit | debf832b1989d4b9735a41acce5513bb769e7e09 (patch) | |
tree | ae756094f3a79c44e1bceb4ef1241c82cfcbeea7 /src | |
parent | db0f7f143b1538acdb22d005c6379f009c59d7f5 (diff) |
add mdaEPiano presets and data files
Diffstat (limited to 'src')
39 files changed, 333 insertions, 0 deletions
diff --git a/src/mdaEPiano/data/0c-0.raw b/src/mdaEPiano/data/0c-0.raw Binary files differnew file mode 100644 index 0000000..e2a72d7 --- /dev/null +++ b/src/mdaEPiano/data/0c-0.raw diff --git a/src/mdaEPiano/data/0c-1.raw b/src/mdaEPiano/data/0c-1.raw Binary files differnew file mode 100644 index 0000000..a10f6c2 --- /dev/null +++ b/src/mdaEPiano/data/0c-1.raw diff --git a/src/mdaEPiano/data/0c-2.raw b/src/mdaEPiano/data/0c-2.raw Binary files differnew file mode 100644 index 0000000..d7fb4f1 --- /dev/null +++ b/src/mdaEPiano/data/0c-2.raw diff --git a/src/mdaEPiano/data/0g-0.raw b/src/mdaEPiano/data/0g-0.raw Binary files differnew file mode 100644 index 0000000..b94c0e0 --- /dev/null +++ b/src/mdaEPiano/data/0g-0.raw diff --git a/src/mdaEPiano/data/0g-1.raw b/src/mdaEPiano/data/0g-1.raw Binary files differnew file mode 100644 index 0000000..d06cf3c --- /dev/null +++ b/src/mdaEPiano/data/0g-1.raw diff --git a/src/mdaEPiano/data/0g-2.raw b/src/mdaEPiano/data/0g-2.raw Binary files differnew file mode 100644 index 0000000..64c83fe --- /dev/null +++ b/src/mdaEPiano/data/0g-2.raw diff --git a/src/mdaEPiano/data/1c-0.raw b/src/mdaEPiano/data/1c-0.raw Binary files differnew file mode 100644 index 0000000..dd7ccc7 --- /dev/null +++ b/src/mdaEPiano/data/1c-0.raw diff --git a/src/mdaEPiano/data/1c-1.raw b/src/mdaEPiano/data/1c-1.raw Binary files differnew file mode 100644 index 0000000..2f9f981 --- /dev/null +++ b/src/mdaEPiano/data/1c-1.raw diff --git a/src/mdaEPiano/data/1c-2.raw b/src/mdaEPiano/data/1c-2.raw Binary files differnew file mode 100644 index 0000000..3ceaaa5 --- /dev/null +++ b/src/mdaEPiano/data/1c-2.raw diff --git a/src/mdaEPiano/data/1g-0.raw b/src/mdaEPiano/data/1g-0.raw Binary files differnew file mode 100644 index 0000000..a1678e9 --- /dev/null +++ b/src/mdaEPiano/data/1g-0.raw diff --git a/src/mdaEPiano/data/1g-1.raw b/src/mdaEPiano/data/1g-1.raw Binary files differnew file mode 100644 index 0000000..159ff85 --- /dev/null +++ b/src/mdaEPiano/data/1g-1.raw diff --git a/src/mdaEPiano/data/1g-2.raw b/src/mdaEPiano/data/1g-2.raw Binary files differnew file mode 100644 index 0000000..9e88c86 --- /dev/null +++ b/src/mdaEPiano/data/1g-2.raw diff --git a/src/mdaEPiano/data/2c-0.raw b/src/mdaEPiano/data/2c-0.raw Binary files differnew file mode 100644 index 0000000..01ebeed --- /dev/null +++ b/src/mdaEPiano/data/2c-0.raw diff --git a/src/mdaEPiano/data/2c-1.raw b/src/mdaEPiano/data/2c-1.raw Binary files differnew file mode 100644 index 0000000..703ab0a --- /dev/null +++ b/src/mdaEPiano/data/2c-1.raw diff --git a/src/mdaEPiano/data/2c-2.raw b/src/mdaEPiano/data/2c-2.raw Binary files differnew file mode 100644 index 0000000..93e56e2 --- /dev/null +++ b/src/mdaEPiano/data/2c-2.raw diff --git a/src/mdaEPiano/data/2g-0.raw b/src/mdaEPiano/data/2g-0.raw Binary files differnew file mode 100644 index 0000000..ddc8442 --- /dev/null +++ b/src/mdaEPiano/data/2g-0.raw diff --git a/src/mdaEPiano/data/2g-1.raw b/src/mdaEPiano/data/2g-1.raw Binary files differnew file mode 100644 index 0000000..28dd8cb --- /dev/null +++ b/src/mdaEPiano/data/2g-1.raw diff --git a/src/mdaEPiano/data/2g-2.raw b/src/mdaEPiano/data/2g-2.raw Binary files differnew file mode 100644 index 0000000..b44cd43 --- /dev/null +++ b/src/mdaEPiano/data/2g-2.raw diff --git a/src/mdaEPiano/data/3c-0.raw b/src/mdaEPiano/data/3c-0.raw Binary files differnew file mode 100644 index 0000000..623cf05 --- /dev/null +++ b/src/mdaEPiano/data/3c-0.raw diff --git a/src/mdaEPiano/data/3c-1.raw b/src/mdaEPiano/data/3c-1.raw Binary files differnew file mode 100644 index 0000000..79df4d2 --- /dev/null +++ b/src/mdaEPiano/data/3c-1.raw diff --git a/src/mdaEPiano/data/3c-2.raw b/src/mdaEPiano/data/3c-2.raw Binary files differnew file mode 100644 index 0000000..b7636c7 --- /dev/null +++ b/src/mdaEPiano/data/3c-2.raw diff --git a/src/mdaEPiano/data/3g-0.raw b/src/mdaEPiano/data/3g-0.raw Binary files differnew file mode 100644 index 0000000..f9001b8 --- /dev/null +++ b/src/mdaEPiano/data/3g-0.raw diff --git a/src/mdaEPiano/data/3g-1.raw b/src/mdaEPiano/data/3g-1.raw Binary files differnew file mode 100644 index 0000000..c53dcf8 --- /dev/null +++ b/src/mdaEPiano/data/3g-1.raw diff --git a/src/mdaEPiano/data/3g-2.raw b/src/mdaEPiano/data/3g-2.raw Binary files differnew file mode 100644 index 0000000..231d0db --- /dev/null +++ b/src/mdaEPiano/data/3g-2.raw diff --git a/src/mdaEPiano/data/4c-0.raw b/src/mdaEPiano/data/4c-0.raw Binary files differnew file mode 100644 index 0000000..fa675ce --- /dev/null +++ b/src/mdaEPiano/data/4c-0.raw diff --git a/src/mdaEPiano/data/4c-1.raw b/src/mdaEPiano/data/4c-1.raw Binary files differnew file mode 100644 index 0000000..f4fea3b --- /dev/null +++ b/src/mdaEPiano/data/4c-1.raw diff --git a/src/mdaEPiano/data/4c-2.raw b/src/mdaEPiano/data/4c-2.raw Binary files differnew file mode 100644 index 0000000..0627d7a --- /dev/null +++ b/src/mdaEPiano/data/4c-2.raw diff --git a/src/mdaEPiano/data/4g-0.raw b/src/mdaEPiano/data/4g-0.raw Binary files differnew file mode 100644 index 0000000..a1e4ae5 --- /dev/null +++ b/src/mdaEPiano/data/4g-0.raw diff --git a/src/mdaEPiano/data/4g-1.raw b/src/mdaEPiano/data/4g-1.raw Binary files differnew file mode 100644 index 0000000..a1e4ae5 --- /dev/null +++ b/src/mdaEPiano/data/4g-1.raw diff --git a/src/mdaEPiano/data/4g-2.raw b/src/mdaEPiano/data/4g-2.raw Binary files differnew file mode 100644 index 0000000..96cbcfc --- /dev/null +++ b/src/mdaEPiano/data/4g-2.raw diff --git a/src/mdaEPiano/data/5c-0.raw b/src/mdaEPiano/data/5c-0.raw Binary files differnew file mode 100644 index 0000000..85c3e2a --- /dev/null +++ b/src/mdaEPiano/data/5c-0.raw diff --git a/src/mdaEPiano/data/5c-1.raw b/src/mdaEPiano/data/5c-1.raw Binary files differnew file mode 100644 index 0000000..85c3e2a --- /dev/null +++ b/src/mdaEPiano/data/5c-1.raw diff --git a/src/mdaEPiano/data/5c-2.raw b/src/mdaEPiano/data/5c-2.raw Binary files differnew file mode 100644 index 0000000..d39702e --- /dev/null +++ b/src/mdaEPiano/data/5c-2.raw diff --git a/src/mdaEPiano/data/convert.rb b/src/mdaEPiano/data/convert.rb new file mode 100644 index 0000000..f5210fb --- /dev/null +++ b/src/mdaEPiano/data/convert.rb @@ -0,0 +1,93 @@ +f = File.open("samples.raw", "r") + +kgrp = [] + +kgrp[ 0]={}; kgrp[ 0][:pos] = 0; kgrp[ 0][:end] = 8476; +kgrp[ 1]={}; kgrp[ 1][:pos] = 8477; kgrp[ 1][:end] = 16248; +kgrp[ 2]={}; kgrp[ 2][:pos] = 16249; kgrp[ 2][:end] = 34565; +kgrp[ 3]={}; kgrp[ 3][:pos] = 34566; kgrp[ 3][:end] = 41384; +kgrp[ 4]={}; kgrp[ 4][:pos] = 41385; kgrp[ 4][:end] = 45760; +kgrp[ 5]={}; kgrp[ 5][:pos] = 45761; kgrp[ 5][:end] = 65211; +kgrp[ 6]={}; kgrp[ 6][:pos] = 65212; kgrp[ 6][:end] = 72897; +kgrp[ 7]={}; kgrp[ 7][:pos] = 72898; kgrp[ 7][:end] = 78626; +kgrp[ 8]={}; kgrp[ 8][:pos] = 78627; kgrp[ 8][:end] = 100387; +kgrp[ 9]={}; kgrp[ 9][:pos] = 100388; kgrp[ 9][:end] = 116297; +kgrp[10]={}; kgrp[10][:pos] = 116298; kgrp[10][:end] = 127661; +kgrp[11]={}; kgrp[11][:pos] = 127662; kgrp[11][:end] = 144113; +kgrp[12]={}; kgrp[12][:pos] = 144114; kgrp[12][:end] = 152863; +kgrp[13]={}; kgrp[13][:pos] = 152864; kgrp[13][:end] = 173107; +kgrp[14]={}; kgrp[14][:pos] = 173108; kgrp[14][:end] = 192734; +kgrp[15]={}; kgrp[15][:pos] = 192735; kgrp[15][:end] = 204598; +kgrp[16]={}; kgrp[16][:pos] = 204599; kgrp[16][:end] = 218995; +kgrp[17]={}; kgrp[17][:pos] = 218996; kgrp[17][:end] = 233801; +kgrp[18]={}; kgrp[18][:pos] = 233802; kgrp[18][:end] = 248011; +kgrp[19]={}; kgrp[19][:pos] = 248012; kgrp[19][:end] = 265287; +kgrp[20]={}; kgrp[20][:pos] = 265288; kgrp[20][:end] = 282255; +kgrp[21]={}; kgrp[21][:pos] = 282256; kgrp[21][:end] = 293776; +kgrp[22]={}; kgrp[22][:pos] = 293777; kgrp[22][:end] = 312566; +kgrp[23]={}; kgrp[23][:pos] = 312567; kgrp[23][:end] = 330200; +kgrp[24]={}; kgrp[24][:pos] = 330201; kgrp[24][:end] = 348889; +kgrp[25]={}; kgrp[25][:pos] = 348890; kgrp[25][:end] = 365675; +kgrp[26]={}; kgrp[26][:pos] = 365676; kgrp[26][:end] = 383661; +kgrp[27]={}; kgrp[27][:pos] = 383662; kgrp[27][:end] = 393372; +kgrp[28]={}; kgrp[28][:pos] = 383662; kgrp[28][:end] = 393372; +kgrp[29]={}; kgrp[29][:pos] = 393373; kgrp[29][:end] = 406045; +kgrp[30]={}; kgrp[30][:pos] = 406046; kgrp[30][:end] = 414486; +kgrp[31]={}; kgrp[31][:pos] = 406046; kgrp[31][:end] = 414486; +kgrp[32]={}; kgrp[32][:pos] = 414487; kgrp[32][:end] = 422408; + +(0..32).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-0" +kgrp[ 1][:name] = "0c-1" +kgrp[ 2][:name] = "0c-2" + +kgrp[ 3][:name] = "0g-0" +kgrp[ 4][:name] = "0g-1" +kgrp[ 5][:name] = "0g-2" + +kgrp[ 6][:name] = "1c-0" +kgrp[ 7][:name] = "1c-1" +kgrp[ 8][:name] = "1c-2" + +kgrp[ 9][:name] = "1g-0" +kgrp[10][:name] = "1g-1" +kgrp[11][:name] = "1g-2" + +kgrp[12][:name] = "2c-0" +kgrp[13][:name] = "2c-1" +kgrp[14][:name] = "2c-2" + +kgrp[15][:name] = "2g-0" +kgrp[16][:name] = "2g-1" +kgrp[17][:name] = "2g-2" + +kgrp[18][:name] = "3c-0" +kgrp[19][:name] = "3c-1" +kgrp[20][:name] = "3c-2" + +kgrp[21][:name] = "3g-0" +kgrp[22][:name] = "3g-1" +kgrp[23][:name] = "3g-2" + +kgrp[24][:name] = "4c-0" +kgrp[25][:name] = "4c-1" +kgrp[26][:name] = "4c-2" + +kgrp[27][:name] = "4g-0" +kgrp[28][:name] = "4g-1" +kgrp[29][:name] = "4g-2" + +kgrp[30][:name] = "5c-0" +kgrp[31][:name] = "5c-1" +kgrp[32][:name] = "5c-2" + +kgrp.each do |k| + f = File.open("#{k[:name]}.raw", "w") + f.write k[:data] + f.close +end diff --git a/src/mdaEPiano/presets/autopan.ttl b/src/mdaEPiano/presets/autopan.ttl new file mode 100644 index 0000000..2daac4c --- /dev/null +++ b/src/mdaEPiano/presets/autopan.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/mdaEPiano/presets#> . + +pre:autopan + a pset:Preset ; + rdfs:label "Autopan" ; + pset:appliesTo base:mdaEPiano ; + + lv2:port [ + lv2:symbol "envelope_decay" ; + pset:value 0.500 + ] , [ + lv2:symbol "envelope_release" ; + pset:value 0.500 + ] , [ + lv2:symbol "hardness" ; + pset:value 0.500 + ] , [ + lv2:symbol "treble_boost" ; + pset:value 0.500 + ] , [ + lv2:symbol "modulation" ; + pset:value 0.250 + ] , [ + lv2:symbol "lfo_rate" ; + pset:value 0.650 + ] , [ + lv2:symbol "velocity_sensitivity" ; + pset:value 0.250 + ] , [ + lv2:symbol "stereo_width" ; + pset:value 0.500 + ] , [ + lv2:symbol "polyphony" ; + pset:value 0.500 + ] , [ + lv2:symbol "fine_tuning" ; + pset:value 0.500 + ] , [ + lv2:symbol "random_tuning" ; + pset:value 0.246 + ] , [ + lv2:symbol "overdrive" ; + pset:value 0.0 + ] . diff --git a/src/mdaEPiano/presets/bright.ttl b/src/mdaEPiano/presets/bright.ttl new file mode 100644 index 0000000..d8f44ee --- /dev/null +++ b/src/mdaEPiano/presets/bright.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/mdaEPiano/presets#> . + +pre:bright + a pset:Preset ; + rdfs:label "Bright" ; + pset:appliesTo base:mdaEPiano ; + + lv2:port [ + lv2:symbol "envelope_decay" ; + pset:value 0.500 + ] , [ + lv2:symbol "envelope_release" ; + pset:value 0.500 + ] , [ + lv2:symbol "hardness" ; + pset:value 1.000 + ] , [ + lv2:symbol "treble_boost" ; + pset:value 0.800 + ] , [ + lv2:symbol "modulation" ; + pset:value 0.500 + ] , [ + lv2:symbol "lfo_rate" ; + pset:value 0.650 + ] , [ + lv2:symbol "velocity_sensitivity" ; + pset:value 0.250 + ] , [ + lv2:symbol "stereo_width" ; + pset:value 0.500 + ] , [ + lv2:symbol "polyphony" ; + pset:value 0.500 + ] , [ + lv2:symbol "fine_tuning" ; + pset:value 0.500 + ] , [ + lv2:symbol "random_tuning" ; + pset:value 0.146 + ] , [ + lv2:symbol "overdrive" ; + pset:value 0.500 + ] . diff --git a/src/mdaEPiano/presets/default.ttl b/src/mdaEPiano/presets/default.ttl new file mode 100644 index 0000000..33b6411 --- /dev/null +++ b/src/mdaEPiano/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/mdaEPiano/presets#> . + +pre:default + a pset:Preset ; + rdfs:label "Default" ; + pset:appliesTo base:mdaEPiano ; + + lv2:port [ + lv2:symbol "envelope_decay" ; + pset:value 0.500 + ] , [ + lv2:symbol "envelope_release" ; + pset:value 0.500 + ] , [ + lv2:symbol "hardness" ; + pset:value 0.500 + ] , [ + lv2:symbol "treble_boost" ; + pset:value 0.500 + ] , [ + lv2:symbol "modulation" ; + pset:value 0.500 + ] , [ + lv2:symbol "lfo_rate" ; + pset:value 0.650 + ] , [ + lv2:symbol "velocity_sensitivity" ; + pset:value 0.250 + ] , [ + lv2:symbol "stereo_width" ; + pset:value 0.500 + ] , [ + lv2:symbol "polyphony" ; + pset:value 0.500 + ] , [ + lv2:symbol "fine_tuning" ; + pset:value 0.500 + ] , [ + lv2:symbol "random_tuning" ; + pset:value 0.146 + ] , [ + lv2:symbol "overdrive" ; + pset:value 0.0 + ] . diff --git a/src/mdaEPiano/presets/mellow.ttl b/src/mdaEPiano/presets/mellow.ttl new file mode 100644 index 0000000..a593368 --- /dev/null +++ b/src/mdaEPiano/presets/mellow.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/mdaEPiano/presets#> . + +pre:mellow + a pset:Preset ; + rdfs:label "Mellow" ; + pset:appliesTo base:mdaEPiano ; + + lv2:port [ + lv2:symbol "envelope_decay" ; + pset:value 0.500 + ] , [ + lv2:symbol "envelope_release" ; + pset:value 0.500 + ] , [ + lv2:symbol "hardness" ; + pset:value 0.000 + ] , [ + lv2:symbol "treble_boost" ; + pset:value 0.000 + ] , [ + lv2:symbol "modulation" ; + pset:value 0.500 + ] , [ + lv2:symbol "lfo_rate" ; + pset:value 0.650 + ] , [ + lv2:symbol "velocity_sensitivity" ; + pset:value 0.250 + ] , [ + lv2:symbol "stereo_width" ; + pset:value 0.500 + ] , [ + lv2:symbol "polyphony" ; + pset:value 0.500 + ] , [ + lv2:symbol "fine_tuning" ; + pset:value 0.500 + ] , [ + lv2:symbol "random_tuning" ; + pset:value 0.246 + ] , [ + lv2:symbol "overdrive" ; + pset:value 0.0 + ] . diff --git a/src/mdaEPiano/presets/tremolo.ttl b/src/mdaEPiano/presets/tremolo.ttl new file mode 100644 index 0000000..c1c14eb --- /dev/null +++ b/src/mdaEPiano/presets/tremolo.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/mdaEPiano/presets#> . + +pre:tremolo + a pset:Preset ; + rdfs:label "Tremolo" ; + pset:appliesTo base:mdaEPiano ; + + lv2:port [ + lv2:symbol "envelope_decay" ; + pset:value 0.500 + ] , [ + lv2:symbol "envelope_release" ; + pset:value 0.500 + ] , [ + lv2:symbol "hardness" ; + pset:value 0.500 + ] , [ + lv2:symbol "treble_boost" ; + pset:value 0.500 + ] , [ + lv2:symbol "modulation" ; + pset:value 0.750 + ] , [ + lv2:symbol "lfo_rate" ; + pset:value 0.650 + ] , [ + lv2:symbol "velocity_sensitivity" ; + pset:value 0.250 + ] , [ + lv2:symbol "stereo_width" ; + pset:value 0.500 + ] , [ + lv2:symbol "polyphony" ; + pset:value 0.500 + ] , [ + lv2:symbol "fine_tuning" ; + pset:value 0.500 + ] , [ + lv2:symbol "random_tuning" ; + pset:value 0.246 + ] , [ + lv2:symbol "overdrive" ; + pset:value 0.0 + ] . |