This extension 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 : <http://lv2plug.in/ns/extensions/units#> . @prefix eg: <http://example.org/> . eg:plugin lv2:port [ a lv2:ControlRateInputPort ; lv2:datatype lv2:Float ; lv2:index 0 ; lv2:symbol "gain" ; lv2:name "gain" ; :unit :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:ControlRateInputPort ; lv2:datatype lv2:Float ; lv2:index 0 ; lv2:symbol "frob" ; lv2:name "frob level" ; units:unit [ a units:NonSIUnit ; units:name "frobnication" ; units:symbol "fr" ; units:render "%f f" ] ] . Units are defined by a number of properties: units:name A display name for the unit (eg. decibels) units:symbol The abbreviated symbol for the unit (eg. dB) units:render A printf(3) string to be used to render the numerical value (eg. "%f dB") units:conversion Defines a conversion into another unit, commonly the SI unit for the unit class (eg. units:conversion [ units:to units:m ; units:factor 1000 ]). conversions are expressed as either factors (multiplicand for the conversion) or offsets (addend for the conversion).