Hi Savannah
I still don’t quite understand what the amplitude values really “are” (?),
Did you read the sdif pages? Normally they explain this pretty well. If you want to understand we ned a bit of mathematics
The amplitudes are the amplitudes of a sinusoidal model.
If you generate a sinusoid you have to specify the amplitude, frequency and phase.
For example the samples of a sinusoidal signal can be written mathematically as
x(n) = A sin(2 pi f n / r +p)
n indicates sample position, A the amplitude, f the frequency in Hz, r the sample rate in Hz, and p the phase at sample position 0.
Now the values you find in peak and sinusoidal analysis as amplitude is the A.
since they are negative also,
They should never be negative. If yo see negative amplitudes please send me the sound file, and the command parameters you used to generate these files.
and I dont se pairs of real/imag numbers.
As these are amplitudes there are no real and imaginary parts. You get those only if you deal with amplitudes and phases.
(I need to get to the magnitude and possible Db also)
The values are the magnitudes, to convert to dB you would apply
A_dB = 20 log10(A/A_ref)
where A is the value you get from the analysis and A_ref is a reference value that you can choose as you like (dB is a relative measure). If you choose A_ref = 0.5 you would get the dB compared to full scale of the audio signal for example (might as well be A_ref= 1 tis depends on how we scale the amplitude, I don’t remember this but I could check).
Best
Axel