Hello Pedro, I just bought the SYBA usb audio adapter. My instructor suggested it will work just fine for my project. Now, only thing I need to learn is how to code to get the mono mic input and pass it through DSP algorithms. I hear OMAP on beaglebone black has speech recognition, noise reduction and many more features. I just want to know how to exploit them. Please point me to some programming tutorials (preferably python or C++) for DSP in audio. I have some basic knowledge on ALSA. I just configured eclipse so I can cross compile from my computer to BB. Thanks in advance ;)
On Mon, Oct 7, 2013 at 9:14 PM, Pedro A. Melendez <[email protected]>wrote: > > Priyank: what do you mean by "highlighted portion"? you can check check of > the audio cape in here > http://beagleboardtoys.info/index.php?title=BeagleBone_Audio > Maxim: cool, wanna see that mod :) > > > > On Tue, Oct 1, 2013 at 2:24 AM, Maxim Podbereznyy <[email protected]>wrote: > >> Audio cape can be easily modified to enable MIC BIAS. You will need two >> resistors 1k and a soldering tool. I've sent to this list a picture how to >> modify it, can do it again >> >> >> 2013/10/1 Priyank Patel <[email protected]> >> >>> Hi Meimo, >>> I just finished flashing my BBB to production image 2013.09.04 of >>> Angstrom. But, now I am more interested in installing lightweight distros >>> like gentoo or puppy linux. Preferably Gentoo (It gives inner satisfaction >>> knowing someone else is also having same setup as yours). And please do >>> send me the Awesome "Robert Nelson" kernel BBB patches. I will start >>> working on it right away. Also, we will wait till you get answer from >>> adafruit. >>> Keep fingers crossed :) >>> Priyank. >>> >>> >>> On Tuesday, October 1, 2013 2:11:39 AM UTC-4, [email protected] wrote: >>> >>>> Hi Priyank, >>>> >>>> :) >>>> Just some minutes ago I posted a question on the Adafruit support >>>> forum (I bougth two of those mic+amps for interfacing with my audio >>>> cape) asking what is the best way to inerface those mic+amps with the >>>> audio cape. >>>> >>>> As soon as I will get an answer from Adafruit, I will post it to you. >>>> >>>> One thing I forgot(?) to mention: >>>> To use the audio cape with the BBB you need to modify the kernel and >>>> the devicetree and recompile it. If you want, I will send you the >>>> needed patches based on Robert Nelsons BBB kernel (3.8.12), which are >>>> only tested for my setup but are not specific for it (I think). I am >>>> running Gentoo and NOT Angstrom! >>>> >>>> I think (but let us wait for the answer on Adafruits support forum) >>>> that the output level of the mic+amp is powerful enough to drive the >>>> audio input of the Audio cape. >>>> >>>> Best regards, >>>> mcc >>>> >>>> >>>> >>>> Priyank Patel <[email protected]> [13-10-01 07:56]: >>>> > Hi Meino, >>>> > I have looked up both directional and unidirectional adafruit has to >>>> offer. >>>> > The unidirectional microphone seems to be partially helping as the >>>> website >>>> > says it is ideal for the distance of 6" from the sound source (this >>>> is >>>> > hearing aid and the sound source can be far or near) .Besides that, >>>> other >>>> > concern is how would I interface it with the Audio cape (If I >>>> purchased >>>> > one). This query was produced as I do not see a mic-in audio jack. >>>> Please, >>>> > suggest me what can be steps that can be taken further. Thanks for >>>> > researching on my behalf. You guys are helping a lot. Much obliged. >>>> > Priyank. >>>> > >>>> > >>>> > On Tue, Oct 1, 2013 at 12:15 AM, <[email protected]> wrote: >>>> > >>>> > > Hi Priyank, >>>> > > >>>> > > hope that this could be helpful?!: >>>> > > http://www.adafruit.com/**products/1063<http://www.adafruit.com/products/1063> >>>> > > >>>> > > ??? >>>> > > >>>> > > Best regards, >>>> > > mcc >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > Priyank Patel <[email protected]> [13-10-01 06:00]: >>>> > > > Hi Pedro, >>>> > > > I reviewed the Audio Cape IC specification file. The IC does have >>>> > > powerful >>>> > > > ADC and DAC along with support for features that I require for >>>> the >>>> > > project. >>>> > > > Here, I posted a snapshot of what I found related to the topic >>>> being >>>> > > > discussed. Full version is available at: >>>> www.ti.com/lit/ds/symlink/* >>>> > > > tlv320aic3106*.pdf >>>> > > > I do not understand some of the highlighted portion. Please, see >>>> if its >>>> > > the >>>> > > > same what you mentioned in your earlier reply. >>>> > > > Thanks. >>>> > > > Priyank. >>>> > > > On Monday, September 30, 2013 11:40:32 PM UTC-4, Peedro A. >>>> Melendez >>>> > > > (lazychino) wrote: >>>> > > > > >>>> > > > > the audio cape IC is really powerful but note some functions >>>> are >>>> > > > > restricted by the hardware, example no microphone support(mic >>>> bias no >>>> > > > > connected). Check the audio cape files to make sure it works >>>> for your >>>> > > > > application. >>>> > > > > -Pedro >>>> > > > > >>>> > > > > >>>> > > > > On Mon, Sep 30, 2013 at 11:36 PM, Pedro A. Melendez < >>>> > > [email protected]<javascript:**> >>>> > > > > > wrote: >>>> > > > > >>>> > > > >> I'm using SYBA usb audio dongle is 11 bucks and it works. It >>>> appears >>>> > > as a >>>> > > > >> second audio device if you dont disable the hdmi cape. >>>> > > > >> -Pedro >>>> > > > >> >>>> > > > >> >>>> > > > >> On Mon, Sep 30, 2013 at 11:32 PM, <[email protected]<javascript:>> >>>> > > wrote: >>>> > > > >> >>>> > > > >>> 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] <javascript:>> [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]: >>>> > > > >>> > > >>>> > > > >>> > > 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 >>>> > > > >>> > > > >>>> beagleboard...@googlegroups.**com<javascript:>. >>>> >>>> > > > >>> > > > >>>> For more options, visit >>>> > > > >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>. >>>> >>>> > > > >>> > > > >>>> >>>> > > > >>> > > > >>> >>>> > > > >>> > > > >>> >>>> > > > >>> > > > >>> >>>> > > > >>> > > > >>> -- >>>> > > > >>> > > > >>> LinkedIn - http://www.linkedin.com/in/** >>>> maximpodbereznyy <http://www.linkedin.com/in/maximpodbereznyy> >>>> > > > >>> > > > >>> Company - http://www.linkedin.com/** >>>> company/mentorel <http://www.linkedin.com/company/mentorel> >>>> > > > >>> > > > >>> Facebook - https://www.facebook.com/** >>>> mentorel.company <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<https://groups.google.com/d/topic/beagleboard/spmJODUYSp0/unsubscribe>. >>>> >>>> > > > >>> > > > >>> To unsubscribe from this group and all its topics, >>>> send an >>>> > > > >>> email to >>>> > > > >>> > > > >>> beagleboard...@googlegroups.**com <javascript:>. >>>> > > > >>> > > > >>> >>>> > > > >>> > > > >>> For more options, visit >>>> > > > >>> https://groups.google.com/**groups/opt_out<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 beagleboard...@googlegroups.**com<javascript:>. >>>> > > > >>> > > > >> For more options, visit >>>> > > > >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>. >>>> >>>> > > > >>> > > > >> >>>> > > > >>> > > > > >>>> > > > >>> > > > > >>>> > > > >>> > > > > >>>> > > > >>> > > > > -- >>>> > > > >>> > > > > LinkedIn - http://www.linkedin.com/in/** >>>> maximpodbereznyy <http://www.linkedin.com/in/maximpodbereznyy> >>>> > > > >>> > > > > Company - >>>> > > > >>> > > > > http://www.linkedin.com/**company/mentorel<http://www.linkedin.com/company/mentorel> >>>> > > > >>> > > > > Facebook - https://www.facebook.com/** >>>> mentorel.company <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 beagleboard...@googlegroups.**com<javascript:>. >>>> > > > >>> > > > For more options, visit >>>> > > https://groups.google.com/**groups/opt_out<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 beagleboard...@googlegroups.**com <javascript:>. >>>> > > > >>> > For more options, visit https://groups.google.com/** >>>> groups/opt_out <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 beagleboard...@googlegroups.**com <javascript:>. >>>> > > > >>> For more options, visit https://groups.google.com/** >>>> groups/opt_out <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 beagleboard...@**googlegroups.com. >>>> > > > For more options, visit https://groups.google.com/** >>>> groups/opt_out <https://groups.google.com/groups/opt_out>. >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > 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<https://groups.google.com/d/topic/beagleboard/spmJODUYSp0/unsubscribe>. >>>> >>>> > > To unsubscribe from this group and all its topics, send an email to >>>> > > beagleboard...@**googlegroups.com. >>>> > > For more options, visit >>>> > > https://groups.google.com/**groups/opt_out<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 beagleboard...@**googlegroups.com. >>>> > For more options, visit >>>> > https://groups.google.com/**groups/opt_out<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. >>> >> >> >> >> -- >> 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]. >> 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 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]. > 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.
