This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Fix dsp::dbToAmplitude() for simd:: types.
tags/v2.5.0
Andrew Belt
1 year ago
parent
bb8f70c04e
commit
d87bf878eb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
include/dsp/common.hpp
+ 1
- 1
include/dsp/common.hpp
View File
@@ -47,7 +47,7 @@ T amplitudeToDb(T amp) {
template <typename T>
T dbToAmplitude(T db) {
return s
t
d::pow(10, db / 20);
return s
im
d::pow(10, db / 20);
}
// Functions for parameter scaling
Write
Preview
Loading…
Cancel
Save