Go Down

Topic: dacc_write_conversion_data vs analogWrite (Read 387 times) previous topic - next topic

TMSA-Instrument

Hello,

What is the difference between dacc_write_conversion_data and analogWrite on the due? I'm making an synthesizer instrument and I'm getting vastly different sound results using either one. With conversion data the best was I can describe the sound is smooth, while with the analogWrite I'm getting is sharp and screechy. They're completely different sounds, and the outputs I'm supplying for the functions are the same with each other (simple sine wave).

Also, if you have any tips on getting musical sounds with the due (We already have note frequencies implemented) I would love to hear them!

Go Up