Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 725 Bytes

File metadata and controls

31 lines (21 loc) · 725 Bytes

Kotlin

PortAudio

PortAudio Kotlin Bindings could allow for multiplatform access to the PortAudio audio I/O library from Kotlin.

Status

  • Basic audio output: ✅ in Main.kt
  • Waveform selection: ✅ in Main.kt
  • Audio Setup abstracted: ✅ in AudioSetup.kt
  • Input support: ❌
  • Advanced audio processing: ❌

Requirements

PortAudio headers should be installed on your system.

Usage:

export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
./gradlew runDebugExecutableNative

A sound will play for 2 seconds and then stop.

tested on:

  • Linux ✅
  • Windows ❌
  • MacOS ❌