tAudioBlob

public static Blob tAudioBlob(Object blob)

Transforms a blob to an audio blob, validating its mime type.

Return

the transformed Blob if it is an audio.

Parameters

blob

the object to transform, can be a Blob or a dictionary.

Throws

if the blob is not an audio.