Skip to content

RCA analog audio to internal ADC to I2S #1683

Discussion options

You must be logged in to vote

Your CSVOutput has a bug: it must be <int16_t>. I also think you have a bug with the number of channels: if you record only on 1 pin you have a mono signal, so the number of channels should be 1 and not 2.

Finally, I don't think you can use the internal DAC for this: but test this yourself by recording a sine wave. The goal is to see a proper 0 centered sine wave in the Arduino Serial Plotter.

I expect that your ADC will only show the + part of the audio and cut off the - part of the sine wave...

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@StefanoLassandro
Comment options

Answer selected by StefanoLassandro
Comment options

You must be logged in to vote
3 replies
@StefanoLassandro
Comment options

@pschatzmann
Comment options

@StefanoLassandro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants