units
type: Project
name: LV2 Units
shortdesc: Units for LV2 values.
created: 2007-02-06
license: isc
release:
  revision: 5.12
  created: 2019-02-03
  file-release: lv2-1.16.0.tar.bz2
  blame: me
  changeset:
    item: Fix outdated port description in documentation.
    item: Remove overly restrictive domain from units:unit.
release:
  revision: 5.10
  created: 2015-04-07
  file-release: lv2-1.12.0.tar.bz2
  blame: me
  changeset:
    item: Fix non-existent port type in examples.
    item: Add lv2:Parameter to domain of units:unit.
release:
  revision: 5.8
  created: 2012-10-14
  file-release: lv2-1.2.0.tar.bz2
  blame: me
  changeset:
    item: Remove units:name in favour of rdfs:label.
    item: Use consistent label style.
release:
  revision: 5.6
  created: 2012-04-17
  file-release: lv2-1.0.0.tar.bz2
  blame: me
  changeset:
    item: Add unit for audio frames.
    item: Add header of URI defines.
    item: Merge with unified LV2 package.
release:
  revision: 5.4
  created: 2011-11-21
  file-release: lv2-units-5.4.tar.bz2
  blame: me
  changeset:
    item: Make units.ttl a valid OWL 2 DL ontology.
    item: Define used but undefined resources (units:name, units:render, units:symbol, units:Conversion, units:conversion, units:prefixConversion, units:to, and units:factor).
    item: Update packaging.
    item: Improve documentation.
release:
  revision: 5.2
  created: 2010-10-05
  file-release: lv2-units-5.2.tar.bz2
  blame: me
  changeset:
    item: Add build system (for installation).
    item: Convert documentation to HTML and use lv2:documentation.
release:
  revision: 5.0
  created: 2010-10-05
  file-release: lv2-units-5.0.tar.gz
  blame: me
  changeset:
    item: Initial release.
    item: Define used but undefined resources (units:name, units:render, units:symbol, units:Conversion, units:conversion, units:prefixConversion, units:to, and units:factor).
    item: Update packaging.
    item: Improve documentation.
developer: me
maintainer: me
documentation: This is a vocabulary for units typically used for control values in audio processing. For example, to say that a gain control is in decibels: :::turtle @prefix units: <http://lv2plug.in/ns/extensions/units#> . @prefix eg: <http://example.org/> . eg:plugin lv2:port [ a lv2:ControlPort , lv2:InputPort ; 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: :::turtle eg:plugin lv2:port [ a lv2:ControlPort , lv2:InputPort ; 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 convert between units where possible. The units defined in this extension include conversion definitions where it makes sense to do so.