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 annotation using selector.

AudioAnnotationLookup[audio,tagsselector,format]

formats each annotation element according to format.

Details

  • Annotations are used to store and manipulate annotations 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:
  • Allall tags
    "tag"annotations labeled as "tag"
    {"tag1","tag2",}annotations labeled as any specified "tagi"
  • The selector can be any of the following:
  • tannotations present at time t
    Interval[{t1,t2}]annotations intersecting with the time interval
    fan 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 audio annotations.

Examples

open all close all

Basic Examples  (2)

Annotate an Audio object:

In[1]:=
Click for copyable input

Retrieve all annotations using AudioAnnotationLookup:

In[2]:=
Click for copyable input
Out[2]=

Annotate an Audio object:

In[1]:=
Click for copyable input

Retrieve an annotation with a specific tag:

In[2]:=
Click for copyable input
Out[2]=

Scope  (6)

Introduced in 2019
(12.0)