UnityAudioClip
UnityAudioClip[data]
represents a Unity audio clip asset.
Details
- UnityAudioClip
is an object that represents an existing AudioClip object in the Unity game engine.
- UnityAudioClip
is typically generated by functions such as CreateUnityAudioClip.
- UnityAudioClip
gives a list of possible properties.
- The value associated with a given property "prop" can be extracted using UnityAudioClip
.
- You can make an assignment like UnityAudioClip
to modify a property of the object.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
To use UnityLink, you need first to load the package:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-buodkt

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-c28u0u
Create a UnityAudioClip from Audio:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-pa7zup

Convert the UnityAudioClip to Audio:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-lq0f8h

Find a UnityAudioClip in the current Scene:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-31lu3c


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-ybg1j

Properties & Relations (5)Properties of the function, and connections to other functions
UnityAudioClipQ checks if an expression is a UnityAudioClip:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-l7n4kl


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-4vjn0x

Normal converts a UnityAudioClip to Audio:

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-3g65h2


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-vtq4ve

PropertyList returns all available properties of the audio clip.

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-kgsb80


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-5mjsp7

PropertyValue returns the value of the specified property.

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-wol1l0


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-t1bnqj

SetProperty changes the specified property of the audio clip.

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-33pj1t


https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-xl25i5

https://wolfram.com/xid/0nw9e4rduo1f095uipe6q-4247up

Wolfram Research (2019), UnityAudioClip, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html.
Text
Wolfram Research (2019), UnityAudioClip, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html.
Wolfram Research (2019), UnityAudioClip, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html.
CMS
Wolfram Language. 2019. "UnityAudioClip." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html.
Wolfram Language. 2019. "UnityAudioClip." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html.
APA
Wolfram Language. (2019). UnityAudioClip. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html
Wolfram Language. (2019). UnityAudioClip. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html
BibTeX
@misc{reference.wolfram_2022_unityaudioclip, author="Wolfram Research", title="{UnityAudioClip}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
@online{reference.wolfram_2022_unityaudioclip, organization={Wolfram Research}, title={UnityAudioClip}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/UnityAudioClip.html}, note=[Accessed: 19-June-2025
]}