OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Interpret sounds from files:

Interpreter["Sound"][File["ExampleData/scaleprogression.mid"]]

Interpret sounds from strings:

Interpreter["Sound"][Import["ExampleData/car.mp3","String"]]

Interpret from a URL:

Interpreter["Sound"][URL["https://www.wolframcloud.com/objects/user-b0c28e9f-876d-4478-9d8b-9e7d18a9ea81/rule30.aif"]]

Restrict to MIDI sounds:

Interpreter[Restricted["Sound","MIDI"]][File["ExampleData/car.mp3"]]

Interpreter[Restricted["Sound","MIDI"]][File["ExampleData/scaleprogression.mid"]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[Sound, paclet:ref/Sound])  ▪  (RefLink[$ImportFormats, paclet:ref/$ImportFormats])  ▪  (RefLink[File, paclet:ref/File])  ▪  (RefLink[URL, paclet:ref/URL])}, {Related Interpreter Types:  (RefLink[Image, paclet:ref/interpreter/Image])  ▪  (RefLink[ImportFormatString, paclet:ref/interpreter/ImportFormatString])  ▪  (RefLink[ExportFormatString, paclet:ref/interpreter/ExportFormatString])  ▪  (RefLink[MIMETypeString, paclet:ref/interpreter/MIMETypeString])}, {Related Formats:  (RefLink[AIFF, paclet:ref/format/AIFF])  ▪  (RefLink[WAV, paclet:ref/format/WAV])  ▪  (RefLink[MP3, paclet:ref/format/MP3])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})