API ReferenceAll TypesmidiMidiFilewriteToOn this pagewriteToDescription​ Writes the midi file as binary into the given stream. JavaScriptC#KotlinwriteTo(s: IWriteable): voidvoid WriteTo(IWriteable s)fun writeTo(s: IWriteable): Unit ParameterSummarysAll(no description) Returns​ The stream to write to.