Tag: kotlin

Using Kotlin/Compose Multiplatform to Revive a Historic Multiplayer Online Drum Machine – Phil Burk

  • Lobby
  • Tag Archives: kotlin

https://audio.dev/ -- @audiodevcon​
ADC Japan - 1st - 3rd June
ADC Bristol ​- 9th - 11th November
---

Using Kotlin/Compose Multiplatform to Revive a Historic Multiplayer Online Drum Machine - How To Write An Audio App That Runs Almost Everywhere - Phil Burk - ADCx Gather 2025

Kotlin/Compose is a powerful tool for multi-platform development. But it lacks audio support. I have implemented a simple audio API that you can use to write an interactive app that will run on Linux, Mac or Windows desktops, on Android, and on the web. The web port uses WASM and the WebAudio AudioWorkletProcessor. Network communication uses ktor and a WebSocket proxy to communicate with the original TCP based server. I used these new APIs to restore a multiplayer poly-rhythmic interactive web drum that was originally written as a Java Applet. The applet was popular in the 1990’s but stopped working when Java was banned from the browser. I will demonstrate how to use Kotlin/Compose, and the new audio and networking APIs and discuss the challenges involved. I will also discuss the architectural changes needed to run on all these different platforms. If the demo gods are willing, I will then lead the audience in a multiplayer drum jam.
---

Phil Burk

Phil Burk is a software developer and designer who specializes in interactive and experimental music systems. In the early 1980’s, Phil began developing HMSL, the Hierarchical Music Specification Language. Phil then worked at 3DO developing the first DSP based sound synthesis system for a video game console. Phil co-founded the PortAudio project with Ross Bencina in 1997. Other projects include JSyn, a music synthesis API for Java, JavaSonics ListenUp for recording and uploading voice in a web page, and TransJam, a client/server system for multi-player interaction on the web, eg. the WebDrum.  Phil Burk led the Mobileer team in the development of a polyphonic MIDI ringtone synthesizer used in the Treo 600 and other devices. Phil has also been contributing for many years to the new MIDI 2.0 standards. At Google he developed AAudio, Oboe and the MIDI API for Android.
---

ADC is an annual event celebrating all audio development technologies, from music applications and game audio to audio processing and embedded systems. ADC’s mission is to help attendees acquire and develop new audio development skills, and build a network that will support their audio developer career.
Annual ADC Conference - https://audio.dev/
https://www.linkedin.com/company/audiodevcon

https://facebook.com/audiodevcon
https://instagram.com/audiodevcon
https://www.reddit.com/r/audiodevcon/
https://mastodon.social/@audiodevcon
---

Streamed & Edited by Digital Medium Ltd: https://online.digital-medium.co.uk
_

Organized and produced by JUCE: https://juce.com/
_

Special thanks to the ADCxGather Team:

Sophie Carus
Derek Heimlich
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Jonathan Roper
Prashant Mishra

#adc #audiodev #dsp #audio #conferenceaudio #audioprocessing #audioproduction #audioprogramming #sound #music #musictech #soundtech #audiotech #audiotechnology

Filed under: UncategorizedTagged with: , , ,