Remove kit_num port

This commit is contained in:
Nick Lanham 2012-03-25 20:52:22 +02:00
parent 16d4bd4c3a
commit 20893784fc
3 changed files with 65 additions and 81 deletions

3
drmr.c
View File

@ -139,9 +139,6 @@ connect_port(LV2_Handle instance,
case DRMR_RIGHT:
drmr->right = (float*)data;
break;
case DRMR_KITNUM:
//if(data) drmr->kitReq = (float*)data;
break;
case DRMR_BASENOTE:
if (data) drmr->baseNote = (float*)data;
default:

1
drmr.h
View File

@ -72,7 +72,6 @@ typedef enum {
DRMR_CONTROL = 0,
DRMR_LEFT,
DRMR_RIGHT,
DRMR_KITNUM,
DRMR_BASENOTE,
DRMR_GAIN_ONE,
DRMR_GAIN_TWO,

142
drmr.ttl
View File

@ -33,7 +33,7 @@
a lv2:OutputPort , atom:AtomPort ;
atom:bufferType atom:Sequence ;
atom:supports <http://lv2plug.in/ns/ext/atom#Resource> ;
lv2:index 69 ;
lv2:index 68 ;
lv2:symbol "core_events" ;
lv2:name "Core Events"
],
@ -54,18 +54,6 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 3;
lv2:symbol "kit_num";
lv2:name "Kit Index";
lv2:minimum 0;
lv2:maximum 200;
lv2:default 0;
lv2:portProperty lv2:integer;
],
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 4;
lv2:symbol "base_note";
lv2:name "Midi Base Note";
lv2:minimum 21;
@ -76,7 +64,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 5;
lv2:index 4;
lv2:symbol "gain_one";
lv2:name "Sample One Gain";
lv2:minimum -60.0;
@ -90,7 +78,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 6;
lv2:index 5;
lv2:symbol "gain_two";
lv2:name "Sample Two Gain";
lv2:minimum -60.0;
@ -104,7 +92,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 7;
lv2:index 6;
lv2:symbol "gain_three";
lv2:name "Sample Three Gain";
lv2:minimum -60.0;
@ -118,7 +106,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 8;
lv2:index 7;
lv2:symbol "gain_four";
lv2:name "Sample Four Gain";
lv2:minimum -60.0;
@ -132,7 +120,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 9;
lv2:index 8;
lv2:symbol "gain_five";
lv2:name "Sample Five Gain";
lv2:minimum -60.0;
@ -146,7 +134,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 10;
lv2:index 9;
lv2:symbol "gain_six";
lv2:name "Sample Six Gain";
lv2:minimum -60.0;
@ -160,7 +148,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 11;
lv2:index 10;
lv2:symbol "gain_seven";
lv2:name "Sample Seven Gain";
lv2:minimum -60.0;
@ -174,7 +162,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 12;
lv2:index 11;
lv2:symbol "gain_eight";
lv2:name "Sample Eight Gain";
lv2:minimum -60.0;
@ -188,7 +176,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 13;
lv2:index 12;
lv2:symbol "gain_nine";
lv2:name "Sample Nine Gain";
lv2:minimum -60.0;
@ -202,7 +190,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 14;
lv2:index 13;
lv2:symbol "gain_ten";
lv2:name "Sample Ten Gain";
lv2:minimum -60.0;
@ -216,7 +204,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 15;
lv2:index 14;
lv2:symbol "gain_eleven";
lv2:name "Sample Eleven Gain";
lv2:minimum -60.0;
@ -230,7 +218,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 16;
lv2:index 15;
lv2:symbol "gain_twelve";
lv2:name "Sample Twelve Gain";
lv2:minimum -60.0;
@ -244,7 +232,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 17;
lv2:index 16;
lv2:symbol "gain_thirteen";
lv2:name "Sample Thirteen Gain";
lv2:minimum -60.0;
@ -258,7 +246,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 18;
lv2:index 17;
lv2:symbol "gain_fourteen";
lv2:name "Sample Fourteen Gain";
lv2:minimum -60.0;
@ -272,7 +260,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 19;
lv2:index 18;
lv2:symbol "gain_fifteen";
lv2:name "Sample Fifteen Gain";
lv2:minimum -60.0;
@ -286,7 +274,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 20;
lv2:index 19;
lv2:symbol "gain_sixteen";
lv2:name "Sample Sixteen Gain";
lv2:minimum -60.0;
@ -300,7 +288,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 21;
lv2:index 20;
lv2:symbol "gain_seventeen";
lv2:name "Sample Seventeen Gain";
lv2:minimum -60.0;
@ -315,7 +303,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 22;
lv2:index 21;
lv2:symbol "gain_eighteen";
lv2:name "Sample Eighteen Gain";
lv2:minimum -60.0;
@ -329,7 +317,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 23;
lv2:index 22;
lv2:symbol "gain_nineteen";
lv2:name "Sample Nineteen Gain";
lv2:minimum -60.0;
@ -343,7 +331,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 24;
lv2:index 23;
lv2:symbol "gain_twenty";
lv2:name "Sample Twenty Gain";
lv2:minimum -60.0;
@ -357,7 +345,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 25;
lv2:index 24;
lv2:symbol "gain_twentyone";
lv2:name "Sample Twenty One Gain";
lv2:minimum -60.0;
@ -371,7 +359,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 26;
lv2:index 25;
lv2:symbol "gain_twentytwo";
lv2:name "Sample Twenty Two Gain";
lv2:minimum -60.0;
@ -385,7 +373,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 27;
lv2:index 26;
lv2:symbol "gain_twentythree";
lv2:name "Sample Twenty Three Gain";
lv2:minimum -60.0;
@ -399,7 +387,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 28;
lv2:index 27;
lv2:symbol "gain_twentyfour";
lv2:name "Sample Twenty Four Gain";
lv2:minimum -60.0;
@ -413,7 +401,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 29;
lv2:index 28;
lv2:symbol "gain_twentyfive";
lv2:name "Sample Twenty Five Gain";
lv2:minimum -60.0;
@ -427,7 +415,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 30;
lv2:index 29;
lv2:symbol "gain_twentysix";
lv2:name "Sample Twenty Six Gain";
lv2:minimum -60.0;
@ -441,7 +429,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 31;
lv2:index 30;
lv2:symbol "gain_twentyseven";
lv2:name "Sample Twenty Seven Gain";
lv2:minimum -60.0;
@ -455,7 +443,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 32;
lv2:index 31;
lv2:symbol "gain_twentyeight";
lv2:name "Sample Twenty Eight Gain";
lv2:minimum -60.0;
@ -469,7 +457,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 33;
lv2:index 32;
lv2:symbol "gain_twentynine";
lv2:name "Sample Twenty Nine Gain";
lv2:minimum -60.0;
@ -483,7 +471,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 34;
lv2:index 33;
lv2:symbol "gain_thirty";
lv2:name "Sample Thirty Gain";
lv2:minimum -60.0;
@ -497,7 +485,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 35;
lv2:index 34;
lv2:symbol "gain_thirtyone";
lv2:name "Sample Thirty One Gain";
lv2:minimum -60.0;
@ -511,7 +499,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 36;
lv2:index 35;
lv2:symbol "gain_thirtytwo";
lv2:name "Sample Thirty Two Gain";
lv2:minimum -60.0;
@ -525,7 +513,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 37;
lv2:index 36;
lv2:symbol "pan_one";
lv2:name "Sample One Pan";
lv2:minimum -1.0;
@ -535,7 +523,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 38;
lv2:index 37;
lv2:symbol "pan_two";
lv2:name "Sample Two Pan";
lv2:minimum -1.0;
@ -545,7 +533,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 39;
lv2:index 38;
lv2:symbol "pan_three";
lv2:name "Sample Three Pan";
lv2:minimum -1.0;
@ -555,7 +543,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 40;
lv2:index 39;
lv2:symbol "pan_four";
lv2:name "Sample Four Pan";
lv2:minimum -1.0;
@ -565,7 +553,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 41;
lv2:index 40;
lv2:symbol "pan_five";
lv2:name "Sample Five Pan";
lv2:minimum -1.0;
@ -575,7 +563,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 42;
lv2:index 41;
lv2:symbol "pan_six";
lv2:name "Sample Six Pan";
lv2:minimum -1.0;
@ -585,7 +573,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 43;
lv2:index 42;
lv2:symbol "pan_seven";
lv2:name "Sample Seven Pan";
lv2:minimum -1.0;
@ -595,7 +583,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 44;
lv2:index 43;
lv2:symbol "pan_eight";
lv2:name "Sample Eight Pan";
lv2:minimum -1.0;
@ -605,7 +593,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 45;
lv2:index 44;
lv2:symbol "pan_nine";
lv2:name "Sample Nine Pan";
lv2:minimum -1.0;
@ -615,7 +603,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 46;
lv2:index 45;
lv2:symbol "pan_ten";
lv2:name "Sample Ten Pan";
lv2:minimum -1.0;
@ -625,7 +613,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 47;
lv2:index 46;
lv2:symbol "pan_eleven";
lv2:name "Sample Eleven Pan";
lv2:minimum -1.0;
@ -635,7 +623,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 48;
lv2:index 47;
lv2:symbol "pan_twelve";
lv2:name "Sample Twelve Pan";
lv2:minimum -1.0;
@ -645,7 +633,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 49;
lv2:index 48;
lv2:symbol "pan_thirteen";
lv2:name "Sample Thirteen Pan";
lv2:minimum -1.0;
@ -655,7 +643,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 50;
lv2:index 49;
lv2:symbol "pan_fourteen";
lv2:name "Sample Fourteen Pan";
lv2:minimum -1.0;
@ -665,7 +653,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 51;
lv2:index 50;
lv2:symbol "pan_fifteen";
lv2:name "Sample Fifteen Pan";
lv2:minimum -1.0;
@ -675,7 +663,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 52;
lv2:index 51;
lv2:symbol "pan_sixteen";
lv2:name "Sample Sixteen Pan";
lv2:minimum -1.0;
@ -685,7 +673,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 53;
lv2:index 52;
lv2:symbol "pan_seventeen";
lv2:name "Sample Seventeen Pan";
lv2:minimum -1.0;
@ -700,7 +688,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 54;
lv2:index 53;
lv2:symbol "pan_eighteen";
lv2:name "Sample Eighteen Pan";
lv2:minimum -1.0;
@ -714,7 +702,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 55;
lv2:index 54;
lv2:symbol "pan_nineteen";
lv2:name "Sample Nineteen Pan";
lv2:minimum -1.0;
@ -728,7 +716,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 56;
lv2:index 55;
lv2:symbol "pan_twenty";
lv2:name "Sample Twenty Pan";
lv2:minimum -1.0;
@ -742,7 +730,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 57;
lv2:index 56;
lv2:symbol "pan_twentyone";
lv2:name "Sample Twenty One Pan";
lv2:minimum -1.0;
@ -756,7 +744,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 58;
lv2:index 57;
lv2:symbol "pan_twentytwo";
lv2:name "Sample Twenty Two Pan";
lv2:minimum -1.0;
@ -770,7 +758,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 59;
lv2:index 58;
lv2:symbol "pan_twentythree";
lv2:name "Sample Twenty Three Pan";
lv2:minimum -1.0;
@ -784,7 +772,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 60;
lv2:index 59;
lv2:symbol "pan_twentyfour";
lv2:name "Sample Twenty Four Pan";
lv2:minimum -1.0;
@ -798,7 +786,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 61;
lv2:index 60;
lv2:symbol "pan_twentyfive";
lv2:name "Sample Twenty Five Pan";
lv2:minimum -1.0;
@ -812,7 +800,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 62;
lv2:index 61;
lv2:symbol "pan_twentysix";
lv2:name "Sample Twenty Six Pan";
lv2:minimum -1.0;
@ -826,7 +814,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 63;
lv2:index 62;
lv2:symbol "pan_twentyseven";
lv2:name "Sample Twenty Seven Pan";
lv2:minimum -1.0;
@ -840,7 +828,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 64;
lv2:index 63;
lv2:symbol "pan_twentyeight";
lv2:name "Sample Twenty Eight Pan";
lv2:minimum -1.0;
@ -854,7 +842,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 65;
lv2:index 64;
lv2:symbol "pan_twentynine";
lv2:name "Sample Twenty Nine Pan";
lv2:minimum -1.0;
@ -868,7 +856,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 66;
lv2:index 65;
lv2:symbol "pan_thirty";
lv2:name "Sample Thirty Pan";
lv2:minimum -1.0;
@ -882,7 +870,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 67;
lv2:index 66;
lv2:symbol "pan_thirtyone";
lv2:name "Sample Thirty One Pan";
lv2:minimum -1.0;
@ -896,7 +884,7 @@
[
a lv2:ControlPort, lv2:InputPort;
lv2:index 68;
lv2:index 67;
lv2:symbol "pan_thirtytwo";
lv2:name "Sample Thirty Two Pan";
lv2:minimum -1.0;