Expose CCs that fluidsynth uses by default in midnam
authorRobin Gareus <robin@gareus.org>
Wed, 4 Sep 2019 02:11:45 +0000 (04:11 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 4 Sep 2019 02:35:59 +0000 (04:35 +0200)
libs/plugins/a-fluidsynth.lv2/a-fluidsynth.cc

index f925de051b515a0a15fba68992084d2c46745a52..54aa3970a61963be87064613b5d4effb81dd435c 100644 (file)
@@ -865,12 +865,21 @@ mn_file (LV2_Handle instance)
        pf ("    </ChannelNameSet>\n");
 
        pf ("    <ControlNameList Name=\"Controls\">\n");
+       pf ("       <Control Type=\"7bit\" Number=\"1\" Name=\"Modulation\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"2\" Name=\"Breath\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"5\" Name=\"Portamento Time\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"7\" Name=\"Channel Volume\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"8\" Name=\"Stereo Balance\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"10\" Name=\"Pan\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"11\" Name=\"Expression\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"37\" Name=\"Portamento Time (Fine)\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"39\" Name=\"Channel Volume (Fine)\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"40\" Name=\"Stereo Balance (Fine)\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"42\" Name=\"Pan (Fine)\"/>\n");
-       pf ("       <Control Type=\"7bit\" Number=\"64\" Name=\"Damper Pedal (Sustain)\"/>\n");
-       pf ("       <Control Type=\"7bit\" Number=\"66\" Name=\"Sostenuto\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"64\" Name=\"Sustain On/Off\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"65\" Name=\"Portamento On/Off\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"66\" Name=\"Sostenuto On/Off\"/>\n");
+       pf ("       <Control Type=\"7bit\" Number=\"68\" Name=\"Legato On/Off\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"91\" Name=\"Reverb\"/>\n");
        pf ("       <Control Type=\"7bit\" Number=\"93\" Name=\"Chorus\"/>\n");
        pf ("    </ControlNameList>\n");