
A Kotlin Multiplatform library for audio recording and playback that works seamlessly across Android, iOS, Desktop, and Web platforms.
- 🎤 Audio Recording: Record audio with high quality across all platforms
- 🔊 Audio Playback: Play recorded audio files with full control
- 🌐 Multiplatform: Supports Android, iOS, Desktop (JVM), and Web (WASM)
- 📱 Modern API: Kotlin-first design with coroutines support
- 🛡️ Type Safety: Fully typed API with comprehensive error handling
Add the library to your build.gradle.kts
:
dependencies {
implementation("io.github.hyochan:kmp-audio-recorder-player:1.0.0-alpha04")
}
Platform | Status | Notes |
---|---|---|
Android | ✅ | API 24+ |
iOS | ✅ | iOS 13+ |
Desktop | ✅ | JVM |
Web | ✅ | WASM |
This project uses VS Code with predefined tasks for development:
- Build Library for All Platforms:
Cmd+Shift+P
→Tasks: Run Task
→Build Library for All Platforms
- Clean and Build Library: Clean and rebuild the entire library
- Run Android Debug: Build and run Android example app
- Run iOS Simulator: Build and run iOS example app
- Run Desktop Debug: Run desktop example application
- Check Publishing Tasks: View all available publishing-related Gradle tasks
No additional configuration required! The library works out of the box on all supported platforms.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Found a bug or have a feature request? Please create an issue on GitHub.
- Kotlin Multiplatform development environment
- Android Studio or VS Code with Kotlin support
- For iOS development: Xcode on macOS
- Clone the repository
- Open in VS Code (recommended for predefined tasks)
- Build: Use VS Code tasks or run
./gradlew :library:build
- Test: Run
./gradlew :library:test
For detailed setup instructions, see the Kotlin Multiplatform Library Template documentation.