Merge pull request #858 from jpcima/lv2-misc

Minor LV2 things
This commit is contained in:
JP Cimalando 2021-04-26 10:54:01 +02:00 committed by GitHub
commit 5cf0c13d87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View file

@ -62,7 +62,9 @@ function(sfizz_lv2_generate_controllers_ttl FILE)
sfizz:cc${_i}
a lv2:Parameter ;
rdfs:label \"Controller ${_i}\" ;
rdfs:range atom:Float")
rdfs:range atom:Float ;
lv2:minimum 0.0 ;
lv2:maximum 1.0")
if(_i LESS 128 AND NOT SFIZZ_LV2_PSA)
math(EXPR _digit1 "${_i}>>4")

View file

@ -478,7 +478,7 @@ instantiate(const LV2_Descriptor *descriptor,
else
{
lv2_log_warning(&self->logger,
"No option array was given upon instantiation; will use default values\n.");
"No option array was given upon instantiation; will use default values.\n");
}
// We need _some_ information on the block size

View file

@ -23,6 +23,13 @@
midnam:interface a lv2:ExtensionData .
midnam:update a lv2:Feature .
<@LV2PLUGIN_URI@#stereo_output>
a pg:StereoGroup, pg:OutputGroup ;
lv2:symbol "stereo_output" ;
lv2:name "Stereo output",
"Sortie stéréo"@fr ,
"Uscita stereo"@it .
<@LV2PLUGIN_URI@#config>
a pg:Group ;
lv2:symbol "config" ;
@ -125,14 +132,18 @@ midnam:update a lv2:Feature .
lv2:symbol "out_left" ;
lv2:name "Left Output",
"Sortie gauche"@fr ,
"Uscita Sinistra"@it
"Uscita Sinistra"@it ;
pg:group <@LV2PLUGIN_URI@#stereo_output> ;
lv2:designation pg:left
] , [
a lv2:AudioPort, lv2:OutputPort ;
lv2:index 4 ;
lv2:symbol "out_right" ;
lv2:name "Right Output",
"Sortie droite"@fr ,
"Uscita Destra"@it
"Uscita Destra"@it ;
pg:group <@LV2PLUGIN_URI@#stereo_output> ;
lv2:designation pg:right
] , [
a lv2:InputPort, lv2:ControlPort ;
lv2:index 5 ;