WebAudioSearch

WebAudioSearch["string"]

gives a dataset of the top web audio search results for the specified literal string.

WebAudioSearch[query]

performs a web audio search using the specified query.

WebAudioSearch[query,format]

gives the elements of the web audio search specified by format.

WebAudioSearch[query,format,crit]

returns only audio results that satisfy crit.

Details and Options

  • WebAudioSearch searches the web for samples of generated or recorded sounds.
  • WebAudioSearch requires internet connectivity and may use external services that require Service Credits.
  • Possible search forms that can be specified by query include:
  • "string"complete string must occur in the metadata
    {s1,s2,}search for all si in the metadata
  • Possible elements that can be specified by format include:
  • "Dataset"a Dataset with various properties for each result
    "Gallery"an interactive gallery view
    "GalleryMinimal"a minimal interactive gallery view
    "RandomSample"a single Audio object
    "Samples"a list of Audio objects
    "TitleHyperlinks"a list of titles linked to the original URLs
    "prop"an association of title hyperlinks and a property
    {"prop1","prop2",}an association of title hyperlinks and properties
  • The default format with front end running is "Dataset" when a front end is available. Otherwise "TitleHyperlinks" is returned.
  • The following properties prop are available:
  • "Channels"number of audio channels
    "Duration"duration of the audio track
    "License"copyright license
    "PageLink"URL to the page containing the audio track
    "Sample"provided sample Audio object
    "SampleLink"URL to the sample Audio object
    "SampleRate"the sampling rate
    "Tags"a list of string tags
    "Title"title of the audio track
    "TitleHyperlink"title linked to the page URL
    "Username"username associated with the audio track
  • When using a criterion crit, arguments of crit can access element values using #prop. An audio track is returned if crit returns True.
  • The criterion crit can take one of the following forms:
  • #prop>val& or #propval&for all numeric properties
    #prop<val& or #propval&for all numeric properties
    #prop==val& or #prop===val&for all properties
    (crit1&&crit2&&)&a combination of criteria
  • A criterion crit including the "Tag" properties is applied independently to all tags and returns True if there is at least one match.
  • The following arguments can be used in crit:
  • #BeatPerMinutethe tempo estimation
    #Channelsnumber of audio channels
    #Durationduration of the audio track
    #SampleRatethe sampling rate
    #Taga string tag
  • WebAudioSearch can take a MaxItems option that specifies the maximum number of audio samples to return with each search. By default, MaxItems->10 is used.

Examples

open allclose all

Basic Examples  (3)

Search for a random audio recording of a dog:

Search for a few samples of a dog:

Search for audio recordings related to a query:

Scope  (10)

Query  (3)

Search for any audio recording:

Search for a given keyword:

Use multiple keywords:

Format  (5)

By default, a dataset of results is returned:

Get the result in a minimal interactive gallery:

Get a list of audio samples:

Construct Audio objects from the sample links provided in the resulting dataset:

Get a list of properties for each result item:

Criteria  (2)

Specify a criterion to get only audio recordings shorter than 5 seconds:

Filter using a combination of search criteria:

Options  (2)

MaxItems  (2)

By default, 10 items are displayed for each search:

Specify a different max item:

The number of available tracks with a search query may be smaller than the specified number:

Possible Issues  (1)

The "Sample" property returns sample audio with conformed properties, such as audio channels.

This is a six-channel audio sample:

The provided sample, however, has only two channels:

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

Text

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

CMS

Wolfram Language. 2019. "WebAudioSearch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WebAudioSearch.html.

APA

Wolfram Language. (2019). WebAudioSearch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WebAudioSearch.html

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_webaudiosearch, organization={Wolfram Research}, title={WebAudioSearch}, year={2019}, url={https://reference.wolfram.com/language/ref/WebAudioSearch.html}, note=[Accessed: 30-December-2024 ]}