I want to write a c code to generate tone using array output to DAC in ubuntu. (preferably alsa driver)
For example:
I need to be able to send voltage output to DAC like 1100000 etc. to be able to generate a tone. Is it possible?
P.S. I had a look at tones. Is it possible to do that using a c code rather than a bash command?
Something like pcspkr_pcm.c as a starting point perhaps. It is used by (bsvplay, qplay) also from within the hxtools suite.