From 59e6da5f73bc951ed09480751524471c94f267d8 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 25 Nov 2016 14:14:02 +0100 Subject: [PATCH] Added placeholder for unisono. Added changeable engine type via Dexed.ttl --- bin/dx7sysex2lv2 | 162 +++++++++++++++++++++++++ patches/rom1A.syx | Bin 0 -> 4104 bytes src/Dexed.ttl | 298 ++++++++++++++++++++++++---------------------- src/dexed.cpp | 12 +- src/dexed.h | 2 - 5 files changed, 326 insertions(+), 148 deletions(-) create mode 100755 bin/dx7sysex2lv2 create mode 100755 patches/rom1A.syx diff --git a/bin/dx7sysex2lv2 b/bin/dx7sysex2lv2 new file mode 100755 index 0000000..fce87d9 --- /dev/null +++ b/bin/dx7sysex2lv2 @@ -0,0 +1,162 @@ +#!/usr/bin/perl +# +# dx7sysex2lv2 - SysEx patchset to LV2 converter for +# Dexed.lv2 - LV2 plugin +# +# (c) by H. Wirtz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# +# Hints: +# https://github.com/rogerallen/dxsyx/blob/master/dx7-sysex-format.txt +# +# $ hexdump -v -s6 -e '/1 "%_ad# "' -e '/1 "%02X hex"' -e '/1 " | %03i dec"' -e '/1 " | %03o oct"' -e '/1 " | _%c\_\n"' rom1A.syx |less +# + +$DXSYX="/usr/local/bin/dxsyx"; + +$LV2_BUNDLE_NAME="dexed.lv2"; +$LV2_URI="https://github.com/dcoredump/".$LV2_BUNDLE_NAME; +$LV2_INSTALL_PATH=$ENV{'HOME'}."/.lv2"; + +$SYSEX=$ARGV[0]; +$BANK=$SYSEX; +$BANK=~s{.*/}{}; # removes path +$BANK=~s{\.[^.]+$}{}; # removes extension + +$_LV2_BUNDLE_NAME="dexed_lv2"; + +open(SYSEX,"$DXSYX -y $SYSEX |") || die ("Cannot open \'$DXSYX -y $SYSEX\': $!"); +while($s=) +{ + chop($s); + next if($s=~/^\s*$/); + next if($s=~/^\s*---\s*$/); + next if($s=~/^\s*filename/); + if($s=~/^\s+voice_name:\s+(.+)\s*/) + { + my($voice)=$1; + $voice=~s/\s+$//; # right trim + my($voice_name)=$voice; + $voice=~tr/ /_/; + $voice=~tr/-/_/; + + if($deeaxe_voice) + { + print $deeaxe_voice " ] .\n"; + close($deeaxe_voice); + } + + my($path)=$LV2_INSTALL_PATH."/".$_LV2_BUNDLE_NAME."-".$BANK."_".$voice.".lv2"; + print "Writing ".$path."/".$BANK."_".$voice.".ttl\n"; + + if(!-d $path) + { + mkdir($path) || die("Cannot create dir \'$path\':$!\n"); + } + + write_manifest($path,$voice); + + open($deeaxe_voice,">".$path."/".$BANK."_".$voice.".ttl") || die ("Cannot open \'".$path."/".$BANK."_".$voice.".ttl\': $!"); + write_preset_header($voice,$voice_name); + next; + } + else + { + print $deeaxe_voice " ] , [\n"; + } + if($s=~/^\s+(.+):\s*(\d+)/) + { + print_lv2_port($1,$2); + } +} + +if($deeaxe_voice) +{ + print $deeaxe_voice " ] .\n"; + close($deeaxe_voice); +} +close(SYSEX); + +sub write_preset_header +{ + ($voice,$voice_name)=@_; + print $deeaxe_voice "\@prefix atom: .\n"; + print $deeaxe_voice "\@prefix lv2: .\n"; + print $deeaxe_voice "\@prefix pset: .\n"; + print $deeaxe_voice "\@prefix rdf: .\n"; + print $deeaxe_voice "\@prefix rdfs: .\n"; + print $deeaxe_voice "\@prefix state: .\n"; + print $deeaxe_voice "\@prefix xsd: .\n"; + print $deeaxe_voice "\n"; + #print $deeaxe_voice "<".$LV2_URI."#".$BANK."_".$voice.">\n"; + print $deeaxe_voice "<>\n"; + print $deeaxe_voice " a pset:Preset ;\n"; + print $deeaxe_voice " lv2:appliesTo <".$LV2_URI."> ;\n"; + print $deeaxe_voice " rdfs:label \"".$voice_name."\" ;\n"; + print $deeaxe_voice " lv2:port [\n"; + print_lv2_port("cutoff","1.0"); + print $deeaxe_voice " ] , [\n"; + print_lv2_port("resonance","0.0"); + print $deeaxe_voice " ] , [\n"; + print_lv2_port("output","1.0"); + print $deeaxe_voice " ] , [\n"; + print_lv2_port("engine","2.0"); + print $deeaxe_voice " ] , [\n"; + print_lv2_port("unisono","0.0"); +} + +sub write_manifest +{ + ($path,$voice)=@_; + + open(MANIFEST,">$path/manifest.ttl")||die("Cannot open \'$path/manifest.ttl\': $!\n"); + print MANIFEST "\@prefix atom: .\n"; + print MANIFEST "\@prefix lv2: .\n"; + print MANIFEST "\@prefix pset: .\n"; + print MANIFEST "\@prefix rdf: .\n"; + print MANIFEST "\@prefix rdfs: .\n"; + print MANIFEST "\@prefix state: .\n"; + print MANIFEST "\@prefix xsd: .\n"; + + print MANIFEST "\n"; + #print MANIFEST "<".$LV2_URI."#".$BANK."_".$voice.">\n"; + print MANIFEST "<".$BANK."_".$voice.".ttl>\n"; + print MANIFEST " lv2:appliesTo <".$LV2_URI."> ;\n"; + #print MANIFEST " a pset:Bank $BANK ;\n"; + print MANIFEST " a pset:Preset ;\n"; + print MANIFEST " rdfs:seeAlso <".$BANK."_".$voice.".ttl> .\n"; + close(MANIFEST); +} + +sub print_lv2_port +{ + ($port_name,$port_val)=@_; + + # Specials + if($port_name eq "algorithm_num") + { + $port_val+=1; + } + if($port_name=~/op\d_osc_detune/) + { + $port_val-=7; + } + + print $deeaxe_voice " lv2:symbol \"".$port_name."\" ;\n"; + $port_val.=".0" if($port_val!~/\./); + print $deeaxe_voice " pset:value ".$port_val."\n"; +} + diff --git a/patches/rom1A.syx b/patches/rom1A.syx new file mode 100755 index 0000000000000000000000000000000000000000..ae79b4627aa29f6388aec5d1e9eb0f887d06cf94 GIT binary patch literal 4104 zcmZ8k+f(9R5^h4o$V3oDCyW^9v zzf(oc_*Gv{cYob|^4|(A7?c$H)nxKQu~T!dpjZ;!Z12^@WI{2bU`d&L1u}{N(6&A# z;tZUpe%7tgnAT~2{trD6HQJ&sp2n~d2>zi7(fw#tFmYCcJ2Xcb?b0gudWK;n4G}Y7 z?1@rvm!U3^1Kc_ONqhz3{{)OrpbHzjaCh&jxBzU-`llKHrg4)A*C1e@3%U)gCeGH( zN%7nU5>)f~E{AJodJ1IdR-)tRnkgO-CQeqqk!WWtSnJz=66NHYL}%K{nJbaw482vH z_(Opx;!mh<{3#>758D>%_pr2XODB@fQiWJ3N9)-=Yk?Q$~M~s8tUot>HPH z@`b1;(UBJ36aAWfrJOqB-xJ&*g$%8CZ#6sh9`fI4`wcO4E}x;=61AIt{S&y9DS7QT zCX;P0BV4v+N(KEVuEf7-DAV2Id_)X&+lWHfG9@zplTQ^$xcP_wJB8w^>)$ler9;G@ zp|c2ibIK{=uk0fJYv=CrNBqwYptK}1e@FMk@P$&7f;T54I#G|Ntl{G{ekA1gM&v*Y z2U8m}@dtwX@djxh{!{;m-;z20GdDUAQl`wc|L8NAhD@hl;vdVDJ~oQt)p4hA{=1o3 z75JZt|H4NZ_13C1sz^fF5ELQN;+y&@P3XV7+;&U^h!S*3Y57&k-F;s>5*<4hsxq1G zB9VX)f=-NUZ;`S-w18`4k#6XbCBg||L8VXL!&&|(>M~TxIk|<|FUmuljl$M*vSCq zUskj@-LZ6-GV585?jF}#4*!Bw(1mXX2vA|^*+-qJ#MT14ga4OEtRUZ9xa zdX0nPQwT$%)ot1HcYZ!f9&bjg_nY@+%bvf7p1K&fs6fZwjM4;|go+eL!T%uqbN*fbrXgwt7<@;m zRw+*>TlOEKT(E1mM+dmjP%j8nH-Rg4s4kOuB;sy!RM0XUsu(}pDk-W1AQkbCY@p0F zORMojH&{O%a5 z=!i^U6AFyKE!@6`ikpSI@nh|5;eL4{Ss#g-}JNqVZa5zd?rAyw{&hmvo zr4q2gDjwJW()_PY!u)mpBmbvs1J>n}p*N(v3jo#S(;)QjEHI`w+^&0Sxe`y1Fh!VE zI0!$s%bVnxRf)5T%fDYr6jCMd|JJIPJBYs#iPYHGvEQTSm3Eklkw{U9S9T9Vyvq!L zVeeG%`vE*DB;LA~ievs^A-Djm6bQ^XibS@Bm>?l06=(Cm9OV9sWBzoj&iiB3 z0GHoiCM7z(lC+}l>8CBYm-^;ED>l+E}0KBHa6wI0ZkNBrY|aTT`^}>Qu04kD$Gzm z_WWC9BFD8#yZnIhkNk^-Fol8nqpE6A&+63eYo-|N6Nby&U!ENfKsMmzb=&P9n9NXC zDJ(U79}+QHRh@;b!)U~j$mu3ZHgV?9+TsuR-_#zOmsQ6rz?7+*B+~ zl2Z))jPgn*0P7RzW8G{fvHu~Dljm?ngXmLYj0(k*A3Hpc_4LtyKAV3@?WSxsZ!XKY zf|cG$h&whlN9XdLk6w0u{^a^Q0O~)`Lov)la62TQ%NRFrrHxJ3f018T;!0159;^82 zoCI3nJh$aaoT~$g`UoP40^t1<4+ZzM*6ls7UmQ`I6h-AXZ#VTx=}GDGE)}_AX*xhd zW^Dc!KKW00ZtS*-Plp<-cnwe6=Km=-1fLh^^gIG1p7hZrOp5sE2HpA(dcmu0&{&4rldV9+>`Khn-t+C|i;`F>K0NB~Zf|+ZOILgKr)rKfu(r>5~sp0dKwUw;s_whoS zc=M=#sWtunlY{uI7Np_j-|TSv8_#R_RGSVn_$PYOzVA$X8TlW}p2a{I?Z!9Y4UK=> zQSq&^3uZWg>an^jfi4=-0mc$71VUTIu?q;rV{E)Fne%sIK`8_6(|x&BHEwG)!$|$_ E|5<8nasU7T literal 0 HcmV?d00001 diff --git a/src/Dexed.ttl b/src/Dexed.ttl index 7ac9b86..61f025c 100644 --- a/src/Dexed.ttl +++ b/src/Dexed.ttl @@ -69,6 +69,16 @@ [ a lv2:InputPort, lv2:ControlPort ; lv2:index 6 ; + lv2:symbol "unisono" ; + lv2:name "UNISONO" ; + lv2:default 0 ; + lv2:minimum 0 ; + lv2:maximum 1 ; + lv2:portProperty lv2:toggled, lv2:integer ; + ] , + [ + a lv2:InputPort, lv2:ControlPort ; + lv2:index 7 ; lv2:symbol "algorithm_num" ; lv2:name "ALGORITHM" ; lv2:default 5 ; @@ -78,7 +88,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 7 ; + lv2:index 8 ; lv2:symbol "feedback" ; lv2:name "FEEDBACK" ; lv2:default 6 ; @@ -88,7 +98,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 8 ; + lv2:index 9 ; lv2:symbol "oscillator_sync" ; lv2:name "OSC KEY SYNC" ; lv2:default 0 ; @@ -98,7 +108,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 9 ; + lv2:index 10 ; lv2:symbol "lfo_speed" ; lv2:name "LFO SPEED" ; lv2:default 34 ; @@ -108,7 +118,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 10 ; + lv2:index 11 ; lv2:symbol "lfo_delay" ; lv2:name "LFO DELAY" ; lv2:default 33 ; @@ -118,7 +128,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 11 ; + lv2:index 12 ; lv2:symbol "lfo_pitch_mod_depth" ; lv2:name "LFO PM DEPTH" ; lv2:default 0 ; @@ -128,7 +138,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 12 ; + lv2:index 13 ; lv2:symbol "lfo_amp_mod_depth" ; lv2:name "LFO AM DEPTH" ; lv2:default 0 ; @@ -138,7 +148,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 13 ; + lv2:index 14 ; lv2:symbol "lfo_sync" ; lv2:name "LFO KEY SYNC" ; lv2:default 0 ; @@ -148,7 +158,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 14 ; + lv2:index 15 ; lv2:symbol "lfo_waveform" ; lv2:name "LFO WAVE" ; lv2:default 4 ; @@ -158,7 +168,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 15 ; + lv2:index 16 ; lv2:symbol "transpose" ; lv2:name "MIDDLE C" ; lv2:default 24 ; @@ -168,7 +178,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 16 ; + lv2:index 17 ; lv2:symbol "pitch_mod_sensitivity" ; lv2:name "P MODE SENS." ; lv2:default 3 ; @@ -178,7 +188,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 17 ; + lv2:index 18 ; lv2:symbol "pitch_eg_rate_1" ; lv2:name "PITCH EG RATE 1" ; lv2:default 94 ; @@ -188,7 +198,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 18 ; + lv2:index 19 ; lv2:symbol "pitch_eg_rate_2" ; lv2:name "PITCH EG RATE 2" ; lv2:default 67 ; @@ -198,7 +208,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 19 ; + lv2:index 20 ; lv2:symbol "pitch_eg_rate_3" ; lv2:name "PITCH EG RATE 3" ; lv2:default 95 ; @@ -208,7 +218,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 20 ; + lv2:index 21 ; lv2:symbol "pitch_eg_rate_4" ; lv2:name "PITCH EG RATE 4" ; lv2:default 60 ; @@ -218,7 +228,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 21 ; + lv2:index 22 ; lv2:symbol "pitch_eg_level_1" ; lv2:name "PITCH EG LEVEL 1" ; lv2:default 50 ; @@ -228,7 +238,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 22 ; + lv2:index 23 ; lv2:symbol "pitch_eg_level_2" ; lv2:name "PITCH EG LEVEL 2" ; lv2:default 50 ; @@ -238,7 +248,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 23 ; + lv2:index 24 ; lv2:symbol "pitch_eg_level_3" ; lv2:name "PITCH EG LEVEL 3" ; lv2:default 50 ; @@ -248,7 +258,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 24 ; + lv2:index 25 ; lv2:symbol "pitch_eg_level_4" ; lv2:name "PITCH EG LEVEL 4" ; lv2:default 50 ; @@ -258,7 +268,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 25 ; + lv2:index 26 ; lv2:symbol "op1_eg_rate_1" ; lv2:name "OP1 EG RATE 1" ; lv2:default 96 ; @@ -268,7 +278,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 26 ; + lv2:index 27 ; lv2:symbol "op1_eg_rate_2" ; lv2:name "OP1 EG RATE 2" ; lv2:default 25 ; @@ -278,7 +288,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 27 ; + lv2:index 28 ; lv2:symbol "op1_eg_rate_3" ; lv2:name "OP1 EG RATE 3" ; lv2:default 25 ; @@ -288,7 +298,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 28 ; + lv2:index 29 ; lv2:symbol "op1_eg_rate_4" ; lv2:name "OP1 EG RATE 4" ; lv2:default 67 ; @@ -298,7 +308,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 29 ; + lv2:index 30 ; lv2:symbol "op1_eg_level_1" ; lv2:name "OP1 EG LEVEL 1" ; lv2:default 99 ; @@ -308,7 +318,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 30 ; + lv2:index 31 ; lv2:symbol "op1_eg_level_2" ; lv2:name "OP1 EG LEVEL 2" ; lv2:default 75 ; @@ -318,7 +328,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 31 ; + lv2:index 32 ; lv2:symbol "op1_eg_level_3" ; lv2:name "OP1 EG LEVEL 3" ; lv2:default 0 ; @@ -328,7 +338,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 32 ; + lv2:index 33 ; lv2:symbol "op1_eg_level_4" ; lv2:name "OP1 EG LEVEL 4" ; lv2:default 0 ; @@ -338,7 +348,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 33 ; + lv2:index 34 ; lv2:symbol "op1_operator_output_level" ; lv2:name "OP1 OUTPUT LEVEL" ; lv2:default 99 ; @@ -348,7 +358,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 34 ; + lv2:index 35 ; lv2:symbol "op1_osc_mode" ; lv2:name "OP1 MODE" ; lv2:default 0 ; @@ -358,7 +368,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 35 ; + lv2:index 36 ; lv2:symbol "op1_osc_freq_coarse" ; lv2:name "OP1 F COARSE" ; lv2:default 1 ; @@ -368,7 +378,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 36 ; + lv2:index 37 ; lv2:symbol "op1_osc_freq_fine" ; lv2:name "OP1 F FINE" ; lv2:default 0 ; @@ -378,7 +388,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 37 ; + lv2:index 38 ; lv2:symbol "op1_osc_detune" ; lv2:name "OP1 OSC DETUNE" ; lv2:default 3 ; @@ -388,7 +398,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 38 ; + lv2:index 39 ; lv2:symbol "op1_kbd_lev_scl_brk_pt" ; lv2:name "OP1 BREAK POINT" ; lv2:default 0 ; @@ -398,7 +408,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 39 ; + lv2:index 40 ; lv2:symbol "op1_kbd_lev_scl_lft_depth" ; lv2:name "OP1 L SCALE DEPTH" ; lv2:default 0 ; @@ -408,7 +418,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 40 ; + lv2:index 41 ; lv2:symbol "op1_kbd_lev_scl_rht_depth" ; lv2:name "OP1 R SCALE DEPTH" ; lv2:default 0 ; @@ -418,7 +428,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 41 ; + lv2:index 42 ; lv2:symbol "op1_kbd_lev_scl_lft_curve" ; lv2:name "OP1 L KEY CURVE" ; lv2:default 0 ; @@ -428,7 +438,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 42 ; + lv2:index 43 ; lv2:symbol "op1_kbd_lev_scl_rht_curve" ; lv2:name "OP1 R KEY CURVE" ; lv2:default 0 ; @@ -438,7 +448,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 43 ; + lv2:index 44 ; lv2:symbol "op1_kbd_rate_scaling" ; lv2:name "OP1 RATE SCALING" ; lv2:default 3 ; @@ -448,7 +458,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 44 ; + lv2:index 45 ; lv2:symbol "op1_amp_mod_sensitivity" ; lv2:name "OP1 A MOD SENS." ; lv2:default 0 ; @@ -458,7 +468,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 45 ; + lv2:index 46 ; lv2:symbol "op1_key_vel_sensitivity" ; lv2:name "OP1 KEY VELOCITY" ; lv2:default 2 ; @@ -468,7 +478,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 46 ; + lv2:index 47 ; lv2:symbol "op2_eg_rate_1" ; lv2:name "OP2 EG RATE 1" ; lv2:default 95 ; @@ -478,7 +488,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 47 ; + lv2:index 48 ; lv2:symbol "op2_eg_rate_2" ; lv2:name "OP2 EG RATE 2" ; lv2:default 50 ; @@ -488,7 +498,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 48 ; + lv2:index 49 ; lv2:symbol "op2_eg_rate_3" ; lv2:name "OP2 EG RATE 3" ; lv2:default 35 ; @@ -498,7 +508,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 49 ; + lv2:index 50 ; lv2:symbol "op2_eg_rate_4" ; lv2:name "OP2 EG RATE 4" ; lv2:default 78 ; @@ -508,7 +518,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 50 ; + lv2:index 51 ; lv2:symbol "op2_eg_level_1" ; lv2:name "OP2 EG LEVEL 1" ; lv2:default 99 ; @@ -518,7 +528,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 51 ; + lv2:index 52 ; lv2:symbol "op2_eg_level_2" ; lv2:name "OP2 EG LEVEL 2" ; lv2:default 75 ; @@ -528,7 +538,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 52 ; + lv2:index 53 ; lv2:symbol "op2_eg_level_3" ; lv2:name "OP2 EG LEVEL 3" ; lv2:default 0 ; @@ -538,7 +548,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 53 ; + lv2:index 54 ; lv2:symbol "op2_eg_level_4" ; lv2:name "OP2 EG LEVEL 4" ; lv2:default 0 ; @@ -548,7 +558,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 54 ; + lv2:index 55 ; lv2:symbol "op2_operator_output_level" ; lv2:name "OP2 OUTPUT LEVEL" ; lv2:default 58 ; @@ -558,7 +568,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 55 ; + lv2:index 56 ; lv2:symbol "op2_osc_mode" ; lv2:name "OP2 MODE" ; lv2:default 0 ; @@ -568,7 +578,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 56 ; + lv2:index 57 ; lv2:symbol "op2_osc_freq_coarse" ; lv2:name "OP2 F COARSE" ; lv2:default 14 ; @@ -578,7 +588,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 57 ; + lv2:index 58 ; lv2:symbol "op2_osc_freq_fine" ; lv2:name "OP2 F FINE" ; lv2:default 0 ; @@ -588,7 +598,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 58 ; + lv2:index 59 ; lv2:symbol "op2_osc_detune" ; lv2:name "OP2 OSC DETUNE" ; lv2:default 0 ; @@ -598,7 +608,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 59 ; + lv2:index 60 ; lv2:symbol "op2_kbd_lev_scl_brk_pt" ; lv2:name "OP2 BREAK POINT" ; lv2:default 0 ; @@ -608,7 +618,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 60 ; + lv2:index 61 ; lv2:symbol "op2_kbd_lev_scl_lft_depth" ; lv2:name "OP2 L SCALE DEPTH" ; lv2:default 0 ; @@ -618,7 +628,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 61 ; + lv2:index 62 ; lv2:symbol "op2_kbd_lev_scl_rht_depth" ; lv2:name "OP2 R SCALE DEPTH" ; lv2:default 0 ; @@ -628,7 +638,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 62 ; + lv2:index 63 ; lv2:symbol "op2_kbd_lev_scl_lft_curve" ; lv2:name "OP2 L KEY SCALE" ; lv2:default 0 ; @@ -638,7 +648,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 63 ; + lv2:index 64 ; lv2:symbol "op2_kbd_lev_scl_rht_curve" ; lv2:name "OP2 R KEY SCALE" ; lv2:default 0 ; @@ -648,7 +658,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 64 ; + lv2:index 65 ; lv2:symbol "op2_kbd_rate_scaling" ; lv2:name "OP2 RATE SCALING" ; lv2:default 3 ; @@ -658,7 +668,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 65 ; + lv2:index 66 ; lv2:symbol "op2_amp_mod_sensitivity" ; lv2:name "OP2 A MOD SENS." ; lv2:default 0 ; @@ -668,7 +678,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 66 ; + lv2:index 67 ; lv2:symbol "op2_key_vel_sensitivity" ; lv2:name "OP2 KEY VELOCITY" ; lv2:default 7 ; @@ -678,7 +688,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 67 ; + lv2:index 68 ; lv2:symbol "op3_eg_rate_1" ; lv2:name "OP3 EG RATE 1" ; lv2:default 95 ; @@ -688,7 +698,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 68 ; + lv2:index 69 ; lv2:symbol "op3_eg_rate_2" ; lv2:name "OP3 EG RATE 2" ; lv2:default 20 ; @@ -698,7 +708,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 69 ; + lv2:index 70 ; lv2:symbol "op3_eg_rate_3" ; lv2:name "OP3 EG RATE 3" ; lv2:default 20 ; @@ -708,7 +718,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 70 ; + lv2:index 71 ; lv2:symbol "op3_eg_rate_4" ; lv2:name "OP3 EG RATE 4" ; lv2:default 50 ; @@ -718,7 +728,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 71 ; + lv2:index 72 ; lv2:symbol "op3_eg_level_1" ; lv2:name "OP3 EG LEVEL 1" ; lv2:default 99 ; @@ -728,7 +738,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 72 ; + lv2:index 73 ; lv2:symbol "op3_eg_level_2" ; lv2:name "OP3 EG LEVEL 2" ; lv2:default 95 ; @@ -738,7 +748,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 73 ; + lv2:index 74 ; lv2:symbol "op3_eg_level_3" ; lv2:name "OP3 EG LEVEL 3" ; lv2:default 0 ; @@ -748,7 +758,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 74 ; + lv2:index 75 ; lv2:symbol "op3_eg_level_4" ; lv2:name "OP3 EG LEVEL 4" ; lv2:default 0 ; @@ -758,7 +768,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 75 ; + lv2:index 76 ; lv2:symbol "op3_operator_output_level" ; lv2:name "OP3 OUTPUT LEVEL" ; lv2:default 99 ; @@ -768,7 +778,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 76 ; + lv2:index 77 ; lv2:symbol "op3_osc_mode" ; lv2:name "OP3 MODE" ; lv2:default 0 ; @@ -778,7 +788,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 77 ; + lv2:index 78 ; lv2:symbol "op3_osc_freq_coarse" ; lv2:name "OP3 F COARSE" ; lv2:default 1 ; @@ -788,7 +798,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 78 ; + lv2:index 79 ; lv2:symbol "op3_osc_freq_fine" ; lv2:name "OP3 F FINE" ; lv2:default 0 ; @@ -798,7 +808,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 79 ; + lv2:index 80 ; lv2:symbol "op3_osc_detune" ; lv2:name "OP3 OSC DETUNE" ; lv2:default 0 ; @@ -808,7 +818,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 80 ; + lv2:index 81 ; lv2:symbol "op3_kbd_lev_scl_brk_pt" ; lv2:name "OP3 BREAK POINT" ; lv2:default 0 ; @@ -818,7 +828,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 81 ; + lv2:index 82 ; lv2:symbol "op3_kbd_lev_scl_lft_depth" ; lv2:name "OP3 L SCALE DEPTH" ; lv2:default 0 ; @@ -828,7 +838,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 82 ; + lv2:index 83 ; lv2:symbol "op3_kbd_lev_scl_rht_depth" ; lv2:name "OP3 R SCALE DEPTH" ; lv2:default 0 ; @@ -838,7 +848,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 83 ; + lv2:index 84 ; lv2:symbol "op3_kbd_lev_scl_lft_curve" ; lv2:name "OP3 L KEY SCALE" ; lv2:default 0 ; @@ -848,7 +858,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 84 ; + lv2:index 85 ; lv2:symbol "op3_kbd_lev_scl_rht_curve" ; lv2:name "OP3 R KEY SCALE" ; lv2:default 0 ; @@ -858,7 +868,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 85 ; + lv2:index 86 ; lv2:symbol "op3_kbd_rate_scaling" ; lv2:name "OP3 RATE SCALING" ; lv2:default 3 ; @@ -868,7 +878,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 86 ; + lv2:index 87 ; lv2:symbol "op3_amp_mod_sensitivity" ; lv2:name "OP3 A MOD SENS." ; lv2:default 0 ; @@ -878,7 +888,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 87 ; + lv2:index 88 ; lv2:symbol "op3_key_vel_sensitivity" ; lv2:name "OP3 KEY VELOCITY" ; lv2:default 2 ; @@ -888,7 +898,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 88 ; + lv2:index 89 ; lv2:symbol "op4_eg_rate_1" ; lv2:name "OP4 EG RATE 1" ; lv2:default 95 ; @@ -898,7 +908,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 89 ; + lv2:index 90 ; lv2:symbol "op4_eg_rate_2" ; lv2:name "OP4 EG RATE 2" ; lv2:default 29 ; @@ -908,7 +918,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 90 ; + lv2:index 91 ; lv2:symbol "op4_eg_rate_3" ; lv2:name "OP4 EG RATE 3" ; lv2:default 20 ; @@ -918,7 +928,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 91 ; + lv2:index 92 ; lv2:symbol "op4_eg_rate_4" ; lv2:name "OP4 EG RATE 4" ; lv2:default 50 ; @@ -928,7 +938,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 92 ; + lv2:index 93 ; lv2:symbol "op4_eg_level_1" ; lv2:name "OP4 EG LEVEL 1" ; lv2:default 99 ; @@ -938,7 +948,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 93 ; + lv2:index 94 ; lv2:symbol "op4_eg_level_2" ; lv2:name "OP4 EG LEVEL 2" ; lv2:default 95 ; @@ -948,7 +958,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 94 ; + lv2:index 95 ; lv2:symbol "op4_eg_level_3" ; lv2:name "OP4 EG LEVEL 3" ; lv2:default 0 ; @@ -958,7 +968,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 95 ; + lv2:index 96 ; lv2:symbol "op4_eg_level_4" ; lv2:name "OP4 EG LEVEL 4" ; lv2:default 0 ; @@ -968,7 +978,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 96 ; + lv2:index 97 ; lv2:symbol "op4_operator_output_level" ; lv2:name "OP4 OUTPUT LEVEL" ; lv2:default 89 ; @@ -978,7 +988,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 97 ; + lv2:index 98 ; lv2:symbol "op4_osc_mode" ; lv2:name "OP4 MODE" ; lv2:default 0 ; @@ -988,7 +998,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 98 ; + lv2:index 99 ; lv2:symbol "op4_osc_freq_coarse" ; lv2:name "OP4 F COARSE" ; lv2:default 1 ; @@ -998,7 +1008,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 99 ; + lv2:index 100 ; lv2:symbol "op4_osc_freq_fine" ; lv2:name "OP4 F FINE" ; lv2:default 0 ; @@ -1008,7 +1018,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 100 ; + lv2:index 101 ; lv2:symbol "op4_osc_detune" ; lv2:name "OP4 OSC DETUNE" ; lv2:default 0 ; @@ -1018,7 +1028,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 101 ; + lv2:index 102 ; lv2:symbol "op4_kbd_lev_scl_brk_pt" ; lv2:name "OP4 BREAK POINT" ; lv2:default 0 ; @@ -1028,7 +1038,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 102 ; + lv2:index 103 ; lv2:symbol "op4_kbd_lev_scl_lft_depth" ; lv2:name "OP4 L SCALE DEPTH" ; lv2:default 0 ; @@ -1038,7 +1048,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 103 ; + lv2:index 104 ; lv2:symbol "op4_kbd_lev_scl_rht_depth" ; lv2:name "OP4 R SCALE DEPTH" ; lv2:default 0 ; @@ -1048,7 +1058,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 104 ; + lv2:index 105 ; lv2:symbol "op4_kbd_lev_scl_lft_curve" ; lv2:name "OP4 L KEY SCALE" ; lv2:default 0 ; @@ -1058,7 +1068,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 105 ; + lv2:index 106 ; lv2:symbol "op4_kbd_lev_scl_rht_curve" ; lv2:name "OP4 R KEY SCALE" ; lv2:default 0 ; @@ -1068,7 +1078,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 106 ; + lv2:index 107 ; lv2:symbol "op4_kbd_rate_scaling" ; lv2:name "OP4 RATE SCALING" ; lv2:default 3 ; @@ -1078,7 +1088,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 107 ; + lv2:index 108 ; lv2:symbol "op4_amp_mod_sensitivity" ; lv2:name "OP4 A MOD SENS." ; lv2:default 0 ; @@ -1088,7 +1098,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 108 ; + lv2:index 109 ; lv2:symbol "op4_key_vel_sensitivity" ; lv2:name "OP4 KEY VELOCITY" ; lv2:default 6 ; @@ -1098,7 +1108,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 109 ; + lv2:index 110 ; lv2:symbol "op5_eg_rate_1" ; lv2:name "OP5 EG RATE 1" ; lv2:default 95 ; @@ -1108,7 +1118,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 110 ; + lv2:index 111 ; lv2:symbol "op5_eg_rate_2" ; lv2:name "OP5 EG RATE 2" ; lv2:default 20 ; @@ -1118,7 +1128,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 111 ; + lv2:index 112 ; lv2:symbol "op5_eg_rate_3" ; lv2:name "OP5 EG RATE 3" ; lv2:default 20 ; @@ -1128,7 +1138,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 112 ; + lv2:index 113 ; lv2:symbol "op5_eg_rate_4" ; lv2:name "OP5 EG RATE 4" ; lv2:default 50 ; @@ -1138,7 +1148,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 113 ; + lv2:index 114 ; lv2:symbol "op5_eg_level_1" ; lv2:name "OP5 EG LEVEL 1" ; lv2:default 99 ; @@ -1148,7 +1158,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 114 ; + lv2:index 115 ; lv2:symbol "op5_eg_level_2" ; lv2:name "OP5 EG LEVEL 2" ; lv2:default 95 ; @@ -1158,7 +1168,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 115 ; + lv2:index 116 ; lv2:symbol "op5_eg_level_3" ; lv2:name "OP5 EG LEVEL 3" ; lv2:default 0 ; @@ -1168,7 +1178,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 116 ; + lv2:index 117 ; lv2:symbol "op5_eg_level_4" ; lv2:name "OP5 EG LEVEL 4" ; lv2:default 0 ; @@ -1178,7 +1188,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 117 ; + lv2:index 118 ; lv2:symbol "op5_operator_output_level" ; lv2:name "OP5 OUTPUT LEVEL" ; lv2:default 99 ; @@ -1188,7 +1198,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 118 ; + lv2:index 119 ; lv2:symbol "op5_osc_mode" ; lv2:name "OP5 MODE" ; lv2:default 0 ; @@ -1198,7 +1208,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 119 ; + lv2:index 120 ; lv2:symbol "op5_osc_freq_coarse" ; lv2:name "OP5 F COARSE" ; lv2:default 1 ; @@ -1208,7 +1218,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 120 ; + lv2:index 121 ; lv2:symbol "op5_osc_freq_fine" ; lv2:name "OP5 F FINE" ; lv2:default 0 ; @@ -1218,7 +1228,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 121 ; + lv2:index 122 ; lv2:symbol "op5_osc_detune" ; lv2:name "OP5 OSC DETUNE" ; lv2:default -7 ; @@ -1228,7 +1238,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 122 ; + lv2:index 123 ; lv2:symbol "op5_kbd_lev_scl_brk_pt" ; lv2:name "OP5 BREAK POINT" ; lv2:default 0 ; @@ -1238,7 +1248,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 123 ; + lv2:index 124 ; lv2:symbol "op5_kbd_lev_scl_lft_depth" ; lv2:name "OP5 L SCALE DEPTH" ; lv2:default 0 ; @@ -1248,7 +1258,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 124 ; + lv2:index 125 ; lv2:symbol "op5_kbd_lev_scl_rht_depth" ; lv2:name "OP5 R SCALE DEPTH" ; lv2:default 0 ; @@ -1258,7 +1268,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 125 ; + lv2:index 126 ; lv2:symbol "op5_kbd_lev_scl_lft_curve" ; lv2:name "OP5 L KEY SCALE" ; lv2:default 0 ; @@ -1268,7 +1278,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 126 ; + lv2:index 127 ; lv2:symbol "op5_kbd_lev_scl_rht_curve" ; lv2:name "OP5 R KEY SCALE" ; lv2:default 0 ; @@ -1278,7 +1288,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 127 ; + lv2:index 128 ; lv2:symbol "op5_kbd_rate_scaling" ; lv2:name "OP5 RATE SCALING" ; lv2:default 3 ; @@ -1288,7 +1298,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 128 ; + lv2:index 129 ; lv2:symbol "op5_amp_mod_sensitivity" ; lv2:name "OP5 A MOD SENS." ; lv2:default 0 ; @@ -1298,7 +1308,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 129 ; + lv2:index 130 ; lv2:symbol "op5_key_vel_sensitivity" ; lv2:name "OP5 KEY VELOCITY" ; lv2:default 0 ; @@ -1308,7 +1318,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 130 ; + lv2:index 131 ; lv2:symbol "op6_eg_rate_1" ; lv2:name "OP6 EG RATE 1" ; lv2:default 95 ; @@ -1318,7 +1328,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 131 ; + lv2:index 132 ; lv2:symbol "op6_eg_rate_2" ; lv2:name "OP6 EG RATE 2" ; lv2:default 29 ; @@ -1328,7 +1338,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 132 ; + lv2:index 133 ; lv2:symbol "op6_eg_rate_3" ; lv2:name "OP6 EG RATE 3" ; lv2:default 20 ; @@ -1338,7 +1348,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 133 ; + lv2:index 134 ; lv2:symbol "op6_eg_rate_4" ; lv2:name "OP6 EG RATE 4" ; lv2:default 50 ; @@ -1348,7 +1358,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 134 ; + lv2:index 135 ; lv2:symbol "op6_eg_level_1" ; lv2:name "OP6 EG LEVEL 1" ; lv2:default 99 ; @@ -1358,7 +1368,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 135 ; + lv2:index 136 ; lv2:symbol "op6_eg_level_2" ; lv2:name "OP6 EG LEVEL 2" ; lv2:default 95 ; @@ -1368,7 +1378,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 136 ; + lv2:index 137 ; lv2:symbol "op6_eg_level_3" ; lv2:name "OP6 EG LEVEL 3" ; lv2:default 0 ; @@ -1378,7 +1388,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 137 ; + lv2:index 138 ; lv2:symbol "op6_eg_level_4" ; lv2:name "OP6 EG LEVEL 4" ; lv2:default 0 ; @@ -1388,7 +1398,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 138 ; + lv2:index 139 ; lv2:symbol "op6_operator_output_level" ; lv2:name "OP6 OUTPUT LEVEL" ; lv2:default 79 ; @@ -1398,7 +1408,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 139 ; + lv2:index 140 ; lv2:symbol "op6_osc_mode" ; lv2:name "OP6 MODE" ; lv2:default 0 ; @@ -1408,7 +1418,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 140 ; + lv2:index 141 ; lv2:symbol "op6_osc_freq_coarse" ; lv2:name "OP6 F COARSE" ; lv2:default 1 ; @@ -1418,7 +1428,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 141 ; + lv2:index 142 ; lv2:symbol "op6_osc_freq_fine" ; lv2:name "OP6 F FINE" ; lv2:default 0 ; @@ -1428,7 +1438,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 142 ; + lv2:index 143 ; lv2:symbol "op6_osc_detune" ; lv2:name "OP6 OSC DETUNE" ; lv2:default 7 ; @@ -1438,7 +1448,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 143 ; + lv2:index 144 ; lv2:symbol "op6_kbd_lev_scl_brk_pt" ; lv2:name "OP6 BREAK POINT" ; lv2:default 41 ; @@ -1448,7 +1458,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 144 ; + lv2:index 145 ; lv2:symbol "op6_kbd_lev_scl_lft_depth" ; lv2:name "OP6 L SCALE DEPTH" ; lv2:default 0 ; @@ -1458,7 +1468,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 145 ; + lv2:index 146 ; lv2:symbol "op6_kbd_lev_scl_rht_depth" ; lv2:name "OP6 R SCALE DEPTH" ; lv2:default 19 ; @@ -1468,7 +1478,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 146 ; + lv2:index 147 ; lv2:symbol "op6_kbd_lev_scl_lft_curve" ; lv2:name "OP6 L KEY SCALE" ; lv2:default 0 ; @@ -1478,7 +1488,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 147 ; + lv2:index 148 ; lv2:symbol "op6_kbd_lev_scl_rht_curve" ; lv2:name "OP6 R KEY SCALE" ; lv2:default 0 ; @@ -1488,7 +1498,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 148 ; + lv2:index 149 ; lv2:symbol "op6_kbd_rate_scaling" ; lv2:name "OP6 RATE SCALING" ; lv2:default 3 ; @@ -1498,7 +1508,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 149 ; + lv2:index 150 ; lv2:symbol "op6_amp_mod_sensitivity" ; lv2:name "OP6 A MOD SENS." ; lv2:default 0 ; @@ -1508,7 +1518,7 @@ ] , [ a lv2:InputPort, lv2:ControlPort ; - lv2:index 150 ; + lv2:index 151 ; lv2:symbol "op6_key_vel_sensitivity" ; lv2:name "OP6 KEY VELOCITY" ; lv2:default 6 ; diff --git a/src/dexed.cpp b/src/dexed.cpp index e65653f..f08c47e 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -88,11 +88,19 @@ Dexed::~Dexed() void Dexed::set_params(void) { +/* + // Dexed-Unisono + if(getEngineType()!=int(*p(p_unisono))) + { + panic(); + setMonoMode(int(*p(p_unisono))); + } */ + // Dexed-Engine - if(getEngineType()!=(*p(p_engine))-1) + if(getEngineType()!=int(*p(p_engine))) { panic(); - setEngineType((*p(p_engine))-1); + setEngineType(int(*p(p_engine))); } // Dexed-Filter diff --git a/src/dexed.h b/src/dexed.h index caafedf..5d5f95b 100644 --- a/src/dexed.h +++ b/src/dexed.h @@ -49,8 +49,6 @@ enum DexedEngineResolution { }; // GLOBALS -//static const float scaler = 0.00003051757813; -static const float scaler = 0.00003; //==============================================================================