Cross-platform audio output for Kotlin/Compose apps on Android, Web, and Desktop.
This is a Kotlin/Compose Multiplatform library that can output audio on almost every device. It provides a simple and portable API that can be used to play stereo floating point buffers.
The API is defined in AudioBridge.kt.
To try a simple demo on the web, visit: https://transjam.com/kc-audio-bridge/
- How to Build and Run the Demo
- How to Add AudioBridge to an Existing Project
- How to Use AudioBridge in your app
- How to Deploy your App on the Web
/composeAppis for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:commonMainis for code that’s common for all targets.- Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name.
Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm…
You can discuss Compose/Web and Kotlin/Wasm in the public Slack channel #compose-web. If you face any issues with Kotlin/Compose, you can report them on YouTrack.