Implementing a MIDI player in Kotlin by Piotr Jagielski
Recording brought to you by American Express. https://americanexpress.io/kotlin-jobs In this talk I’ll show a step-by-step implementation of MIDI player in Kotlin using coroutines and JVM standard library. We’ll find out how to read MIDI files, what’s the structure of MIDI events, how to represent the melody and finally how to play it using Kotlin coroutines. This will lead us to further topics including playing external synths, changing the playback tempo, possibilities of using Open Sound Control protocol, playing beats and mixing predefined loops. I’ll end with a short performance using my live-coding music library called Punkt. #KotlinConf
April 12, 2023