ggerganov/wave-gui

Need help porting the sdk to android/ios

raul215 opened this issue · 3 comments

Hi Gerganov. You are a legendary. Loved your work. I would appreciate if I could get some guidance to port your sdk to a mobile app.

Thanks.

Is there a way to connect to you?

Hi, thanks for the kind words.

I don't think I will be able to help much with the porting as I have almost 0 experience with that. I did manage to port the transmission part of wave-gui to an Android application some time ago: https://www.youtube.com/watch?v=-c80-B4f4MM

I think I used some "Android Studio" IDE and started from some sample project I found on the internet. The transmission part is easy to implement - you simply create a sound buffer and accumulate a few waveforms corresponding to the different frequency you want to have. You then output the buffer to the speaker.

https://github.com/ggerganov/wave-gui/blob/master/main/core.cpp#L743-L799

I remember the receiving part was more difficult to implement. You need some FFT implementation and some CPU resources to listen for incoming sounds all the time. I never implemented the receiving part for mobile.

Thanks for your response, I just need to ask a few more things would you be able to write a mail to be at rahulrajshah42@gmail.com.

Hi, thanks for the kind words.

I don't think I will be able to help much with the porting as I have almost 0 experience with that. I did manage to port the transmission part of wave-gui to an Android application some time ago: https://www.youtube.com/watch?v=-c80-B4f4MM

I think I used some "Android Studio" IDE and started from some sample project I found on the internet. The transmission part is easy to implement - you simply create a sound buffer and accumulate a few waveforms corresponding to the different frequency you want to have. You then output the buffer to the speaker.

https://github.com/ggerganov/wave-gui/blob/master/main/core.cpp#L743-L799

I remember the receiving part was more difficult to implement. You need some FFT implementation and some CPU resources to listen for incoming sounds all the time. I never implemented the receiving part for mobile.

Hello! Thanks for your work!

Please can you explain how can i run .apk for recieve and transmit data?

I installed GUI sucessfuly but how to use it with phone 0 idea. I'm far from coding and stuff!

Thank you!