diff options
author | Chris Johnson <jinx6568@sover.net> | 2018-12-03 21:25:45 -0500 |
---|---|---|
committer | Chris Johnson <jinx6568@sover.net> | 2018-12-03 21:25:45 -0500 |
commit | 6d68aeb7d2a09a5d3515058d3fd98a4b4a908322 (patch) | |
tree | 1f9d17dfd6ee97213b1bf3049ed7c01c8bc8f700 /plugins/MacAU | |
parent | 7b85f3eb20819c11eb67146d826f9e3d8a8e7d39 (diff) | |
download | airwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.tar.gz airwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.tar.bz2 airwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.zip |
Bugfix on Gatelope
Diffstat (limited to 'plugins/MacAU')
3 files changed, 92 insertions, 33 deletions
diff --git a/plugins/MacAU/Gatelope/Gatelope.cpp b/plugins/MacAU/Gatelope/Gatelope.cpp index bd93477..bde6522 100755 --- a/plugins/MacAU/Gatelope/Gatelope.cpp +++ b/plugins/MacAU/Gatelope/Gatelope.cpp @@ -263,7 +263,7 @@ void Gatelope::GatelopeKernel::Process( const Float32 *inSourceP, if (fabs(inputSample) > threshold) { treblefreq += attackSpeed; - if (treblefreq > 1.0) treblefreq = 1.0; + if (treblefreq > 2.0) treblefreq = 2.0; bassfreq -= attackSpeed; bassfreq -= attackSpeed; if (bassfreq < 0.0) bassfreq = 0.0; @@ -285,6 +285,7 @@ void Gatelope::GatelopeKernel::Process( const Float32 *inSourceP, if (treblefreq >= 1.0) iirLowpassA = inputSample; else iirLowpassA = (iirLowpassA * (1.0 - treblefreq)) + (inputSample * treblefreq); + if (bassfreq > 1.0) bassfreq = 1.0; if (bassfreq > 0.0) iirHighpassA = (iirHighpassA * (1.0 - bassfreq)) + (inputSample * bassfreq); else iirHighpassA = 0.0; @@ -297,7 +298,7 @@ void Gatelope::GatelopeKernel::Process( const Float32 *inSourceP, if (fabs(inputSample) > threshold) { treblefreq += attackSpeed; - if (treblefreq > 1.0) treblefreq = 1.0; + if (treblefreq > 2.0) treblefreq = 2.0; bassfreq -= attackSpeed; bassfreq -= attackSpeed; if (bassfreq < 0.0) bassfreq = 0.0; @@ -319,6 +320,8 @@ void Gatelope::GatelopeKernel::Process( const Float32 *inSourceP, if (treblefreq >= 1.0) iirLowpassB = inputSample; else iirLowpassB = (iirLowpassB * (1.0 - treblefreq)) + (inputSample * treblefreq); + if (bassfreq > 1.0) bassfreq = 1.0; + if (bassfreq > 0.0) iirHighpassB = (iirHighpassB * (1.0 - bassfreq)) + (inputSample * bassfreq); else iirHighpassB = 0.0; diff --git a/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser index e126c6d..7846c86 100755 --- a/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser @@ -49,13 +49,15 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 565398383; - PBXWorkspaceStateSaveDate = 565398383; + PBXPerProjectTemplateStateSaveDate = 565571362; + PBXWorkspaceStateSaveDate = 565571362; }; perUserProjectItems = { 8B0209A521B3215F00952287 /* PlistBookmark */ = 8B0209A521B3215F00952287 /* PlistBookmark */; - 8B0209A721B3215F00952287 /* PBXTextBookmark */ = 8B0209A721B3215F00952287 /* PBXTextBookmark */; - 8B020A2621B3543D00952287 /* PBXTextBookmark */ = 8B020A2621B3543D00952287 /* PBXTextBookmark */; + 8B416D2421B5EF2500DD5013 /* PBXBookmark */ = 8B416D2421B5EF2500DD5013 /* PBXBookmark */; + 8B416D2921B5FD1F00DD5013 /* PBXTextBookmark */ = 8B416D2921B5FD1F00DD5013 /* PBXTextBookmark */; + 8B416D2E21B5FD3000DD5013 /* PBXTextBookmark */ = 8B416D2E21B5FD3000DD5013 /* PBXTextBookmark */; + 8B416D3421B5FD3000DD5013 /* PBXTextBookmark */ = 8B416D3421B5FD3000DD5013 /* PBXTextBookmark */; }; sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */; userBuildSettings = { @@ -73,31 +75,45 @@ rLen = 0; rLoc = 9223372036854775808; }; - 8B0209A721B3215F00952287 /* PBXTextBookmark */ = { + 8B416D2421B5EF2500DD5013 /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = 8BA05A660720730100365D66 /* Gatelope.cpp */; + }; + 8B416D2921B5FD1F00DD5013 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 8BA05A690720730100365D66 /* GatelopeVersion.h */; name = "GatelopeVersion.h: 54"; rLen = 4; rLoc = 2884; rType = 0; - vrLen = 186; - vrLoc = 2764; + vrLen = 126; + vrLoc = 2816; }; - 8B020A2621B3543D00952287 /* PBXTextBookmark */ = { + 8B416D2E21B5FD3000DD5013 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 8BA05A690720730100365D66 /* GatelopeVersion.h */; name = "GatelopeVersion.h: 54"; rLen = 4; rLoc = 2884; rType = 0; - vrLen = 179; - vrLoc = 2764; + vrLen = 126; + vrLoc = 2816; + }; + 8B416D3421B5FD3000DD5013 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 8BA05A660720730100365D66 /* Gatelope.cpp */; + name = "Gatelope.cpp: 325"; + rLen = 0; + rLoc = 13129; + rType = 0; + vrLen = 1897; + vrLoc = 12493; }; 8BA05A660720730100365D66 /* Gatelope.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {1082, 5044}}"; - sepNavSelRange = "{12923, 0}"; - sepNavVisRange = "{12454, 1858}"; + sepNavIntBoundsRect = "{{0, 0}, {1082, 5057}}"; + sepNavSelRange = "{13129, 0}"; + sepNavVisRange = "{12493, 1897}"; sepNavWindowFrame = "{{15, 39}, {1129, 834}}"; }; }; @@ -111,9 +127,9 @@ }; 8BA05A690720730100365D66 /* GatelopeVersion.h */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {761, 936}}"; + sepNavIntBoundsRect = "{{0, 0}, {456, 923}}"; sepNavSelRange = "{2884, 4}"; - sepNavVisRange = "{2764, 179}"; + sepNavVisRange = "{2816, 126}"; sepNavWindowFrame = "{{15, 43}, {705, 830}}"; }; }; diff --git a/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3 index 9631132..1a46c04 100755 --- a/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacAU/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3 @@ -222,7 +222,48 @@ </dict> </array> <key>OpenEditors</key> - <array/> + <array> + <dict> + <key>Content</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>8B416D3221B5FD3000DD5013</string> + <key>PBXProjectModuleLabel</key> + <string>Gatelope.cpp</string> + <key>PBXSplitModuleInNavigatorKey</key> + <dict> + <key>Split0</key> + <dict> + <key>PBXProjectModuleGUID</key> + <string>8B416D3321B5FD3000DD5013</string> + <key>PBXProjectModuleLabel</key> + <string>Gatelope.cpp</string> + <key>_historyCapacity</key> + <integer>0</integer> + <key>bookmark</key> + <string>8B416D3421B5FD3000DD5013</string> + <key>history</key> + <array> + <string>8B416D2421B5EF2500DD5013</string> + </array> + </dict> + <key>SplitCount</key> + <string>1</string> + </dict> + <key>StatusBarVisibility</key> + <true/> + </dict> + <key>Geometry</key> + <dict> + <key>Frame</key> + <string>{{0, 20}, {1129, 737}}</string> + <key>PBXModuleWindowStatusBarHidden2</key> + <false/> + <key>RubberWindowFrame</key> + <string>15 95 1129 778 0 0 1440 878 </string> + </dict> + </dict> + </array> <key>PerspectiveWidths</key> <array> <integer>815</integer> @@ -256,8 +297,6 @@ <key>Layout</key> <array> <dict> - <key>BecomeActive</key> - <true/> <key>ContentConfiguration</key> <dict> <key>PBXBottomSmartGroupGIDs</key> @@ -354,11 +393,11 @@ <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> - <string>8B020A2621B3543D00952287</string> + <string>8B416D2E21B5FD3000DD5013</string> <key>history</key> <array> <string>8B0209A521B3215F00952287</string> - <string>8B0209A721B3215F00952287</string> + <string>8B416D2921B5FD1F00DD5013</string> </array> </dict> <key>SplitCount</key> @@ -372,18 +411,18 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {505, 83}}</string> + <string>{{0, 0}, {505, 67}}</string> <key>RubberWindowFrame</key> <string>46 385 815 372 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>83pt</string> + <string>67pt</string> </dict> <dict> <key>Proportion</key> - <string>243pt</string> + <string>259pt</string> <key>Tabs</key> <array> <dict> @@ -397,9 +436,7 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {505, 216}}</string> - <key>RubberWindowFrame</key> - <string>46 385 815 372 0 0 1440 878 </string> + <string>{{10, 27}, {505, 232}}</string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -453,7 +490,9 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {505, 299}}</string> + <string>{{10, 27}, {505, 232}}</string> + <key>RubberWindowFrame</key> + <string>46 385 815 372 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> @@ -481,11 +520,11 @@ </array> <key>TableOfContents</key> <array> - <string>8B020A2721B3543D00952287</string> + <string>8B416D2F21B5FD3000DD5013</string> <string>1CA23ED40692098700951B8B</string> - <string>8B020A2821B3543D00952287</string> + <string>8B416D3021B5FD3000DD5013</string> <string>8BD7274A1D46E5A5000176F0</string> - <string>8B020A2921B3543D00952287</string> + <string>8B416D3121B5FD3000DD5013</string> <string>1CA23EDF0692099D00951B8B</string> <string>1CA23EE00692099D00951B8B</string> <string>1CA23EE10692099D00951B8B</string> @@ -658,7 +697,7 @@ <key>StatusbarIsVisible</key> <true/> <key>TimeStamp</key> - <real>565400637.11916006</real> + <real>565574960.58745801</real> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> <key>ToolbarDisplayMode</key> @@ -675,6 +714,7 @@ <integer>5</integer> <key>WindowOrderList</key> <array> + <string>8B416D3221B5FD3000DD5013</string> <string>/Users/christopherjohnson/Desktop/MacAU/Gatelope/Gatelope.xcodeproj</string> </array> <key>WindowString</key> |