Click or drag to resize

WaveFileParseWAV Method

Creates a AudioClip object from WAV file data.

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static AudioClip ParseWAV(
	string clipName,
	byte[] data
)

Parameters

clipName
Type: SystemString
What name to give the AudioClip.
data
Type: SystemByte
The raw data of the WAV file.

Return Value

Type: AudioClip
Returns an AudioClip object on success, null on failure.
See Also