compressor with meter

Official support for: sonicbirth.sourceforge.net
RELATED
PRODUCTS

Post

Thank you for the detailed explanation.

Please go and check your PM

it is still not the compressor it will follow later,
I got obsessed with the VU at the moment.


Cheers,
René
Image
DSP with attitude

Post

Thank you for your good GUI on your PM.

I think there are two way to display value:
1-linear meter with dB scaled graduation like real VU meters(magnetic type)
2-dB-scaled meter with linear graduation like real LED type VU meters

I see you took the 2nd way.

I've seen the approach like this on this forum:
http://www.kvraudio.com/forum/viewtopic.php?t=199823
And there is eesn's sample circuit:
http://dot.cult.bg/esem/files/eesn_soni ... emeter.zip
I made new sample circuit from eesn's one.
http://www.kvraudio.com/banks.php?s=dl&id=972
It will fit you GUI.

Post

Sorry,I had a mistake .The meters are upside-down.
The corrected version:
http://www.kvraudio.com/banks.php?s=dl&id=973

Post

I'm very sorry.My testing was incomplete.The multiplying and dividing for the "nearest-int" process was not necesarry.
I corrected it again:
http://www.kvraudio.com/banks.php?s=dl&id=974

Post

I made new VU sample.
http://www.kvraudio.com/banks.php?s=dl&id=976
It can display peaks on the same meter.

Post

I added some feature to VUexample5.
http://www.kvraudio.com/banks.php?s=dl&id=977
The peak meter became faster in attack time.
Here I used look-ahead env follower element.

Post

This is very cool, and really quite impressive!
It is like in the movie that I showed you before.

Very,very nice!
I have to try some more to understand how and what you were doing.
This is a great piece of work!

Thank you and cheers,
René
Last edited by Midiworks on Sat Apr 25, 2009 10:20 pm, edited 1 time in total.
Image
DSP with attitude

Post

I just wanted to let you know that I found a way,
to make those SB squares look like eye candy.
it looks really cool even though it is a lot of work I think it is worth it.

I will show you later
Image
DSP with attitude

Post

As you know,I've forgotten to connect the clip indicator.I corrected it.
http://www.kvraudio.com/banks.php?s=dl&id=978
Midiworks wrote: I have to try some more to understand how and what you were doing.
It has a lot of elements and connections,seems very complex but is actually quite simple.
It's like multi-LED VU meter in real world:Sample&Hold,compare and blink.
The sub-circuit triggers each small meter.
In the sub circuit:
There are two stream:VU and peak.
Each stream is processed independently,then joined and sent the result to each meter.
The VU stream is:
input->Envelope(300ms attack/release time)->linear to dB
->piecewise circuit(1)->triggers of each VU
The peak stream is:
input->envelope(0ms attack/4000ms release)->linear to dB ->ceil
->piecewise circuit(2)->triggers of each peak
Then you add both and send results to each sub-circuit output.

The piecewise circuits act as comparator. Both are almost the same.
In every range,each output sends 0 or 1. They are fixed and there is no calculation.
The difference is :
VU's circuit sends trigger(constant 1) to each output that value matches or is less than the range input.
Peak's circuit sends trigger(constant 1) to an output that value matches the range input.

Post

Thank you again for your nice explanation,
most of it I figured out already and you just confirmed me,
that I was on the right track.

But I have to admit, that I would not have the idea to do it this way
or any other way.(thinking SE)

You are really good with SB, just like I am with SE...


I am still on the graphics and it is much more work than I thought it would be.
But it is getting better and better my main problem at the moment is
that the colors are looking not strong anymore after I applied the effect.
So a red looks more like pink and it is not shiny and bright anymore.
I try to find a way around the problem but otherwise it is working very fine.

So for now, we will be able to apply any shape off a LCD,
and is looking really nice.

After I got this working good, I have to try some idea as for knobs.
The graphic imitations of sb are not so much a problem but it is not easy,
sometimes or even seems impossible to find a good workaround.

thank you again and cheers,
René
Image
DSP with attitude

Post

Sorry for the delay,
I have been busy over the last few days with the vu meter graphics.
this is really quite painful because I have to work with layers.
As you can imagine, it is not much fun doing this in SB...

I had to start over two times because of some stupid mistakes,
actually I wanted to show you something today,
but I'm not sure if it will be ready.
So please don't think, that I am not doing anything,
I'm really working on it and it will be great in the end.

The only problem at the moment is that the graphics start now at -25db
so even if the graphics will all work correctly, the measurement will be wrong... [ at least for this version of the vu meter graphic ]

cheers,
René
Image
DSP with attitude

Post

Please check your PM tatsuo.

cheers,
Rene
Image
DSP with attitude

Post

Thanks.
And I uploaded new VU sample.
http://www.kvraudio.com/banks.php?s=dl&id=984
Includes peak hold switch.
Click the peak LED to reset it.

Post

The new file is very nice and everything is working smooth.
Great work!

Thank you a lot and cheers,
Rene
Image
DSP with attitude

Post

I uploaded new VU sample.
http://www.kvraudio.com/banks.php?s=dl&id=993
Now you can set your standard point(or 0VU) to your favorite value(by 2dB step from -24dB up to -16dB) .
LEDs above 0VU flash in orange and those below 0VU flash in green.
I think it's useful for the latest professionals or a person who has good hardwares and want to record/edit sounds in hi bit resolution.

Post Reply

Return to “SonicBirth”