I just got an updated unit with four new spectrum styles, “block”, “block_p”, “peak” and “peak_p”.
And I have a question: in the .Create procedure, what exacly is the purpose of the line below ?
[code:2m9cuvgh]BlockFreq := 128 / NumFreq; // only 128 of 512 – this can be setted with other value...[/code:2m9cuvgh]
If I change the “128” value for a higher one (like “512”… the max value), the spectrum shows practically no graphic, but if I put a smaller value like say… “64”, the graphics are displayed better.
What difference does it make for mono and stereo audio files ?
Thanks for any info.
JediKnight, if you have seen spectrums, they go like this, on the left, really tall lines, and towards the right, the lines start to become shorter. The “128 / NumFreq” is to determine the amount of those lines to show. The lower the value, the more lines like the ones on the left you will have. And if the value is higher, you will get a more full spectrum, showing tall and short lines.
Do I explain myself clear? If not, say so please.
- XMinioNX answered 12 years ago
Please login first to submit.