Is there a way to play sound and use the microphone in KMP projects? I'm specifically targeting desktop+wasmJs for now.
f
François
11/07/2024, 4:33 PM
If no-one already made a framework about it, you need to call the native api, so writing JAVA and JavaScript, a lot a work as I can say, but each are easily accessible.
K 1
d
Daniel Pitts
11/07/2024, 4:57 PM
Well, time to do some research then.
f
Fergus Hewson
11/07/2024, 7:40 PM
I use Korge on Desktop and Audio() on JS to play sounds. Haven't got to recording yet.
r
rivu.chakraborty
06/22/2025, 1:15 AM
@Daniel Pitts did you figure it out? Are there some frameworks or did you have to write it yourself? I'm starting a project which needs audio input from the microphone, targeting Android, iOS and desktop.
d
Daniel Pitts
06/22/2025, 1:16 AM
I ended up switching to a different project. So I didn’t research this further.