problem with msgeq7 audio analyser chip
hello,
i using msgeq7 chip project, , seems of bands intertwined how.
if example run sound test goes 20 20000hz (for example this: https://www.youtube.com/watch?v=y_nplcdydwo) @ first band slow rise in values, slow descent, the second band values start rising, @ points, example while third band starts going down, , fourth starts rising, third bands values jump somewhere near maximal values, , after few moments jump down near zero. same kind of thing happens in of higher frequency bands well.
my code reading chip seems fine:
i calculating average of last 20 values each band, add smoothing values.
has ever had similar experience?
thank you.
i using msgeq7 chip project, , seems of bands intertwined how.
if example run sound test goes 20 20000hz (for example this: https://www.youtube.com/watch?v=y_nplcdydwo) @ first band slow rise in values, slow descent, the second band values start rising, @ points, example while third band starts going down, , fourth starts rising, third bands values jump somewhere near maximal values, , after few moments jump down near zero. same kind of thing happens in of higher frequency bands well.
my code reading chip seems fine:
code: [select]
void eqread(void){
digitalwrite(msg7reset, high);
delaymicroseconds(1); //not necessary
digitalwrite(msg7reset, low);
(int x = 0; x < 7; x++){
digitalwrite(msg7strobe, low);
delaymicroseconds(36);
int spectrumread = newvalues[x] = analogread(msg7dcout);
digitalwrite(msg7strobe, high);
}
}
i calculating average of last 20 values each band, add smoothing values.
has ever had similar experience?
thank you.
Arduino Forum > Using Arduino > Project Guidance > problem with msgeq7 audio analyser chip
arduino
Comments
Post a Comment