aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacVST/Tape
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MacVST/Tape')
-rwxr-xr-xplugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.pbxuser44
-rwxr-xr-xplugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.perspectivev340
-rwxr-xr-xplugins/MacVST/Tape/source/TapeProc.cpp8
3 files changed, 54 insertions, 38 deletions
diff --git a/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.pbxuser
index d2bb84d..e624c93 100755
--- a/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.pbxuser
@@ -49,14 +49,15 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 601679829;
- PBXWorkspaceStateSaveDate = 601679829;
+ PBXPerProjectTemplateStateSaveDate = 602110889;
+ PBXWorkspaceStateSaveDate = 602110889;
};
perUserProjectItems = {
8B043CDA23DCE7AD00DF857C /* PBXTextBookmark */ = 8B043CDA23DCE7AD00DF857C /* PBXTextBookmark */;
8B043D1923DCFF6200DF857C /* PBXTextBookmark */ = 8B043D1923DCFF6200DF857C /* PBXTextBookmark */;
- 8B043D1A23DCFF6200DF857C /* XCBuildMessageTextBookmark */ = 8B043D1A23DCFF6200DF857C /* XCBuildMessageTextBookmark */;
- 8B043D1B23DCFF6200DF857C /* PBXTextBookmark */ = 8B043D1B23DCFF6200DF857C /* PBXTextBookmark */;
+ 8BA0D9C023E37DB300721922 /* PBXTextBookmark */ = 8BA0D9C023E37DB300721922 /* PBXTextBookmark */;
+ 8BA0D9C123E37DB300721922 /* PBXBookmark */ = 8BA0D9C123E37DB300721922 /* PBXBookmark */;
+ 8BA0D9C223E37DB300721922 /* PBXTextBookmark */ = 8BA0D9C223E37DB300721922 /* PBXTextBookmark */;
};
sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */;
userBuildSettings = {
@@ -80,7 +81,7 @@
};
24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {838, 19760}}";
+ sepNavIntBoundsRect = "{{0, 0}, {838, 19864}}";
sepNavSelRange = "{10616, 0}";
sepNavVisRange = "{10459, 280}";
sepNavWindowFrame = "{{15, 42}, {895, 831}}";
@@ -88,10 +89,10 @@
};
24D8286F09A914000093AEF8 /* TapeProc.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {848, 8086}}";
- sepNavSelRange = "{23496, 0}";
- sepNavVisRange = "{22340, 1667}";
- sepNavWindowFrame = "{{277, 57}, {895, 821}}";
+ sepNavIntBoundsRect = "{{0, 0}, {740, 7371}}";
+ sepNavSelRange = "{23627, 0}";
+ sepNavVisRange = "{23438, 235}";
+ sepNavWindowFrame = "{{545, 57}, {895, 821}}";
};
};
8B02375E1D42B1C400E1E8C8 /* Source Control */ = {
@@ -128,16 +129,7 @@
vrLen = 180;
vrLoc = 427;
};
- 8B043D1A23DCFF6200DF857C /* XCBuildMessageTextBookmark */ = {
- isa = PBXTextBookmark;
- comments = "Deprecated conversion from string constant to 'char*'";
- fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */;
- fallbackIsa = XCBuildMessageTextBookmark;
- rLen = 1;
- rLoc = 306;
- rType = 1;
- };
- 8B043D1B23DCFF6200DF857C /* PBXTextBookmark */ = {
+ 8BA0D9C023E37DB300721922 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */;
name = "audioeffectx.cpp: 307";
@@ -147,6 +139,20 @@
vrLen = 280;
vrLoc = 10459;
};
+ 8BA0D9C123E37DB300721922 /* PBXBookmark */ = {
+ isa = PBXBookmark;
+ fRef = 24D8286F09A914000093AEF8 /* TapeProc.cpp */;
+ };
+ 8BA0D9C223E37DB300721922 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 24D8286F09A914000093AEF8 /* TapeProc.cpp */;
+ name = "TapeProc.cpp: 553";
+ rLen = 0;
+ rLoc = 23627;
+ rType = 0;
+ vrLen = 235;
+ vrLoc = 23438;
+ };
8D01CCC60486CAD60068D4B7 /* Tape */ = {
activeExec = 0;
};
diff --git a/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.perspectivev3
index f1e3dd7..ad3683d 100755
--- a/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacVST/Tape/Tape.xcodeproj/christopherjohnson.perspectivev3
@@ -256,6 +256,8 @@
<key>Layout</key>
<array>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -321,7 +323,7 @@
<real>185</real>
</array>
<key>RubberWindowFrame</key>
- <string>52 327 810 487 0 0 1440 878 </string>
+ <string>530 344 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -337,7 +339,7 @@
<key>PBXProjectModuleGUID</key>
<string>8B0237581D42B1C400E1E8C8</string>
<key>PBXProjectModuleLabel</key>
- <string>audioeffectx.cpp</string>
+ <string>TapeProc.cpp</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
@@ -345,16 +347,17 @@
<key>PBXProjectModuleGUID</key>
<string>8B0237591D42B1C400E1E8C8</string>
<key>PBXProjectModuleLabel</key>
- <string>audioeffectx.cpp</string>
+ <string>TapeProc.cpp</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8B043D1B23DCFF6200DF857C</string>
+ <string>8BA0D9C223E37DB300721922</string>
<key>history</key>
<array>
<string>8B043CDA23DCE7AD00DF857C</string>
<string>8B043D1923DCFF6200DF857C</string>
- <string>8B043D1A23DCFF6200DF857C</string>
+ <string>8BA0D9C023E37DB300721922</string>
+ <string>8BA0D9C123E37DB300721922</string>
</array>
</dict>
<key>SplitCount</key>
@@ -368,18 +371,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {603, 117}}</string>
+ <string>{{0, 0}, {603, 102}}</string>
<key>RubberWindowFrame</key>
- <string>52 327 810 487 0 0 1440 878 </string>
+ <string>530 344 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>117pt</string>
+ <string>102pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>324pt</string>
+ <string>339pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -393,7 +396,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {603, 297}}</string>
+ <string>{{10, 27}, {603, 312}}</string>
+ <key>RubberWindowFrame</key>
+ <string>530 344 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -448,8 +453,6 @@
<dict>
<key>Frame</key>
<string>{{10, 27}, {603, 297}}</string>
- <key>RubberWindowFrame</key>
- <string>52 327 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -477,11 +480,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8B043D1C23DCFF6200DF857C</string>
+ <string>8BA0D9C323E37DB300721922</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8B043D1D23DCFF6200DF857C</string>
+ <string>8BA0D9C423E37DB300721922</string>
<string>8B0237581D42B1C400E1E8C8</string>
- <string>8B043D1E23DCFF6200DF857C</string>
+ <string>8BA0D9C523E37DB300721922</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -634,7 +637,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>601685858.32363296</real>
+ <real>602111411.395051</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -651,10 +654,11 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>/Users/christopherjohnson/Desktop/Tape/Tape.xcodeproj</string>
+ <string>8BA0D9C623E37DB300721922</string>
+ <string>/Users/christopherjohnson/Desktop/Plugins/MacVST/Tape/Tape.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>52 327 810 487 0 0 1440 878 </string>
+ <string>530 344 810 487 0 0 1440 878 </string>
<key>WindowToolsV3</key>
<array>
<dict>
diff --git a/plugins/MacVST/Tape/source/TapeProc.cpp b/plugins/MacVST/Tape/source/TapeProc.cpp
index 1d1050c..e29f71a 100755
--- a/plugins/MacVST/Tape/source/TapeProc.cpp
+++ b/plugins/MacVST/Tape/source/TapeProc.cpp
@@ -326,6 +326,12 @@ void Tape::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sa
long double inputSampleR = *in2;
if (fabs(inputSampleL)<1.18e-43) inputSampleL = fpd * 1.18e-43;
if (fabs(inputSampleR)<1.18e-43) inputSampleR = fpd * 1.18e-43;
+
+ if (inputgain < 1.0) {
+ inputSampleL *= inputgain;
+ inputSampleR *= inputgain;
+ } //gain cut before anything, even dry
+
long double drySampleL = inputSampleL;
long double drySampleR = inputSampleR;
@@ -438,7 +444,7 @@ void Tape::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sa
long double groundSampleL = drySampleL - inputSampleL; //set up UnBox
long double groundSampleR = drySampleR - inputSampleR; //set up UnBox
- if (inputgain != 1.0) {
+ if (inputgain > 1.0) {
inputSampleL *= inputgain;
inputSampleR *= inputgain;
} //gain boost inside UnBox: do not boost fringe audio