View Issue Details

IDProjectCategoryView StatusLast Update
0002612ardourbugspublic2012-05-23 15:08
Reporterobleak Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product VersionSVN/2.0-ongoing 
Target Version3.0 
Summary0002612: LV2 ':scalePoint' labels not interpreted properly
DescriptionLV2 allows for labels to be defined to help explain what values on sliders mean.
When this is utilised Ardour changes the control to a dropdown that only allows the label values to be selected.

ie a pan control can be defined as:

a lv2:InputPort, lv2:ControlPort ;
lv2:index 3 ;
lv2:symbol "pan" ;
lv2:name "Pan" ;
lv2:default 0.0 ;
lv2:minimum -1.0 ;
lv2:maximum 1.0 ;

Ardour interprets this as a slider with a range of -1 -> 1

When scale points are added to allow Ardour to mark where Left and Right is (after all the slider is vertical)

    a lv2:InputPort, lv2:ControlPort ;
    lv2:index 3 ;
    lv2:symbol "pan" ;
    lv2:name "Pan" ;
    lv2:default 0.0 ;
    lv2:minimum -1.0 ;
    lv2:maximum 1.0 ;
        lv2:scalePoint [
            rdfs:label "Left" ;
            rdf:value -1.0 ;
        ] , [
            rdfs:label "Center" ;
            rdf:value 0.0 ;
        ] , [
            rdfs:label "Right" ;
            rdf:value 1.0 ;
        ]

Ardour now interprets this control as a dropdown with three values.
Additional Information$uname -a
Linux arch-lv2 2.6.28-ARCH 0000001 SMP PREEMPT Tue Mar 17 07:22:53 CET 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ AuthenticAMD GNU/Linux

ardour version: 2.8
slv2: version 0.6.2
TagsNo tags attached.

Activities

cth103

2010-05-02 11:49

administrator   ~0007745

What plugin are you seeing this problem with?

jeremybub

2011-08-05 02:54

reporter   ~0011260

Last edited: 2011-08-05 02:55

I cannot vouch for the original poster, but I am encountering this issue with my so-404 synthesizer. One of my control ports determines the Midi Channel which it listens on, i.e. the port is defined in the ttl as

[
    a lv2:InputPort;
    a lv2:ControlPort;
    lv2:index 9;
    lv2:symbol "channel";
    lv2:name "Midi Channel";
    lv2:portProperty lv2:integer;
    lv2:default 0;
    lv2:minimum 0;
    lv2:maximum 16;
    lv2:scalePoint [ rdfs:label "Off"; rdf:value 16 ];
    ]

Preferably, Ardour would present some sort of integer selection widget, and display the text "Off" somehow when the value 16 is selected. At the least, Ardour should ignore lv2:scalePoints *except* when the port is explicitly specified as an "enumeration", in which case creating a drop-down menu of just the scalePoints is the right thing to do. Otherwise, I would say it is more important to allow the user to input all possible values than it is to display their labels.

Note: I am testing this on Ardour 3 Beta 9.

cth103

2012-03-21 17:38

administrator   ~0013002

This should be a bit better in SVN 11745. Still needs some work to mark up sliders with scalePoint labels.

Issue History

Date Modified Username Field Change
2009-04-03 07:10 obleak New Issue
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2010-05-02 11:49 cth103 Note Added: 0007745
2010-05-02 11:49 cth103 Status new => feedback
2011-08-05 02:54 jeremybub Note Added: 0011260
2011-08-05 02:55 jeremybub Note Edited: 0011260
2011-08-05 02:55 jeremybub Note Edited: 0011260
2011-08-12 15:59 cth103 cost => 0.00
2011-08-12 15:59 cth103 Target Version => 3.0-beta1
2011-11-15 15:57 cth103 Target Version 3.0-beta1 => 3.0-beta2
2011-12-27 13:13 cth103 Status feedback => confirmed
2012-01-10 20:45 cth103 Target Version 3.0-beta2 => 3.0-beta3
2012-02-14 17:20 paul Target Version 3.0-beta3 => 3.0 beta4
2012-03-21 17:38 cth103 Note Added: 0013002
2012-05-23 15:08 cth103 Target Version 3.0 beta4 => 3.0