Android Audio API in Python -
i trying write metronome application in python, , intend publish application android , ios. have found few cross-platform frameworks kivy, audio support lacking. more specifically, need precise audio timing , can't rely on thread timing or events. want write audio data directly device's audio output, or create midi file can played on fly. problem is, cannot find any suitable framework task.
i know many games have been written android in python, , games have excellent , precise sound timing. need finding either:
- a way create , play midi files on fly in android python,
- a python framework android suitable audio api write sound directly audio device, or @ least play audio accurate timing.
thanks!
i'm looking same thing. looking @ kivy. possible solutions can see audio hooking in 3rd party application "recipe" in kivy.
there aubio, apparently can compiled ios/android (see stackoverflow question regarding this), believe have own audio source it, potentially handled audiostream subproject in kivy.
kivy/audiostream imports core libpd project appears, can use libpd python bindings. think path of least resistance, had issues when trying run examples.
both of these approaches, think could work both need effort able start using.
Comments
Post a Comment