From 56be1d456c6bc6a74de4883beed4a17550c04f6d Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Mon, 30 Dec 2019 10:01:47 -0500 Subject: Inexplicable Bugfix: Baxandall This frequency must be twice as high as it's supposed to be, for no reason that I can understand --- plugins/MacAU/Baxandall/Baxandall.cpp | 2 +- .../Baxandall.xcodeproj/christopherjohnson.pbxuser | 26 ++++++++++----------- .../christopherjohnson.perspectivev3 | 27 +++++++++++----------- 3 files changed, 28 insertions(+), 27 deletions(-) (limited to 'plugins/MacAU') 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 @@ _historyCapacity 0 bookmark - 8B8184ED23B035A8004A8ECB + 8B96B44F23BA42C000E8F2D2 history 8B1927DA23B013EA00D75552 - 8B19288923B032DA00D75552 + 8B96B42523BA3E7F00E8F2D2 SplitCount @@ -372,18 +372,18 @@ GeometryConfiguration Frame - {{0, 0}, {531, 202}} + {{0, 0}, {531, 188}} RubberWindowFrame 599 206 841 654 0 0 1440 878 Module PBXNavigatorGroup Proportion - 202pt + 188pt Proportion - 406pt + 420pt Tabs @@ -397,9 +397,7 @@ GeometryConfiguration Frame - {{10, 27}, {531, 379}} - RubberWindowFrame - 599 206 841 654 0 0 1440 878 + {{10, 27}, {531, 393}} Module XCDetailModule @@ -453,7 +451,9 @@ GeometryConfiguration Frame - {{10, 27}, {531, 352}} + {{10, 27}, {531, 393}} + RubberWindowFrame + 599 206 841 654 0 0 1440 878 Module PBXBuildResultsModule @@ -481,11 +481,11 @@ TableOfContents - 8B8184EE23B035A8004A8ECB + 8B96B42B23BA3E9000E8F2D2 1CA23ED40692098700951B8B - 8B8184EF23B035A8004A8ECB + 8B96B42C23BA3E9000E8F2D2 8BD7274A1D46E5A5000176F0 - 8B8184F023B035A8004A8ECB + 8B96B42D23BA3E9000E8F2D2 1CA23EDF0692099D00951B8B 1CA23EE00692099D00951B8B 1CA23EE10692099D00951B8B @@ -658,7 +658,7 @@ StatusbarIsVisible TimeStamp - 598750632.76480103 + 599409344.02047396 ToolbarConfigUserDefaultsMinorVersion 2 ToolbarDisplayMode @@ -675,6 +675,7 @@ 5 WindowOrderList + 8B96B45023BA42C000E8F2D2 /Users/christopherjohnson/Desktop/Plugins/MacAU/Baxandall/Baxandall.xcodeproj WindowString -- cgit v1.2.3