Maximum value from mem buffer?

DSP related issues, mathematics, processing and techniques
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: Maximum value from mem buffer?

Post by Youlean »

Thanks a lot!
The delay is awesome, but max from buffer seams not to be working...

Look inside example. OSC should match both lines...
Attachments
Max From Array bug.fsm
(23.83 KiB) Downloaded 1338 times
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Maximum value from mem buffer?

Post by KG_is_back »

Ups... there was a wrong sign in the "d=d&(d>=16);" it suppose to be "<". I fixed it in the original post. The result will slightly differ from yours, because you are averaging 17 samples (current sample + 16 delayed samples) instead of 16.
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: Maximum value from mem buffer?

Post by Youlean »

Great,great!
Thanks a lot!!!

BTW, would you like to collaborate with me to make a Limiter (VST Plugin)? I have a plan (and half of an example) how to make Limiter as good as OZone intelligent 3 Limiter...
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Maximum value from mem buffer?

Post by KG_is_back »

Count me in! However, I do not know how much time I will have in next couple of months - exams coming soon.
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: Maximum value from mem buffer?

Post by Youlean »

Ok, no problem. I have exams too.. ;)

Are you OK to do this project as a closed source? If you are OK with that, PM me so we can exchange emails, and then I can send you my work done so far, and we can speak about details...

Of course, I you don't like it for some reason, you can say no, it is not a problem... :)
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Maximum value from mem buffer?

Post by KG_is_back »

I'm okay with that... already PMed you. By the way I see many ways the module can be optimized - the loop may be skipped if input is smaller than output and until buffer loops once. Also if the module should work in mono and buffer will always be multiple of 4 then loop may be reduced to 1/4 using SSE. Also the looping mechanism may be heavily optimized if buffer will always be 2^N size.
Youlean
Posts: 176
Joined: Mon Jun 09, 2014 2:49 pm

Re: Maximum value from mem buffer?

Post by Youlean »

Ok, I have sent you an email. :)
Post Reply