Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 6
Registered: ‎10-12-2012
My Device: bb10-dev
My Carrier: Initial developer

analysing a sound file

hi everybody ,


anyone know how getting basic informations like(decibel ,frenquency...)from a sound file ?


Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course
My Carrier: Vodafone

Re: analysing a sound file

For frequency you'll need to do a FFT transform on (a section of) the raw audio stream. Here's a couple of libs:





A bit of research into audio signal processing might help getting the terminology right. Decibels aren't really relevant in the digital domain, and are quite vague anyway. Amplitude is probably what you're looking for.

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands