forAnnotation

Creates WavWriter for sound annotation's audio data. This could take a while and should be executed on background thread.

Throws

When an I/O error occurs while reading audio data from the annotation.

When annotation is not attached to document, has no audio data or the audio data does not have supported encoding.