Saturday, March 16, 2013

Speed optimized

Beta 5.1

Speed optimized, works well on a HTC Desire HD running CM7.

http://www.mediafire.com/?q6x2b2ujr946bsz

Details:
I was able to reduce the computing time of the bottleneck methods (sample mixing*) from 7000 ms to 2100 ms (100 iterations for "Song: Under the Moonwalk") by writing my own methods for byte->short and short->byte instead of using ShortBuffer/ByteBuffer, which seem to be very bad implemented in Android.

*The mixing is only done when the volumes are changed, not the whole time while the metronome is running, so this has nothing to do with the accuracy.

www.drummersmetronome.com

No comments:

Post a Comment