fromFile

fun fromFile(path: Path, fileSystem: FileSystem = SystemFileSystem): Sound(source)

Creates a new Sound by reading the path.

Parameters

fileSystem

the FileSystem to read path from