From b2406375a44eab0a4004f835d577411e87bb75d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Mar 2012 04:24:47 +0000 Subject: Add atom:Sound. --- lv2/lv2plug.in/ns/ext/atom/atom.h | 1 + lv2/lv2plug.in/ns/ext/atom/atom.ttl | 12 ++++++++++++ 2 files changed, 13 insertions(+) (limited to 'lv2/lv2plug.in/ns/ext/atom') diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.h b/lv2/lv2plug.in/ns/ext/atom/atom.h index 0887790..0716228 100644 --- a/lv2/lv2plug.in/ns/ext/atom/atom.h +++ b/lv2/lv2plug.in/ns/ext/atom/atom.h @@ -48,6 +48,7 @@ #define LV2_ATOM__Property LV2_ATOM_PREFIX "Property" #define LV2_ATOM__Resource LV2_ATOM_PREFIX "Resource" #define LV2_ATOM__Sequence LV2_ATOM_PREFIX "Sequence" +#define LV2_ATOM__Sound LV2_ATOM_PREFIX "Sound" #define LV2_ATOM__String LV2_ATOM_PREFIX "String" #define LV2_ATOM__TimeUnit LV2_ATOM_PREFIX "TimeUnit" #define LV2_ATOM__Tuple LV2_ATOM_PREFIX "Tuple" diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.ttl b/lv2/lv2plug.in/ns/ext/atom/atom.ttl index ed52a5e..7175ade 100644 --- a/lv2/lv2plug.in/ns/ext/atom/atom.ttl +++ b/lv2/lv2plug.in/ns/ext/atom/atom.ttl @@ -352,6 +352,18 @@ the same context so outputs can contain IDs that correspond to IDs of blanks in the input.

""" . +atom:Sound + a rdfs:Class ; + rdfs:subClassOf atom:Vector ; + rdfs:label "Sound" ; + atom:cType "LV2_Atom_Sound" ; + lv2:documentation """ +

An atom:Vector of atom:Float which represents an audio waveform. The format +is the same as the buffer format for lv2:AudioPort (except the size may be +arbitrary). An atom:Sound inherently depends on the sample rate, which is +assumed to be known.

+""" . + atom:TimeUnit a rdfs:Class ; rdfs:label "Time Unit" ; -- cgit v1.2.1