aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacVST/Gatelope
diff options
context:
space:
mode:
authorChris Johnson <jinx6568@sover.net>2018-12-03 21:25:45 -0500
committerChris Johnson <jinx6568@sover.net>2018-12-03 21:25:45 -0500
commit6d68aeb7d2a09a5d3515058d3fd98a4b4a908322 (patch)
tree1f9d17dfd6ee97213b1bf3049ed7c01c8bc8f700 /plugins/MacVST/Gatelope
parent7b85f3eb20819c11eb67146d826f9e3d8a8e7d39 (diff)
downloadairwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.tar.gz
airwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.tar.bz2
airwindows-lv2-port-6d68aeb7d2a09a5d3515058d3fd98a4b4a908322.zip
Bugfix on Gatelope
Diffstat (limited to 'plugins/MacVST/Gatelope')
-rwxr-xr-xplugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser36
-rwxr-xr-xplugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev321
-rwxr-xr-xplugins/MacVST/Gatelope/source/GatelopeProc.cpp16
3 files changed, 40 insertions, 33 deletions
diff --git a/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser
index 386d852..b9cbf51 100755
--- a/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.pbxuser
@@ -49,11 +49,11 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 565404990;
- PBXWorkspaceStateSaveDate = 565404990;
+ PBXPerProjectTemplateStateSaveDate = 565578826;
+ PBXWorkspaceStateSaveDate = 565578826;
};
perUserProjectItems = {
- 8B020A9C21B3651D00952287 /* PBXTextBookmark */ = 8B020A9C21B3651D00952287 /* PBXTextBookmark */;
+ 8B416DA521B60DFE00DD5013 /* PBXTextBookmark */ = 8B416DA521B60DFE00DD5013 /* PBXTextBookmark */;
8BDA3BB721B3655A00CC56FA /* PBXTextBookmark */ = 8BDA3BB721B3655A00CC56FA /* PBXTextBookmark */;
};
sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */;
@@ -78,7 +78,7 @@
};
24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {838, 19864}}";
+ sepNavIntBoundsRect = "{{0, 0}, {838, 19838}}";
sepNavSelRange = "{10616, 0}";
sepNavVisRange = "{10613, 123}";
sepNavWindowFrame = "{{15, 42}, {895, 831}}";
@@ -86,22 +86,12 @@
};
24D8286F09A914000093AEF8 /* GatelopeProc.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {852, 5733}}";
- sepNavSelRange = "{11891, 0}";
- sepNavVisRange = "{5114, 1948}";
- sepNavWindowFrame = "{{18, 47}, {895, 831}}";
+ sepNavIntBoundsRect = "{{0, 0}, {852, 5772}}";
+ sepNavSelRange = "{12330, 0}";
+ sepNavVisRange = "{11625, 1699}";
+ sepNavWindowFrame = "{{297, 47}, {895, 831}}";
};
};
- 8B020A9C21B3651D00952287 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */;
- name = "audioeffectx.cpp: 307";
- rLen = 0;
- rLoc = 10616;
- rType = 0;
- vrLen = 157;
- vrLoc = 10579;
- };
8B02375E1D42B1C400E1E8C8 /* Source Control */ = {
isa = PBXSourceControlManager;
fallbackIsa = XCSourceControlManager;
@@ -116,6 +106,16 @@
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
+ 8B416DA521B60DFE00DD5013 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */;
+ name = "audioeffectx.cpp: 307";
+ rLen = 0;
+ rLoc = 10616;
+ rType = 0;
+ vrLen = 123;
+ vrLoc = 10613;
+ };
8BDA3BB721B3655A00CC56FA /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */;
diff --git a/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3
index a49c5d0..f01e0a3 100755
--- a/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacVST/Gatelope/Gatelope.xcodeproj/christopherjohnson.perspectivev3
@@ -351,10 +351,10 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8BDA3BB721B3655A00CC56FA</string>
+ <string>8B416DA521B60DFE00DD5013</string>
<key>history</key>
<array>
- <string>8B020A9C21B3651D00952287</string>
+ <string>8BDA3BB721B3655A00CC56FA</string>
</array>
</dict>
<key>SplitCount</key>
@@ -368,18 +368,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {603, 69}}</string>
+ <string>{{0, 0}, {603, 51}}</string>
<key>RubberWindowFrame</key>
<string>17 371 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>69pt</string>
+ <string>51pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>372pt</string>
+ <string>390pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -393,7 +393,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {603, 345}}</string>
+ <string>{{10, 27}, {603, 363}}</string>
<key>RubberWindowFrame</key>
<string>17 371 810 487 0 0 1440 878 </string>
</dict>
@@ -477,11 +477,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8BDA3BB821B3655A00CC56FA</string>
+ <string>8B416DA621B60DFE00DD5013</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8BDA3BB921B3655A00CC56FA</string>
+ <string>8B416DA721B60DFE00DD5013</string>
<string>8B0237581D42B1C400E1E8C8</string>
- <string>8BDA3BBA21B3655A00CC56FA</string>
+ <string>8B416DA821B60DFE00DD5013</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -634,7 +634,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>565405018.05823195</real>
+ <real>565579262.52925205</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -651,7 +651,6 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>8B020A8F21B3651D00952287</string>
<string>/Users/christopherjohnson/Desktop/MacVST/Gatelope/Gatelope.xcodeproj</string>
</array>
<key>WindowString</key>
diff --git a/plugins/MacVST/Gatelope/source/GatelopeProc.cpp b/plugins/MacVST/Gatelope/source/GatelopeProc.cpp
index dc81def..b32bddb 100755
--- a/plugins/MacVST/Gatelope/source/GatelopeProc.cpp
+++ b/plugins/MacVST/Gatelope/source/GatelopeProc.cpp
@@ -94,7 +94,7 @@ void Gatelope::processReplacing(float **inputs, float **outputs, VstInt32 sample
if (highestSample > 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;
@@ -121,6 +121,8 @@ void Gatelope::processReplacing(float **inputs, float **outputs, VstInt32 sample
iirLowpassAR = (iirLowpassAR * (1.0 - treblefreq)) + (inputSampleR * treblefreq);
}
+ if (bassfreq > 1.0) bassfreq = 1.0;
+
if (bassfreq > 0.0) {
iirHighpassAL = (iirHighpassAL * (1.0 - bassfreq)) + (inputSampleL * bassfreq);
iirHighpassAR = (iirHighpassAR * (1.0 - bassfreq)) + (inputSampleR * bassfreq);
@@ -142,7 +144,7 @@ void Gatelope::processReplacing(float **inputs, float **outputs, VstInt32 sample
if (highestSample > 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;
@@ -169,6 +171,8 @@ void Gatelope::processReplacing(float **inputs, float **outputs, VstInt32 sample
iirLowpassBR = (iirLowpassBR * (1.0 - treblefreq)) + (inputSampleR * treblefreq);
}
+ if (bassfreq > 1.0) bassfreq = 1.0;
+
if (bassfreq > 0.0) {
iirHighpassBL = (iirHighpassBL * (1.0 - bassfreq)) + (inputSampleL * bassfreq);
iirHighpassBR = (iirHighpassBR * (1.0 - bassfreq)) + (inputSampleR * bassfreq);
@@ -308,7 +312,7 @@ void Gatelope::processDoubleReplacing(double **inputs, double **outputs, VstInt3
if (highestSample > 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;
@@ -335,6 +339,8 @@ void Gatelope::processDoubleReplacing(double **inputs, double **outputs, VstInt3
iirLowpassAR = (iirLowpassAR * (1.0 - treblefreq)) + (inputSampleR * treblefreq);
}
+ if (bassfreq > 1.0) bassfreq = 1.0;
+
if (bassfreq > 0.0) {
iirHighpassAL = (iirHighpassAL * (1.0 - bassfreq)) + (inputSampleL * bassfreq);
iirHighpassAR = (iirHighpassAR * (1.0 - bassfreq)) + (inputSampleR * bassfreq);
@@ -356,7 +362,7 @@ void Gatelope::processDoubleReplacing(double **inputs, double **outputs, VstInt3
if (highestSample > 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;
@@ -383,6 +389,8 @@ void Gatelope::processDoubleReplacing(double **inputs, double **outputs, VstInt3
iirLowpassBR = (iirLowpassBR * (1.0 - treblefreq)) + (inputSampleR * treblefreq);
}
+ if (bassfreq > 1.0) bassfreq = 1.0;
+
if (bassfreq > 0.0) {
iirHighpassBL = (iirHighpassBL * (1.0 - bassfreq)) + (inputSampleL * bassfreq);
iirHighpassBR = (iirHighpassBR * (1.0 - bassfreq)) + (inputSampleR * bassfreq);