import Audio File
abstract fun importAudioFile(separatorId: String, filepath: String, outputDirectory: String, modelPath: String? = null, progress: (progress: Float, message: String) -> Boolean? = null): AudioImportResult
Separates filepath into stems and writes them under outputDirectory.
Blocking, and slow by nature -- it runs a neural model over the whole file -- so call it off the UI thread. It holds a lease on the separator for the whole run, so disabling the contributing addin meanwhile cancels the run rather than unloading the code underneath it.
separatorId names one of separators; an unknown or withdrawn one fails rather than silently picking another. modelPath is the file the separator asked for, and may be null when it asked for none. progress is called from the worker thread; return false from it to cancel.