Hi Priyank, the audio cape will do the sampling for you. This will release a great processing burden from the shoulders of the CPU. The A/D-converter (analog to digital converter) of the audio cape will do this for you. In the simpliest case, you only need to grab the samples and put it on SD-card/disc (raw format). This means recording. In case of an hearing aid, this is not that useful, since you will "hear it later", hahahaha! :) Take a deep look into the datasheet of the tlv320aic3106, which is TIs audio processor they put on the audio cape. This little beast is capable of much more than simple sampling. For example you will get a maximum sampling rate of 96 kHz, which means -- capable microphones provided -- you can sample sound up to 24 kHz. One thing: I dont know, how much of the features of this chip are build into the driver! Means: May be you will need to hack the kernel driver a little or a little more... ;) But as there is a driver already there this will not be THAT complicated. To get the cape running with the BBB is a little tricky (driver selection in the kernel (you use Robert Nelsons fantastic kernel?)) and you need to disable HDMI and eMMC as far as I know. But it will definetly run with the BBB after some tweaking (or in other words: I have a BBB and an AUDIO cape and a LCD7 cape (A2) running together nicely after some hacking of the device tree).
HTH! Best regards, mcc Priyank Patel <[email protected]> [13-10-01 05:12]: > Thanks for the quick reply. I will be sure to get the audio cape. After > getting the audio cape, I suppose, I need to capture the mic input and > sample it (I think ALSA does that?). Further, I will need to implement DSP > algorithms. I researched on that and found the OMAP built into the > beagleboard (Here I refer to the original beagleboard) has the ability to > do DSP functions via Gstreamer tweaking (gst-dsp project). I am wondering > if there is similar OMAP processor built into beaglebone black (which I am > using for my project). Please, let me know how-to deploy dsp function on > BBLK. Thanks. :) > Priyank. > > On Monday, September 30, 2013 10:53:17 PM UTC-4, [email protected] wrote: > > > > Hi Priyank, > > > > two things to consider: > > For me "hearing aid" implies to increase the volume of a audio > > signal. But you cannot process signals, which do not arrive at the > > A/D-converter. > > The cheap USB-Audio-Dongles have a no stereo mic inout. It is only > > mono (or in other words: All USB-dongles I looked for, have a mono > > input...I didnt find any dongle with a stereo input). A hearing > > aid which feeds the same signal to both ears (mono) will destroy > > the human ability to locate sounds. While crossing over roads (for > > example) > > without being able to locate a sound could be fatal... ;) > > Furthermore it may be possible, that the input amplifier of such > > dongles isn't powerful enough to amplify a mic's signal. May be the > > advertising of such dongles confuses "Line In" with "Mic In" for > > obvious reasons. > > > > > > Best regards, > > mcc > > > > > > > > Priyank Patel <[email protected] <javascript:>> [13-10-01 03:59]: > > > Hello, > > > I was researching within the thread and found out that a USB audio > > dongle > > > might be a cheap alternative to buying a Audio cape. I just wanted to > > know > > > if it would work for my hearing aid application (i.e. to send an input > > to > > > beaglebone black and receiving it back via the same USB audio dongle) > > > p.s. I am not looking to get a very high quality sound, just need to > > make > > > it work. > > > Thanks in advance. > > > Priyank. > > > > > > On Monday, September 30, 2013 4:48:56 AM UTC-4, lisarden wrote: > > > > > > > > probably you should have a look at arecord sources to figure out how > > to > > > > capture samples from a sound card > > > > > > > > > > > > 2013/9/30 Priyank Patel <[email protected] <javascript:>> > > > > > > > >> Thanks for the suggestion. > > > >> Now as I stated earlier I m a beginner, I don't know where to start > > with > > > >> programming. I refer to the part where I need to sample the data > > coming > > > >> from a microphone and implement dsp algorithms. Please point me in > > right > > > >> direction or some references. Thanks again. > > > >> On Sep 30, 2013 3:43 AM, "Maxim Podbereznyy" > > > >> <[email protected]<javascript:>> > > > > > >> wrote: > > > >> > > > >>> yes. It was discussed here already > > > >>> > > > >>> > > > >>> 2013/9/30 Priyank Patel <[email protected] <javascript:>> > > > >>> > > > >>>> Is audio cape compatible with BBLK. I think I need to disable the > > hdmi > > > >>>> functionality in order to use the audio cape. > > > >>>> > > > >>>> -- > > > >>>> 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] <javascript:>. > > > >>>> For more options, visit https://groups.google.com/groups/opt_out. > > > >>>> > > > >>> > > > >>> > > > >>> > > > >>> -- > > > >>> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy > > > >>> Company - http://www.linkedin.com/company/mentorel > > > >>> Facebook - https://www.facebook.com/mentorel.company > > > >>> > > > >>> -- > > > >>> For more options, visit http://beagleboard.org/discuss > > > >>> --- > > > >>> You received this message because you are subscribed to a topic in > > the > > > >>> Google Groups "BeagleBoard" group. > > > >>> To unsubscribe from this topic, visit > > > >>> > > https://groups.google.com/d/topic/beagleboard/spmJODUYSp0/unsubscribe. > > > >>> To unsubscribe from this group and all its topics, send an email to > > > >>> [email protected] <javascript:>. > > > >>> > > > >>> For more options, visit https://groups.google.com/groups/opt_out. > > > >>> > > > >> -- > > > >> 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] <javascript:>. > > > >> For more options, visit https://groups.google.com/groups/opt_out. > > > >> > > > > > > > > > > > > > > > > -- > > > > LinkedIn - http://www.linkedin.com/in/maximpodbereznyy > > > > Company - http://www.linkedin.com/company/mentorel > > > > Facebook - https://www.facebook.com/mentorel.company > > > > > > > > > > -- > > > 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] <javascript:>. > > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > 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. -- 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.
