Welcome!

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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 4
Registered: ‎02-21-2013
My Device: z10
My Carrier: verizon

need help capturing audio and analyzing audio file afterwards

Hi All,

 

It's been a long time since I've programmed and I came up with an idea for an app that I would like but I'm not sure where to start.

 

I basically want to use the devices microphone to capture an audio file and then analyze that file to see when the sound recorded was at its peak.

 

Could someone please point me in the right direction of where to start with something like this?  

 

Thanks!

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: need help capturing audio and analyzing audio file afterwards

Developer
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: need help capturing audio and analyzing audio file afterwards

Don't know how much experience you have with the development of mobile applications, but it would probably make sense to browse through the "Get Started" pages on http://developer.blackberry.com first.

For example: http://developer.blackberry.com/cascades/documentation/getting_started/index.html

There you can also find some small code templates you could use to start your development.


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
New Contributor
Posts: 4
Registered: ‎02-21-2013
My Device: z10
My Carrier: verizon

Re: need help capturing audio and analyzing audio file afterwards

I've been over these many times.  I still can't even get a wav file to play or record on the simulator.

 

Im now getting MediaPlayer:Smiley Tonguerepare: error attching input source when trying to play a .wav 

 

When i tried to record i was getting a SourceUnavailable message.

 

I thought .wav and recording was suppose to work in the simulator?

Highlighted
New Contributor
Posts: 4
Registered: ‎02-21-2013
My Device: z10
My Carrier: verizon

Re: need help capturing audio and analyzing audio file afterwards

thanks for pointing out that page. I've been through quite a few of the tutorials, I've had no luck however getting sound to play properly or record. I know the sound is working because I can drag the system sound slider and here it make the Ping sound.