load

fun load(directoryPath: String): LessonMaterial

Load a bundle directory into a LessonMaterial with pre-computed pitch contour and HPCP frames.

Return

The reconstructed LessonMaterial.

Parameters

directoryPath

Path to the bundle folder.

Throws

if directoryPath is blank or the audio cannot be decoded. File-not-found / malformed-manifest surface as the underlying I/O or serialization exception.