aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johnson <jinx6568@sover.net>2019-12-30 10:01:47 -0500
committerChris Johnson <jinx6568@sover.net>2019-12-30 10:01:47 -0500
commit56be1d456c6bc6a74de4883beed4a17550c04f6d (patch)
treecda060c9deb04fab910c6a00200762ee9a1dcda5
parentebeb1e6ee104b464fe1f5104c28387d86f85dec0 (diff)
downloadairwindows-lv2-port-56be1d456c6bc6a74de4883beed4a17550c04f6d.tar.gz
airwindows-lv2-port-56be1d456c6bc6a74de4883beed4a17550c04f6d.tar.bz2
airwindows-lv2-port-56be1d456c6bc6a74de4883beed4a17550c04f6d.zip
Inexplicable Bugfix: Baxandall
This frequency must be twice as high as it's supposed to be, for no reason that I can understand
-rwxr-xr-xplugins/LinuxVST/src/Baxandall/BaxandallProc.cpp4
-rwxr-xr-xplugins/MacAU/Baxandall/Baxandall.cpp2
-rwxr-xr-xplugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser26
-rwxr-xr-xplugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev327
-rwxr-xr-xplugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser10
-rwxr-xr-xplugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev318
-rwxr-xr-xplugins/MacVST/Baxandall/source/BaxandallProc.cpp4
-rwxr-xr-xplugins/WinVST/Baxandall/BaxandallProc.cpp4
8 files changed, 49 insertions, 46 deletions
diff --git a/plugins/LinuxVST/src/Baxandall/BaxandallProc.cpp b/plugins/LinuxVST/src/Baxandall/BaxandallProc.cpp
index 123d328..9f75cce 100755
--- a/plugins/LinuxVST/src/Baxandall/BaxandallProc.cpp
+++ b/plugins/LinuxVST/src/Baxandall/BaxandallProc.cpp
@@ -20,7 +20,7 @@ void Baxandall::processReplacing(float **inputs, float **outputs, VstInt32 sampl
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
@@ -157,7 +157,7 @@ void Baxandall::processDoubleReplacing(double **inputs, double **outputs, VstInt
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
diff --git a/plugins/MacAU/Baxandall/Baxandall.cpp b/plugins/MacAU/Baxandall/Baxandall.cpp
index 01d5659..aefc66f 100755
--- a/plugins/MacAU/Baxandall/Baxandall.cpp
+++ b/plugins/MacAU/Baxandall/Baxandall.cpp
@@ -203,7 +203,7 @@ void Baxandall::BaxandallKernel::Process( const Float32 *inSourceP,
trebleA[0] = trebleB[0] = trebleFreq;
Float64 bassGain = pow(10.0,GetParameter( kParam_Two )/20.0);
Float64 bassFreq = pow(10.0,-GetParameter( kParam_Two )/20.0);
- bassFreq = (4410.0*bassFreq)/GetSampleRate();
+ bassFreq = (8820.0*bassFreq)/GetSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassA[0] = bassB[0] = bassFreq;
trebleA[1] = trebleB[1] = 0.4;
diff --git a/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
index c1a960e..68ec71d 100755
--- a/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
@@ -51,13 +51,13 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 598750626;
- PBXWorkspaceStateSaveDate = 598750626;
+ PBXPerProjectTemplateStateSaveDate = 599405904;
+ PBXWorkspaceStateSaveDate = 599405904;
};
perUserProjectItems = {
8B1927DA23B013EA00D75552 /* PlistBookmark */ = 8B1927DA23B013EA00D75552 /* PlistBookmark */;
- 8B19288923B032DA00D75552 /* PBXTextBookmark */ = 8B19288923B032DA00D75552 /* PBXTextBookmark */;
- 8B8184ED23B035A8004A8ECB /* PBXTextBookmark */ = 8B8184ED23B035A8004A8ECB /* PBXTextBookmark */;
+ 8B96B42523BA3E7F00E8F2D2 /* PBXTextBookmark */ = 8B96B42523BA3E7F00E8F2D2 /* PBXTextBookmark */;
+ 8B96B44F23BA42C000E8F2D2 /* PBXTextBookmark */ = 8B96B44F23BA42C000E8F2D2 /* PBXTextBookmark */;
};
sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */;
userBuildSettings = {
@@ -75,32 +75,32 @@
rLen = 0;
rLoc = 9223372036854775808;
};
- 8B19288923B032DA00D75552 /* PBXTextBookmark */ = {
+ 8B96B42523BA3E7F00E8F2D2 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 8BA05A660720730100365D66 /* Baxandall.cpp */;
name = "Baxandall.cpp: 232";
rLen = 0;
rLoc = 10285;
rType = 0;
- vrLen = 649;
- vrLoc = 9207;
+ vrLen = 551;
+ vrLoc = 9357;
};
- 8B8184ED23B035A8004A8ECB /* PBXTextBookmark */ = {
+ 8B96B44F23BA42C000E8F2D2 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 8BA05A660720730100365D66 /* Baxandall.cpp */;
name = "Baxandall.cpp: 232";
rLen = 0;
rLoc = 10285;
rType = 0;
- vrLen = 585;
- vrLoc = 9271;
+ vrLen = 518;
+ vrLoc = 9003;
};
8BA05A660720730100365D66 /* Baxandall.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {656, 3913}}";
+ sepNavIntBoundsRect = "{{0, 0}, {656, 3848}}";
sepNavSelRange = "{10285, 0}";
- sepNavVisRange = "{9271, 585}";
- sepNavWindowFrame = "{{680, 53}, {817, 818}}";
+ sepNavVisRange = "{9003, 518}";
+ sepNavWindowFrame = "{{598, 57}, {817, 818}}";
};
};
8BA05A690720730100365D66 /* BaxandallVersion.h */ = {
diff --git a/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
index f18dfd3..e67b32d 100755
--- a/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacAU/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
@@ -354,11 +354,11 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8B8184ED23B035A8004A8ECB</string>
+ <string>8B96B44F23BA42C000E8F2D2</string>
<key>history</key>
<array>
<string>8B1927DA23B013EA00D75552</string>
- <string>8B19288923B032DA00D75552</string>
+ <string>8B96B42523BA3E7F00E8F2D2</string>
</array>
</dict>
<key>SplitCount</key>
@@ -372,18 +372,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {531, 202}}</string>
+ <string>{{0, 0}, {531, 188}}</string>
<key>RubberWindowFrame</key>
<string>599 206 841 654 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>202pt</string>
+ <string>188pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>406pt</string>
+ <string>420pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -397,9 +397,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {531, 379}}</string>
- <key>RubberWindowFrame</key>
- <string>599 206 841 654 0 0 1440 878 </string>
+ <string>{{10, 27}, {531, 393}}</string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -453,7 +451,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {531, 352}}</string>
+ <string>{{10, 27}, {531, 393}}</string>
+ <key>RubberWindowFrame</key>
+ <string>599 206 841 654 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -481,11 +481,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8B8184EE23B035A8004A8ECB</string>
+ <string>8B96B42B23BA3E9000E8F2D2</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8B8184EF23B035A8004A8ECB</string>
+ <string>8B96B42C23BA3E9000E8F2D2</string>
<string>8BD7274A1D46E5A5000176F0</string>
- <string>8B8184F023B035A8004A8ECB</string>
+ <string>8B96B42D23BA3E9000E8F2D2</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -658,7 +658,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>598750632.76480103</real>
+ <real>599409344.02047396</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -675,6 +675,7 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
+ <string>8B96B45023BA42C000E8F2D2</string>
<string>/Users/christopherjohnson/Desktop/Plugins/MacAU/Baxandall/Baxandall.xcodeproj</string>
</array>
<key>WindowString</key>
diff --git a/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
index 202d94d..7b0c36b 100755
--- a/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.pbxuser
@@ -49,8 +49,8 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 598748462;
- PBXWorkspaceStateSaveDate = 598748462;
+ PBXPerProjectTemplateStateSaveDate = 599409457;
+ PBXWorkspaceStateSaveDate = 599409457;
};
sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */;
userBuildSettings = {
@@ -82,9 +82,9 @@
};
24D8286F09A914000093AEF8 /* BaxandallProc.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {848, 4745}}";
- sepNavSelRange = "{2589, 0}";
- sepNavVisRange = "{1324, 2327}";
+ sepNavIntBoundsRect = "{{0, 0}, {848, 3705}}";
+ sepNavSelRange = "{6544, 0}";
+ sepNavVisRange = "{0, 2302}";
sepNavWindowFrame = "{{165, 57}, {895, 821}}";
};
};
diff --git a/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
index 1d2389e..0157255 100755
--- a/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacVST/Baxandall/Baxandall.xcodeproj/christopherjohnson.perspectivev3
@@ -256,6 +256,8 @@
<key>Layout</key>
<array>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -298,7 +300,7 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>5</integer>
+ <integer>6</integer>
<integer>4</integer>
<integer>0</integer>
</array>
@@ -384,6 +386,8 @@
<dict>
<key>Frame</key>
<string>{{10, 27}, {603, 414}}</string>
+ <key>RubberWindowFrame</key>
+ <string>145 318 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -438,8 +442,6 @@
<dict>
<key>Frame</key>
<string>{{10, 27}, {603, 414}}</string>
- <key>RubberWindowFrame</key>
- <string>145 318 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -467,11 +469,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8B19286323B02D3200D75552</string>
+ <string>8B1A37D623BA433E00D44C50</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8B19286423B02D3200D75552</string>
+ <string>8B1A37D723BA433E00D44C50</string>
<string>8B0237581D42B1C400E1E8C8</string>
- <string>8B19286523B02D3200D75552</string>
+ <string>8B1A37D823BA433E00D44C50</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -624,7 +626,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>598750605.93217099</real>
+ <real>599409470.30736601</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -641,7 +643,7 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>/Users/christopherjohnson/Desktop/Baxandall/Baxandall.xcodeproj</string>
+ <string>/Users/christopherjohnson/Desktop/Plugins/MacVST/Baxandall/Baxandall.xcodeproj</string>
</array>
<key>WindowString</key>
<string>145 318 810 487 0 0 1440 878 </string>
diff --git a/plugins/MacVST/Baxandall/source/BaxandallProc.cpp b/plugins/MacVST/Baxandall/source/BaxandallProc.cpp
index 123d328..9f75cce 100755
--- a/plugins/MacVST/Baxandall/source/BaxandallProc.cpp
+++ b/plugins/MacVST/Baxandall/source/BaxandallProc.cpp
@@ -20,7 +20,7 @@ void Baxandall::processReplacing(float **inputs, float **outputs, VstInt32 sampl
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
@@ -157,7 +157,7 @@ void Baxandall::processDoubleReplacing(double **inputs, double **outputs, VstInt
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
diff --git a/plugins/WinVST/Baxandall/BaxandallProc.cpp b/plugins/WinVST/Baxandall/BaxandallProc.cpp
index 123d328..9f75cce 100755
--- a/plugins/WinVST/Baxandall/BaxandallProc.cpp
+++ b/plugins/WinVST/Baxandall/BaxandallProc.cpp
@@ -20,7 +20,7 @@ void Baxandall::processReplacing(float **inputs, float **outputs, VstInt32 sampl
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
@@ -157,7 +157,7 @@ void Baxandall::processDoubleReplacing(double **inputs, double **outputs, VstInt
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
double bassGain = pow(10.0,((B*30.0)-15.0)/20.0);
double bassFreq = pow(10.0,-((B*30.0)-15.0)/20.0);
- bassFreq = (4410.0*bassFreq)/getSampleRate();
+ bassFreq = (8820.0*bassFreq)/getSampleRate();
if (bassFreq > 0.45) bassFreq = 0.45;
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;