I humbly suggest an 8 segment tower... assuming 8 bit audio, calc the
avg level of 'a bunch' of samples (a frames worth? 30ms at 8 samps per
ms is 240 samps for example), Set a bar in the level indicator for
each bit that is set... 6 db per bit.... 1 or 2 or 3 db per segment
would be more sensitive, but this tells you when you clip (top segment
lit) or when you have 6 or 12 db headroom (top 1 or 2 segs unlit).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to