AudioAnnotationLookup
AudioAnnotationLookup[audio]
gives all annotations associated to audio.
AudioAnnotationLookup[audio,tags]
gives the annotations specified by tags.
AudioAnnotationLookup[audio,tagsselector]
gives a selection of annotations using selector.
AudioAnnotationLookup[audio,tagsselector,format]
formats each annotation element according to format.
Details
- Annotations are used to store and manipulate comments or local metadata for Audio objects.
- AudioAnnotationLookup can be used to select and retrieve annotations at specific locations or based on desired criteria.
- Tags specification tags can be any of the following:
-
All all tags "tag" annotations labeled as "tag" {"tag1","tag2",…} annotations labeled as any specified "tagi" - The selector can be any of the following:
-
t annotations present at time t Interval[{t1,t2}] annotations intersecting with the time interval f an arbitrary function applied to each element {selector1,selector2,…} a list of selector specifications - The arbitrary function f is applied to the association corresponding to each annotation element.
- Use AudioAnnotate to automatically compute and store audio annotations.
Examples
open allclose allBasic Examples (2)
Annotate an Audio object:
Retrieve all annotations using AudioAnnotationLookup:
Annotate an Audio object:
Scope (6)
Annotate an Audio object:
Select all annotations that intersect with the time .2:
Annotate an Audio object:
Select all annotations between times .1 and 1:
Select all annotations belonging to the tag "Loud" between times .1 and 1:
Annotate an Audio object:
Select all annotations using a custom function:
If multiple selection criteria are used, an annotation element is selected if any of them return True:
Construct a single custom function if other behaviors are needed:
Annotate an Audio object:
Format the output annotation as a list of intervals:
Format the output annotation as a TimeSeries:
Annotate an Audio object:
Text
Wolfram Research (2019), AudioAnnotationLookup, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html.
CMS
Wolfram Language. 2019. "AudioAnnotationLookup." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html.
APA
Wolfram Language. (2019). AudioAnnotationLookup. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html