aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacAU/ToTape6
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MacAU/ToTape6')
-rwxr-xr-xplugins/MacAU/ToTape6/ToTape6.cpp18
-rwxr-xr-xplugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.pbxuser66
-rwxr-xr-xplugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.perspectivev332
3 files changed, 62 insertions, 54 deletions
diff --git a/plugins/MacAU/ToTape6/ToTape6.cpp b/plugins/MacAU/ToTape6/ToTape6.cpp
index 1291f73..30e06f4 100755
--- a/plugins/MacAU/ToTape6/ToTape6.cpp
+++ b/plugins/MacAU/ToTape6/ToTape6.cpp
@@ -267,6 +267,11 @@ void ToTape6::ToTape6Kernel::Process( const Float32 *inSourceP,
long double inputSample = *sourceP;
if (fabs(inputSample)<1.18e-37) inputSample = fpd * 1.18e-37;
long double drySample = inputSample;
+
+ if (inputgain < 1.0) {
+ inputSample *= inputgain;
+ } //gain cut before plugin
+
Float64 flutterrandy = fpd / (double)UINT32_MAX;
//now we've got a random flutter, so we're messing with the pitch before tape effects go on
@@ -351,7 +356,7 @@ void ToTape6::ToTape6Kernel::Process( const Float32 *inSourceP,
long double groundSample = vibDrySample - inputSample; //set up UnBox on fluttered audio
- if (inputgain != 1.0) {
+ if (inputgain > 1.0) {
inputSample *= inputgain;
} //gain boost inside UnBox/Mojo
@@ -362,10 +367,13 @@ void ToTape6::ToTape6Kernel::Process( const Float32 *inSourceP,
if (HighsSample < 0) inputSample += applySoften;
//apply Soften depending on polarity
- if (fabs(inputSample) < 0.0025) {
- iirHeadBumpA *= 0.99;
- iirHeadBumpB *= 0.99;
- } //restrain resonant quality of head bump algorithm
+ Float64 suppress = (1.0-fabs(inputSample)) * 0.00013;
+ if (iirHeadBumpA > suppress) iirHeadBumpA -= suppress;
+ if (iirHeadBumpA < -suppress) iirHeadBumpA += suppress;
+ if (iirHeadBumpB > suppress) iirHeadBumpB -= suppress;
+ if (iirHeadBumpB < -suppress) iirHeadBumpB += suppress;
+ //restrain resonant quality of head bump algorithm
+
inputSample += ((iirHeadBumpA + iirHeadBumpB) * HeadBumpControl);
//apply Fatten.
diff --git a/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.pbxuser
index 19e3c58..68f0f1d 100755
--- a/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.pbxuser
@@ -51,14 +51,14 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 601187225;
- PBXWorkspaceStateSaveDate = 601187225;
+ PBXPerProjectTemplateStateSaveDate = 602111038;
+ PBXWorkspaceStateSaveDate = 602111038;
};
perUserProjectItems = {
8B0437A823D499A600DF857C /* PlistBookmark */ = 8B0437A823D499A600DF857C /* PlistBookmark */;
- 8B043BE023D5632700DF857C /* PBXTextBookmark */ = 8B043BE023D5632700DF857C /* PBXTextBookmark */;
8B043BFA23D5642C00DF857C /* PBXTextBookmark */ = 8B043BFA23D5642C00DF857C /* PBXTextBookmark */;
- 8B043BFB23D5642C00DF857C /* PBXTextBookmark */ = 8B043BFB23D5642C00DF857C /* PBXTextBookmark */;
+ 8BA0D9AF23E37D1C00721922 /* PBXTextBookmark */ = 8BA0D9AF23E37D1C00721922 /* PBXTextBookmark */;
+ 8BA0D9B023E37D1C00721922 /* PBXTextBookmark */ = 8BA0D9B023E37D1C00721922 /* PBXTextBookmark */;
};
sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */;
userBuildSettings = {
@@ -76,16 +76,6 @@
rLen = 0;
rLoc = 9223372036854775808;
};
- 8B043BE023D5632700DF857C /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 8BA05A660720730100365D66 /* ToTape6.cpp */;
- name = "ToTape6.cpp: 308";
- rLen = 0;
- rLoc = 13502;
- rType = 0;
- vrLen = 645;
- vrLoc = 12217;
- };
8B043BFA23D5642C00DF857C /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 8BC6025B073B072D006C4272 /* ToTape6.h */;
@@ -96,22 +86,12 @@
vrLen = 584;
vrLoc = 2958;
};
- 8B043BFB23D5642C00DF857C /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 8BA05A660720730100365D66 /* ToTape6.cpp */;
- name = "ToTape6.cpp: 308";
- rLen = 0;
- rLoc = 13502;
- rType = 0;
- vrLen = 594;
- vrLoc = 12268;
- };
8BA05A660720730100365D66 /* ToTape6.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {803, 5889}}";
- sepNavSelRange = "{13502, 0}";
- sepNavVisRange = "{12268, 594}";
- sepNavWindowFrame = "{{732, 83}, {956, 795}}";
+ sepNavIntBoundsRect = "{{0, 0}, {705, 5798}}";
+ sepNavSelRange = "{13591, 0}";
+ sepNavVisRange = "{12576, 379}";
+ sepNavWindowFrame = "{{549, 83}, {956, 795}}";
};
};
8BA05A690720730100365D66 /* ToTape6Version.h */ = {
@@ -119,15 +99,35 @@
sepNavIntBoundsRect = "{{0, 0}, {824, 767}}";
sepNavSelRange = "{2881, 0}";
sepNavVisRange = "{70, 2874}";
- sepNavWindowFrame = "{{15, 58}, {784, 815}}";
+ sepNavWindowFrame = "{{548, 58}, {784, 815}}";
};
};
+ 8BA0D9AF23E37D1C00721922 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 8BA05A660720730100365D66 /* ToTape6.cpp */;
+ name = "ToTape6.cpp: 313";
+ rLen = 0;
+ rLoc = 13591;
+ rType = 0;
+ vrLen = 379;
+ vrLoc = 12604;
+ };
+ 8BA0D9B023E37D1C00721922 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 8BA05A660720730100365D66 /* ToTape6.cpp */;
+ name = "ToTape6.cpp: 313";
+ rLen = 0;
+ rLoc = 13591;
+ rType = 0;
+ vrLen = 379;
+ vrLoc = 12576;
+ };
8BC6025B073B072D006C4272 /* ToTape6.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {803, 2171}}";
- sepNavSelRange = "{3276, 0}";
- sepNavVisRange = "{2958, 584}";
- sepNavWindowFrame = "{{757, 63}, {784, 815}}";
+ sepNavIntBoundsRect = "{{0, 0}, {894, 2158}}";
+ sepNavSelRange = "{5664, 348}";
+ sepNavVisRange = "{2589, 1432}";
+ sepNavWindowFrame = "{{656, 63}, {784, 815}}";
};
};
8BD3CCB8148830B20062E48C /* Source Control */ = {
diff --git a/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.perspectivev3
index 0afb03e..397318a 100755
--- a/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacAU/ToTape6/ToTape6.xcodeproj/christopherjohnson.perspectivev3
@@ -326,7 +326,7 @@
<real>288</real>
</array>
<key>RubberWindowFrame</key>
- <string>599 224 841 654 0 0 1440 878 </string>
+ <string>506 200 841 654 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -354,12 +354,12 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8B043BFB23D5642C00DF857C</string>
+ <string>8BA0D9B023E37D1C00721922</string>
<key>history</key>
<array>
<string>8B0437A823D499A600DF857C</string>
<string>8B043BFA23D5642C00DF857C</string>
- <string>8B043BE023D5632700DF857C</string>
+ <string>8BA0D9AF23E37D1C00721922</string>
</array>
</dict>
<key>SplitCount</key>
@@ -373,18 +373,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {531, 202}}</string>
+ <string>{{0, 0}, {531, 142}}</string>
<key>RubberWindowFrame</key>
- <string>599 224 841 654 0 0 1440 878 </string>
+ <string>506 200 841 654 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>202pt</string>
+ <string>142pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>406pt</string>
+ <string>466pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -398,9 +398,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {531, 379}}</string>
+ <string>{{10, 27}, {531, 439}}</string>
<key>RubberWindowFrame</key>
- <string>599 224 841 654 0 0 1440 878 </string>
+ <string>506 200 841 654 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -454,7 +454,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {531, 352}}</string>
+ <string>{{10, 27}, {531, 408}}</string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -482,11 +482,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8B043BFC23D5642C00DF857C</string>
+ <string>8BA0D9B123E37D1C00721922</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8B043BFD23D5642C00DF857C</string>
+ <string>8BA0D9B223E37D1C00721922</string>
<string>8BD7274A1D46E5A5000176F0</string>
- <string>8B043BFE23D5642C00DF857C</string>
+ <string>8BA0D9B323E37D1C00721922</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -659,7 +659,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>601187372.72559798</real>
+ <real>602111260.78300297</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -676,11 +676,11 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>8B043BFF23D5642C00DF857C</string>
+ <string>8BA0D9B423E37D1C00721922</string>
<string>/Users/christopherjohnson/Desktop/Plugins/MacAU/ToTape6/ToTape6.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>599 224 841 654 0 0 1440 878 </string>
+ <string>506 200 841 654 0 0 1440 878 </string>
<key>WindowToolsV3</key>
<array>
<dict>