I'm using Arduino DUE (Cortex-M3 based board).
I want to make a guitar sound using DAC (digital to analog converter).
For instance, the note A2's fundamental frequency is 110 Hz (using A4 440 Hz as the standard). As you know, guitar generates harmonics like 220, 330, 440 Hz, and more. More complex, the amplitudes of each sine waves change as time goes by.
This is described with detail at this paper (Figure 1, Electric & Acoustic Guitar Strings: A Recording of Harmonic Content by Ryan Lee)
I'm trying to understand the Karplus–Strong string synthesis.
(I used Matlab and some examples from Mathworks to understand it.)
However, I'm not sure whether using this algorithm will generate a guitar sound like the acoustic guitar.
What I mean is that, I'm trying to test my pitch detection algorithm with a guitar. But taking a guitar all the time for testing is quite bothersome. So I tried to generate a wave using DAC for faster testing.
When using DAC, will the generated waveform which uses Karplus–Strong algorithm be a reliable input for testing a instrument pitch detection algorithm?
Or is there something else that can be used?