Skip to content

Conversation

dkaukov
Copy link
Contributor

@dkaukov dkaukov commented Mar 29, 2025

No description provided.

@pschatzmann
Copy link
Owner

pschatzmann commented Mar 29, 2025

I am not sure what kind of problem you try to solve, but using the current implementation with a (mono, 16bit at 44100 samples/second) output on an ESP32 Dev Module using the current ESP32 Arduino Core V3.1.3 (which uses IDF 5.3) gives the following output

image

@dkaukov
Copy link
Contributor Author

dkaukov commented Mar 29, 2025

Hi @pschatzmann,
Thank you for sharing the graph! However, I’m not entirely sure what it represents. If you specify DAC_CHANNEL_MODE_ALTER, the dac_continuous_new_channels() function expects interleaved samples. If the graph is an oscilloscope capture of the DAC output fed with a sine wave generator, it’s likely showing a frequency that is 2× the original due to the way the samples are being processed. Could you clarify how the data was captured?

@pschatzmann pschatzmann merged commit 94e40c4 into pschatzmann:main Mar 29, 2025
@pschatzmann
Copy link
Owner

OK, I see: you are right! The frequency is indeed wrong...

@dkaukov dkaukov deleted the idf5-dac-mono branch March 29, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants