Submitted by SSC_08 t3_yazfo3 in MachineLearning
f10101 t1_itii7b6 wrote
You already have an A-D converter. It's built into every laptop or computer.
Just plug whatever analogue source you've got into the computer's audio input, and you will instantly have a digital version available to you to record or turn into a spectrogram.
SSC_08 OP t1_itiz1wy wrote
Sounds good! Is this the same process for microprocessors and such (Raspberry Pi)?
f10101 t1_itj0yxm wrote
Functionally, the process is the exact same as you would do on a computer, but for these, yes, you will need an ADC module. (as the Rpi doesn't have an audio-in built in).
For sanity's sake, I would recommend getting something like a USB audio interface, or a dedicated audio ADC module that contains all the audio stuff (rather than working with a generic ADC and trying to make it work for audio). Something like: https://thepihut.com/products/hifiberry-dac-adc might be a good option to start with, perhaps?
SSC_08 OP t1_itk2mzu wrote
Sounds good! So just confirming, if I plan to use a raspberry pi, it would make sense to invest in an ADC module compatible with pi, correct?
f10101 t1_itk7xxf wrote
Yes. Or I believe you can use a USB mic that is compatible with the pi.
SSC_08 OP t1_itleanh wrote
Okay, so if I already have a USB mic compatible, I don't need the ADC converter?
Sorry for all the questions and thank you for your help!
f10101 t1_itlg968 wrote
Yes, exactly.
A USB mic is a normal mic that has a hidden built-in adc.
It sends you the digital signal over the USB cable.
Viewing a single comment thread. View all comments