If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
New Style of Spectrum Analyzer - 33 Band
10 posts
• Page 1 of 1
New Style of Spectrum Analyzer - 33 Band
Hi all, well I'm working on a more efficient spectrum analyzer and I am a real fan of the style with just squares.
I still need to add the square effect though So You will have ti use Your imagination.
It's probably going to require an efficient envelope for smoother peaking etc but maybe not, we'll see. I'm hoping I can avoid it altogether because right now I'm at only 0.25% CPU. And that's the goal.
So, be warned there is no prettying up yet but here it is:
(bottom post)
I still need to add the square effect though So You will have ti use Your imagination.
It's probably going to require an efficient envelope for smoother peaking etc but maybe not, we'll see. I'm hoping I can avoid it altogether because right now I'm at only 0.25% CPU. And that's the goal.
So, be warned there is no prettying up yet but here it is:
(bottom post)
Last edited by wlangfor@uoguelph.ca on Sun May 26, 2019 6:17 am, edited 2 times in total.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
So, I needed to do the math differently. It was the overall width / 33 and then that /1 for the db detector.
But, the problem was; Even when that was fixed the spectrum was all off. The results were not reliable and it's why I turned My attention to My LA School Shelf EQ.
It had a great spectrum analyzer which I'd found.
Anyways, If You want to make Your own don't make it using this simple prim. I'll do some testing using other methods and update this one as soon as possible.
But, the problem was; Even when that was fixed the spectrum was all off. The results were not reliable and it's why I turned My attention to My LA School Shelf EQ.
It had a great spectrum analyzer which I'd found.
Anyways, If You want to make Your own don't make it using this simple prim. I'll do some testing using other methods and update this one as soon as possible.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
OK, well I was doing something else and I'd had the chance to pop in so if You want to finish this for Your own uses You can and here's the half updated schema:
[new file in last post]
So I was realizing too, resizing from a view tag is not always possible but cropping is. So that means If You make every band module wide You can then dynamically crop so that each one fits into a perfect 33'rd.
Just an idea, would look very pro.
[new file in last post]
So I was realizing too, resizing from a view tag is not always possible but cropping is. So that means If You make every band module wide You can then dynamically crop so that each one fits into a perfect 33'rd.
Just an idea, would look very pro.
Last edited by wlangfor@uoguelph.ca on Wed May 22, 2019 6:20 pm, edited 1 time in total.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
I really don't have much time to work on this; But I was able to get the automatic resize done.
Only for the first band though. Also, it's improved slightly - the only thing You'll have to do though is check the amount of entries in the array. An interesting idea is dropping all other items in the array other ones being utilized, would be quite efficient.
I guess the question comes down to would deleting the entries cost more than to continually loading them, and is there any latency caused.
So, that aside; This is now seem like something which could be utilized for a professional app. You'll have to divide by the number and the window to decide each relevant array number; And I have not done that.
Here's the newest version of the beta:
[download on last post]
Only for the first band though. Also, it's improved slightly - the only thing You'll have to do though is check the amount of entries in the array. An interesting idea is dropping all other items in the array other ones being utilized, would be quite efficient.
I guess the question comes down to would deleting the entries cost more than to continually loading them, and is there any latency caused.
So, that aside; This is now seem like something which could be utilized for a professional app. You'll have to divide by the number and the window to decide each relevant array number; And I have not done that.
Here's the newest version of the beta:
[download on last post]
Last edited by wlangfor@uoguelph.ca on Thu May 23, 2019 11:15 pm, edited 1 time in total.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
OK, nearly at the point where this is no longer a beta.
However, it uses more memory than I would like. I have a feeling that this has something to do with something I had to use two area clips. But, maybe it's the best route.
Have a look because it uses fft and it is fast and nimble. I question however how accurate it is. But maybe it's close to being something professional. I was just curious to see whether or not prims could beat ruby as I often do not find the ruby analyzers seem very accurate.
Here's the new file:
[file on last post]
However, it uses more memory than I would like. I have a feeling that this has something to do with something I had to use two area clips. But, maybe it's the best route.
Have a look because it uses fft and it is fast and nimble. I question however how accurate it is. But maybe it's close to being something professional. I was just curious to see whether or not prims could beat ruby as I often do not find the ruby analyzers seem very accurate.
Here's the new file:
[file on last post]
Last edited by wlangfor@uoguelph.ca on Fri May 24, 2019 2:18 pm, edited 1 time in total.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
OK, here it is:
Still a pre-release, I find it's a bit sensitive and sometimes bands aren't shown. So I was thinking I could use a differentiator, like an average smoother which is not so destructive.
Here's an image (click to watch the Youtube Video version):
And here is the file:
[latest on last post]
Still a pre-release, I find it's a bit sensitive and sometimes bands aren't shown. So I was thinking I could use a differentiator, like an average smoother which is not so destructive.
Here's an image (click to watch the Youtube Video version):
And here is the file:
[latest on last post]
Last edited by wlangfor@uoguelph.ca on Fri May 24, 2019 6:00 pm, edited 1 time in total.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
I could definitely use one of those if its light on CPU.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: New Style of Spectrum Equalizer - 33 Band
I've gotten this new version down to 0.2 - 0.3%
Here's the DL:
The readings regarding CPU usage were a little misleading until I outputted to a vst. Once I had that was the result. I'll be adding a peaking with slower decay rate. That will be an option soon as well as speed and wether or not You want the band's squares to be rounded.
Pretty cool right? And it uses no images.
Best of all though is soon it will be totally vector. So it will automatically resize width and height, line thickness too based upon main module size. I do not think there has been anything like it. Supports any sample rate btw, automatically delineates dependent on width of module on a plain logarithm starting at 40 hz.
EDIT: updated so that the zero at the beginning is set at 40hz.
But I wondered does anyone know of a way to ascertain the exact array locale so that from a float decimal it con be converted to int more effectively? The rounding I'm using right now is too broad. And I would be more comfortable with the math if it were more decisive. I suppose My inability to find the relevant fix is I can'nt think of the correct terminology.
Thanks in advance.
Here's the DL:
The readings regarding CPU usage were a little misleading until I outputted to a vst. Once I had that was the result. I'll be adding a peaking with slower decay rate. That will be an option soon as well as speed and wether or not You want the band's squares to be rounded.
Pretty cool right? And it uses no images.
Best of all though is soon it will be totally vector. So it will automatically resize width and height, line thickness too based upon main module size. I do not think there has been anything like it. Supports any sample rate btw, automatically delineates dependent on width of module on a plain logarithm starting at 40 hz.
EDIT: updated so that the zero at the beginning is set at 40hz.
But I wondered does anyone know of a way to ascertain the exact array locale so that from a float decimal it con be converted to int more effectively? The rounding I'm using right now is too broad. And I would be more comfortable with the math if it were more decisive. I suppose My inability to find the relevant fix is I can'nt think of the correct terminology.
Thanks in advance.
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: New Style of Spectrum Equalizer - 33 Band
Would it take less cpu to have a globel 25 tick rather then having one in each module ?
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: New Style of Spectrum Equalizer - 33 Band
lalalandsynth wrote:Would it take less cpu to have a globel 25 tick rather then having one in each module ?
I changed that over to a 100 that's shared. But sometimes there are contradictions
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 78 guests