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:
  • 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 and store audio annotations.

Examples

open allclose all

Basic Examples  (2)

Annotate an Audio object:

Retrieve all annotations using AudioAnnotationLookup:

Annotate an Audio object:

Retrieve an annotation with a specific tag:

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:

Format the output annotation using a custom function:

Wolfram Research (2019), AudioAnnotationLookup, Wolfram Language function, https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html.

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

BibTeX

@misc{reference.wolfram_2024_audioannotationlookup, author="Wolfram Research", title="{AudioAnnotationLookup}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html}", note=[Accessed: 24-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_audioannotationlookup, organization={Wolfram Research}, title={AudioAnnotationLookup}, year={2019}, url={https://reference.wolfram.com/language/ref/AudioAnnotationLookup.html}, note=[Accessed: 24-April-2024 ]}