Author Topic: GetSpectrumData mirrored in last update  (Read 3503 times)

derTyp

  • Jr. Member
  • **
  • Posts: 71
Hi,

I am using "NowPlaying_GetSpectrumData" in my plugin and after the update to 3.1.6466 the results seem mirrored (lower freq at the end).
Has there been a change to this function ?

Best regards

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34349
yes it does appear some changes i made can impact that API call.
if you set the array length to 4096 the data is split for the left and right channels, with the lower frequencies towards the center.
Anything other array lengths and it should behave as before eg. set the length to 2048

derTyp

  • Jr. Member
  • **
  • Posts: 71
I had indeed set it to 4096, using 2048 it works as expected.

Thanks!