Hello,I watched the google/android video the other day and I was very surprised of the basic recommendations that were given to developers:- use native sampling rate (don't hardcode sampling rate, request it from the device) - use native buffering (don't hardcode it. But then maybe use double or quadruple buffering in the app, because your CPU is not fast enough)- compile for Release and enable Neon- don't log at every audio callback- don't lock/allocate in the audio callback- use less than 20% of the CPU time I mean, really? Is this what was lacking so far in Android "professional" audio? These are the basics of real-time programming, as Ross teaches us http://www.rossbencina.com/code/real-time-audio-programming-101-time-waits-for-nothing and of general programming (compiler optimization, Release mode). The useful bits of information I got are:- simulate screen taps every second so that the CPU is always kept to full clock and no energy save. >> surely a workaround. As the people speaking have worked on Android for the past three years I am sure they could have supported this from the Android API- current target is to achieve 10ms roundtrip>> Which means that not even the nexus 6p does it at the moment.- a device for measuring roundtrip latency (using a teensy and a custom app, 22:48) https://github.com/google/walt I was not very impressed by the quality of the video production overall, as it features: - a physician introduced as "someone that cares all about numbers"- a calibre (22:17)- table of latency results which does not have any sense (23:12)
Best,Giulio From: grh <g...@mur.at> To: music-dsp@music.columbia.edu Sent: Wednesday, 25 May 2016, 11:57 Subject: Re: [music-dsp] Android related audio group / mailing list? Hallo! Thanks Nuno, it was a great demo ;) LG Georg On 2016-05-25 12:46, Nuno Santos wrote: > Hi George, > > I would be interested in such a community as well. Specially regarding > audio performance. We have recently released DRC (one of the apps that > has been featured on Google I/O Android High Performance Audio) and we > are mostly interested in squeezing performance out of it. It is > incredible the performance differences between iOS and Android. The DSP > code is shared among both and I still have glitch problems in Android > powerful devices. > > One option could be creating a slack channel. > > Regards, > > Nuno Santos > Founder / CEO / CTO > www.imaginando.pt <http://www.imaginando.pt> > +351 91 621 69 62 > >> On 25 May 2016, at 11:36, grh <g...@mur.at <mailto:g...@mur.at>> wrote: >> >> Hallo music-dsp list! >> >> Sorry for being off topic, but does someone know an active discussion >> group / mailing list about android audio? >> (There is quite a lot of progress lately, see for example [1]) >> 5 years ago a list was announced here [2], which does not seem to be >> active anymore ... >> >> We just created a simple android audio editor [3] and would be very much >> interested into a discussion of common infrastructure like audio >> plugins/effects (like SAPA from Samsung) or copy/paste between audio apps. >> I think that would be important for the audio ecosystem on Android. >> >> Thanks for any hints, >> LG >> Georg >> >> [1]: https://www.youtube.com/watch?v=F2ZDp-eNrh4 >> [2]: >> http://music-dsp.music.columbia.narkive.com/zbYgicxy/new-android-audio-developers-mailing-list >> [3]: >> https://play.google.com/store/apps/details?id=com.auphonic.auphonicrecorder >> >> -- >> auphonic - audio post production software and web service >> http://auphonic.com >> >> _______________________________________________ >> dupswapdrop: music-dsp mailing list >> music-dsp@music.columbia.edu >> https://lists.columbia.edu/mailman/listinfo/music-dsp > > > > _______________________________________________ > dupswapdrop: music-dsp mailing list > music-dsp@music.columbia.edu > https://lists.columbia.edu/mailman/listinfo/music-dsp > -- auphonic - audio post production software and web service http://auphonic.com _______________________________________________ dupswapdrop: music-dsp mailing list music-dsp@music.columbia.edu https://lists.columbia.edu/mailman/listinfo/music-dsp
_______________________________________________ dupswapdrop: music-dsp mailing list music-dsp@music.columbia.edu https://lists.columbia.edu/mailman/listinfo/music-dsp