|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 | ||
|
DriverHeaven Addict
Join Date: Dec 2002
Posts: 259
Rep Power: 0 ![]() |
Peak plugin with one register less
Well, the actual code of peak is
Quote:
But is not necesary to take the logarithm of the input. If you just take the abs of the inputs (the resolution=0x1F register is not needed there), and uses a different formula in the dll to ake the conversion, the result would be exactly the same Quote:
|
||
|
|
|
|
|
#2 |
|
kX Project Lead Programmer and Coordinator
Join Date: Dec 2002
Posts: 3,037
Rep Power: 56 ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
sounds reasonable. I'll have a look -- thanks
/E |
|
|
|
|
|
#3 |
|
d/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,418
Rep Power: 47 ![]() |
(btw. E. this is exactly like in ufx's peakmeter and i wrote to you about this)
In fact, "log" (as well as "exp") instruction of fx8010 is just an approximation so it gives ~0.5dB error at every "2*(n+1)*3db" peakmeter value... So method with "linear" dsp code and linear->logarithmic conversion with kxl (e.g. using C) is preferred...
__________________
Last edited by Max M.; Dec 13, 2003 at 10:45 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|