Here is an example<http://elinux.org/EBC_Exercise_17_Using_ALSA_for_Audio_Processing> I wrote for my students that shows how to use ALSA to read in an audio signal, processes it and send it out again.
fftw <http://www.fftw.org/> has been ported to the Bone. http://knez.weebly.com/2/post/2013/09/beaglebone-fftw-build.html has instructions on how to compile it. It think what you are trying to do is doable, but you'll have to pull pieces from here and there to make it work. Once working, be sure to post instructions on how you got it working. --Mark On Saturday, October 5, 2013 5:41:15 PM UTC-4, Dennis Ogbe wrote: > > > Hi guys, > > I'm totally new to MCUs and the Beagleboard and I'm a little overwhelmed > by the amount of information out there. > For a class project, I need to sample a signal (the beat signal out of a > FMCW radar module, the frequency is not higher that audio), detect its > frequency, and use this frequency value to calculate the range and/ or > speed of my target. > > I'm pretty sure that I can use either the beagleboard-xm or the beaglebone > black for this, but I'm confused about a couple things. I hope that I can > get help here! > > Can I just use the CPU on the BB-xM or the BBB to sample the audio and do > the necessary processing or would I have to use the xM's DSP or an audio > cape for the BBB? I have written simple DSP applications in C before, and > so far I have used JACK to get my samples from the sound card. Could I do > the same thing on the Beagleboard? Would grabbing samples for computations > in a C program also work by using ALSA? > > In order to detect the frequency of my signal, I believe that I will have > to take chunks of the signal, take the FFT and detect the peak in the > resulting array. Can I do these operations on a beagleboard without > significant delay? > > Thanks for your help! > > Dennis > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
