Page 1 of 1

Spectrum Block

Posted: Fri Apr 02, 2021 3:58 pm
by wde
Spectrum Block uses FftSharp to visualize three frequency zones among other things. Unzip to generators folder. Modern Sequence Editor is needed to see the output.

Create a long pattern, right click to choose connection, change parameters to adjust things.

Re: Spectrum Block

Posted: Fri Apr 02, 2021 6:00 pm
by IXix
So cool! You're a legend. 8-)

Re: Spectrum Block

Posted: Fri Apr 02, 2021 8:30 pm
by Candle
Worth the wait :!:

:dance: :D 8-)

See You In The Shadows…

Re: Spectrum Block

Posted: Sat Apr 03, 2021 9:36 am
by HerrFornit
Yeah. :!:
Just a few observations after short testing:
-Maybe SB does not clear the result when changing to any "dummy" input connection (eg MSE). How to clean then?
-After playing with parameters, the resulting relief changes with every loop (?)
-A cross or hook for marking the chosen connection would be nice.
-Perhaps a line for a phase correlation :idea: between input signals (usually L/R or any machines(!)) would be a useful extension. ;)

Thanx a lot!

Re: Spectrum Block

Posted: Sun Apr 04, 2021 9:38 am
by wde
Fixes and cleanups.

Now it resets view when connection is changed. Tooltip shows connection. Should be also accurate (tested with static sample). Phase is out of scope :)

Re: Spectrum Block

Posted: Sun Apr 04, 2021 9:55 am
by HerrFornit
thanx for fixes. There is still some "random" factor for results. Even after off commands before looping. Probably no bug of SB rather VST variance! With matilde sample its stable results, too.
wde wrote: ↑
Sun Apr 04, 2021 9:38 am
Phase is out of scope :)
I see. Is phase not a result of the fft anyway? Phase is for me the most useful spectral information when composing, to find interferences. But not essential. Perhaps in another Block machine. :)

Re: Spectrum Block

Posted: Mon Apr 05, 2021 3:55 pm
by wde
Added stereo balance and correlation coefficient calculation which can be used to understand stereo signal width. I cleaned up the code further so it should be pretty straightforward to add new visualizations if someone wants to do that.

Re: Spectrum Block

Posted: Mon Apr 05, 2021 4:38 pm
by HerrFornit
Cool 8-)
Usually Correlation meters are from -1 to +1. /s. pic. Span and TT Dynamic Range Meter
Is yours (red line 0 to +1 ?)
EDIT: Have seen that you can show the values in tooltips. its also negative so -1 to +1 prob. But values (at least the bars) differ from the red line. In my example SPAN and TT's didnt go below 0 while the red line peaks below 0 to -0.4 or so.
I definitely need same dashed help line fully right/middle/fully left ;)
Correlation Meters.jpg
Correlation Meters.jpg (40.04 KiB) Viewed 112 times