0
0

hi all :)
i want to do an eq for my game in delphi but i don’t how i can use the ^single returned by Get_DSP_scpetrum … i just have one value between 0 and 1 not all the 512. Please could some one help me ?
(sorry for the mistakes… im not english 😉

  • You must to post comments
0
0

type
PSingleArray = ^TSingleArray;
TSingleArray = array [0..High(Integer) div SizeOf(Single) – 1] of Single;

var
Spectrum: PSingleArray;

Spectrum := PSingleArray(ReturnValue);
FirstValue := Spectrum^[0];

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.