This vocabulary defines a number of units for use in audio processing.
For example, to say that a gain port's value is in decibels (units:db)
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix eg:    <http://example.org/> .
eg:plugin lv2:port [
    a            lv2:ControlPort , lv2:InputPort ;
    lv2:datatype lv2:Float ;
    lv2:index    0 ;
    lv2:symbol   "gain" ;
    lv2:name     "gain" ;
    units:unit   units:db
] .
Using the same form, plugins may also specify one-off units inline, to give better display hints to hosts:
eg:plugin lv2:port [
    a            lv2:ControlPort , lv2:InputPort ;
    lv2:datatype lv2:Float ;
    lv2:index    0 ;
    lv2:symbol   "frob" ;
    lv2:name     "frob level" ;
    units:unit [
        a            units:Unit ;
        rdfs:label   "frobnication" ;
        units:symbol "fr" ;
        units:render "%f f"
    ]
] .
It is also possible to define conversions between various units, which makes it possible for hosts to automatically and generically convert from a given unit to a desired unit. The units defined in this extension include conversion definitions where it makes sense to do so.