aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacVST/Beam
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MacVST/Beam')
-rwxr-xr-xplugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.pbxuser58
-rwxr-xr-xplugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.perspectivev333
-rwxr-xr-xplugins/MacVST/Beam/source/BeamProc.cpp16
3 files changed, 56 insertions, 51 deletions
diff --git a/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.pbxuser
index bf949c7..ab6dc93 100755
--- a/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.pbxuser
@@ -49,14 +49,14 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 613785702;
- PBXWorkspaceStateSaveDate = 613785702;
+ PBXPerProjectTemplateStateSaveDate = 615684221;
+ PBXWorkspaceStateSaveDate = 615684221;
};
perUserProjectItems = {
+ 8BB9A54324B296EC00CD76A8 /* PBXTextBookmark */ = 8BB9A54324B296EC00CD76A8 /* PBXTextBookmark */;
+ 8BB9A5B624B2988F00CD76A8 /* PBXTextBookmark */ = 8BB9A5B624B2988F00CD76A8 /* PBXTextBookmark */;
8BD150EB24956DE000B025B9 /* PBXTextBookmark */ = 8BD150EB24956DE000B025B9 /* PBXTextBookmark */;
8BD150EC24956DE000B025B9 /* PBXTextBookmark */ = 8BD150EC24956DE000B025B9 /* PBXTextBookmark */;
- 8BD151822495B14D00B025B9 /* PBXTextBookmark */ = 8BD151822495B14D00B025B9 /* PBXTextBookmark */;
- 8BD151892495B18A00B025B9 /* PBXTextBookmark */ = 8BD151892495B18A00B025B9 /* PBXTextBookmark */;
};
sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */;
userBuildSettings = {
@@ -64,9 +64,9 @@
};
2407DEB6089929BA00EB68BF /* Beam.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {740, 1859}}";
+ sepNavIntBoundsRect = "{{0, 0}, {848, 1859}}";
sepNavSelRange = "{4202, 0}";
- sepNavVisRange = "{1092, 1054}";
+ sepNavVisRange = "{0, 1908}";
sepNavWindowFrame = "{{530, 57}, {895, 821}}";
};
};
@@ -88,9 +88,9 @@
};
24D8286F09A914000093AEF8 /* BeamProc.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {691, 3536}}";
- sepNavSelRange = "{5480, 0}";
- sepNavVisRange = "{5165, 926}";
+ sepNavIntBoundsRect = "{{0, 0}, {691, 3471}}";
+ sepNavSelRange = "{5619, 0}";
+ sepNavVisRange = "{8812, 565}";
sepNavWindowFrame = "{{543, 57}, {895, 821}}";
};
};
@@ -108,6 +108,26 @@
isa = PBXCodeSenseManager;
indexTemplatePath = "";
};
+ 8BB9A54324B296EC00CD76A8 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 24D8286F09A914000093AEF8 /* BeamProc.cpp */;
+ name = "BeamProc.cpp: 164";
+ rLen = 0;
+ rLoc = 5619;
+ rType = 0;
+ vrLen = 766;
+ vrLoc = 295;
+ };
+ 8BB9A5B624B2988F00CD76A8 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 24D8286F09A914000093AEF8 /* BeamProc.cpp */;
+ name = "BeamProc.cpp: 164";
+ rLen = 0;
+ rLoc = 5619;
+ rType = 0;
+ vrLen = 565;
+ vrLoc = 8812;
+ };
8BD150EB24956DE000B025B9 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 245463B80991757100464AD3 /* Beam.h */;
@@ -128,26 +148,6 @@
vrLen = 1054;
vrLoc = 1092;
};
- 8BD151822495B14D00B025B9 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 24D8286F09A914000093AEF8 /* BeamProc.cpp */;
- name = "BeamProc.cpp: 159";
- rLen = 0;
- rLoc = 5480;
- rType = 0;
- vrLen = 926;
- vrLoc = 5161;
- };
- 8BD151892495B18A00B025B9 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 24D8286F09A914000093AEF8 /* BeamProc.cpp */;
- name = "BeamProc.cpp: 159";
- rLen = 0;
- rLoc = 5480;
- rType = 0;
- vrLen = 926;
- vrLoc = 5165;
- };
8D01CCC60486CAD60068D4B7 /* Beam */ = {
activeExec = 0;
};
diff --git a/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.perspectivev3
index cc1d5e4..69d60a1 100755
--- a/plugins/MacVST/Beam/Beam.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacVST/Beam/Beam.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>621 354 810 487 0 0 1440 878 </string>
+ <string>584 368 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -349,12 +351,12 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8BD151892495B18A00B025B9</string>
+ <string>8BB9A5B624B2988F00CD76A8</string>
<key>history</key>
<array>
<string>8BD150EB24956DE000B025B9</string>
<string>8BD150EC24956DE000B025B9</string>
- <string>8BD151822495B14D00B025B9</string>
+ <string>8BB9A54324B296EC00CD76A8</string>
</array>
</dict>
<key>SplitCount</key>
@@ -368,18 +370,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {603, 358}}</string>
+ <string>{{0, 0}, {603, 346}}</string>
<key>RubberWindowFrame</key>
- <string>621 354 810 487 0 0 1440 878 </string>
+ <string>584 368 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>358pt</string>
+ <string>346pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>83pt</string>
+ <string>95pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -393,7 +395,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {603, 56}}</string>
+ <string>{{10, 27}, {603, 68}}</string>
+ <key>RubberWindowFrame</key>
+ <string>584 368 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -448,8 +452,6 @@
<dict>
<key>Frame</key>
<string>{{10, 27}, {603, 56}}</string>
- <key>RubberWindowFrame</key>
- <string>621 354 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -477,11 +479,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8BD1518A2495B18A00B025B9</string>
+ <string>8BB9A5B724B2988F00CD76A8</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8BD1518B2495B18A00B025B9</string>
+ <string>8BB9A5B824B2988F00CD76A8</string>
<string>8B0237581D42B1C400E1E8C8</string>
- <string>8BD1518C2495B18A00B025B9</string>
+ <string>8BB9A5B924B2988F00CD76A8</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -634,7 +636,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>613790090.00095999</real>
+ <real>615684239.58308196</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -651,11 +653,10 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>8BD1518D2495B18A00B025B9</string>
<string>/Users/christopherjohnson/Desktop/Dithers/MacVST/Beam/Beam.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>621 354 810 487 0 0 1440 878 </string>
+ <string>584 368 810 487 0 0 1440 878 </string>
<key>WindowToolsV3</key>
<array>
<dict>
diff --git a/plugins/MacVST/Beam/source/BeamProc.cpp b/plugins/MacVST/Beam/source/BeamProc.cpp
index 920f5b4..5871eb5 100755
--- a/plugins/MacVST/Beam/source/BeamProc.cpp
+++ b/plugins/MacVST/Beam/source/BeamProc.cpp
@@ -30,6 +30,8 @@ void Beam::processReplacing(float **inputs, float **outputs, VstInt32 sampleFram
float derez = C;
if (derez > 0.0) scaleFactor *= pow(1.0-derez,6);
if (scaleFactor < 0.0001) scaleFactor = 0.0001;
+ float outScale = scaleFactor;
+ if (outScale < 8.0) outScale = 8.0;
while (--sampleFrames >= 0)
{
@@ -121,8 +123,8 @@ void Beam::processReplacing(float **inputs, float **outputs, VstInt32 sampleFram
lastSampleR[0] = inputSampleR;
//end right
- inputSampleL /= scaleFactor;
- inputSampleR /= scaleFactor;
+ inputSampleL /= outScale;
+ inputSampleR /= outScale;
*out1 = inputSampleL;
*out2 = inputSampleR;
@@ -156,8 +158,10 @@ void Beam::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sa
else scaleFactor = 32768.0;
float derez = C;
if (derez > 0.0) scaleFactor *= pow(1.0-derez,6);
- if (scaleFactor < 1.0) scaleFactor = 1.0;
-
+ if (scaleFactor < 0.0001) scaleFactor = 0.0001;
+ float outScale = scaleFactor;
+ if (outScale < 8.0) outScale = 8.0;
+
while (--sampleFrames >= 0)
{
long double inputSampleL = *in1;
@@ -248,8 +252,8 @@ void Beam::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sa
lastSampleR[0] = inputSampleR;
//end right
- inputSampleL /= scaleFactor;
- inputSampleR /= scaleFactor;
+ inputSampleL /= outScale;
+ inputSampleR /= outScale;
*out1 = inputSampleL;
*out2 = inputSampleR;