drop duplicated O.clear
This commit is contained in:
parent
dbaf7bdda6
commit
d015b9b606
1 changed files with 1 additions and 2 deletions
|
|
@ -175,7 +175,6 @@ class Solfa(val sharedScreenModel: SharedScreenModel, private val fileRepository
|
|||
}
|
||||
|
||||
fun parse(sourceFile: String) {
|
||||
O.clear()
|
||||
currentFile = sourceFile
|
||||
val parseScope = CoroutineScope(Dispatchers.Default)
|
||||
parseScope.launch {
|
||||
|
|
@ -223,7 +222,7 @@ class Solfa(val sharedScreenModel: SharedScreenModel, private val fileRepository
|
|||
val pitches = pitches.sortedWith(compareBy({ it.tick }, { it.voiceNumber }))
|
||||
val midiWriter = MidiWriterKotlin(fileRepository)
|
||||
midiWriter.process(pitches)
|
||||
midiWriter.save("whawyd3.mid")
|
||||
midiWriter.save("${getConfigDirectoryPath()}/whawyd3.mid")
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue