aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacAU/DeRez
diff options
context:
space:
mode:
authorChris Johnson <jinx6568@sover.net>2018-08-20 08:48:56 -0400
committerChris Johnson <jinx6568@sover.net>2018-08-20 08:48:56 -0400
commit2384d83b0fe4f455722e47df9315885ba3c74011 (patch)
tree1af69204bf22a8eb0a3b4942a2d120210f6fc82f /plugins/MacAU/DeRez
parenta559d634ab0dcb39b7e71ccbcb0f2098f4f09e67 (diff)
downloadairwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.tar.gz
airwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.tar.bz2
airwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.zip
BitGlitter (and DeRez update)
Diffstat (limited to 'plugins/MacAU/DeRez')
-rwxr-xr-xplugins/MacAU/DeRez/DeRez.cpp2
-rwxr-xr-xplugins/MacAU/DeRez/DeRez.h4
-rwxr-xr-xplugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser43
-rwxr-xr-xplugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev335
4 files changed, 44 insertions, 40 deletions
diff --git a/plugins/MacAU/DeRez/DeRez.cpp b/plugins/MacAU/DeRez/DeRez.cpp
index 3e74715..4bc3ee4 100755
--- a/plugins/MacAU/DeRez/DeRez.cpp
+++ b/plugins/MacAU/DeRez/DeRez.cpp
@@ -207,7 +207,7 @@ void DeRez::DeRezKernel::Process( const Float32 *inSourceP,
while (nSampleFrames-- > 0) {
long double inputSample = *sourceP;
- if (inputSample<1.2e-38 && -inputSample<1.2e-38) {
+ if (inputSample<1.2e-38 && -inputSample<1.2e-38 && (targetB == 0)) {
static int noisesource = 0;
//this declares a variable before anything else is compiled. It won't keep assigning
//it to 0 for every sample, it's as if the declaration doesn't exist in this context,
diff --git a/plugins/MacAU/DeRez/DeRez.h b/plugins/MacAU/DeRez/DeRez.h
index 77714ee..55cc562 100755
--- a/plugins/MacAU/DeRez/DeRez.h
+++ b/plugins/MacAU/DeRez/DeRez.h
@@ -57,8 +57,8 @@
static const float kDefaultValue_ParamOne = 1.0;
static const float kDefaultValue_ParamTwo = 1.0;
-static CFStringRef kParameterOneName = CFSTR("Frequency");
-static CFStringRef kParameterTwoName = CFSTR("Resolution");
+static CFStringRef kParameterOneName = CFSTR("Rate");
+static CFStringRef kParameterTwoName = CFSTR("Rez");
//Alter the name if desired, but using the plugin name is a start
enum {
diff --git a/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser
index 21481ac..78a1751 100755
--- a/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser
+++ b/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser
@@ -49,13 +49,13 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 547784973;
- PBXWorkspaceStateSaveDate = 547784973;
+ PBXPerProjectTemplateStateSaveDate = 553899071;
+ PBXWorkspaceStateSaveDate = 553899071;
};
perUserProjectItems = {
8B7E3E4320A68C5B00482CB5 /* PBXTextBookmark */ = 8B7E3E4320A68C5B00482CB5 /* PBXTextBookmark */;
- 8B7E3E4420A68C5B00482CB5 /* XCBuildMessageTextBookmark */ = 8B7E3E4420A68C5B00482CB5 /* XCBuildMessageTextBookmark */;
- 8B7E3E4520A68C5B00482CB5 /* PBXTextBookmark */ = 8B7E3E4520A68C5B00482CB5 /* PBXTextBookmark */;
+ 8B9754332103D44500A4FFA3 /* PBXTextBookmark */ = 8B9754332103D44500A4FFA3 /* PBXTextBookmark */;
+ 8BB8B6DD21039A3300751000 /* PBXTextBookmark */ = 8BB8B6DD21039A3300751000 /* PBXTextBookmark */;
};
sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */;
userBuildSettings = {
@@ -71,31 +71,22 @@
vrLen = 166;
vrLoc = 3288;
};
- 8B7E3E4420A68C5B00482CB5 /* XCBuildMessageTextBookmark */ = {
- isa = PBXTextBookmark;
- comments = "Unused variable 'offset'";
- fRef = 8BA05A660720730100365D66 /* DeRez.cpp */;
- fallbackIsa = XCBuildMessageTextBookmark;
- rLen = 1;
- rLoc = 200;
- rType = 1;
- };
- 8B7E3E4520A68C5B00482CB5 /* PBXTextBookmark */ = {
+ 8B9754332103D44500A4FFA3 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 8BA05A660720730100365D66 /* DeRez.cpp */;
name = "DeRez.cpp: 201";
rLen = 0;
rLoc = 8852;
rType = 0;
- vrLen = 277;
+ vrLen = 177;
vrLoc = 8761;
};
8BA05A660720730100365D66 /* DeRez.cpp */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {684, 3874}}";
+ sepNavIntBoundsRect = "{{0, 0}, {554, 3861}}";
sepNavSelRange = "{8852, 0}";
- sepNavVisRange = "{8761, 277}";
- sepNavWindowFrame = "{{677, 59}, {1007, 819}}";
+ sepNavVisRange = "{8761, 177}";
+ sepNavWindowFrame = "{{433, 59}, {1007, 819}}";
};
};
8BA05A670720730100365D66 /* DeRez.exp */ = {
@@ -113,11 +104,21 @@
sepNavVisRange = "{3288, 166}";
};
};
+ 8BB8B6DD21039A3300751000 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 8BA05A660720730100365D66 /* DeRez.cpp */;
+ name = "DeRez.cpp: 201";
+ rLen = 0;
+ rLoc = 8852;
+ rType = 0;
+ vrLen = 277;
+ vrLoc = 8761;
+ };
8BC6025B073B072D006C4272 /* DeRez.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1062, 1885}}";
- sepNavSelRange = "{5187, 0}";
- sepNavVisRange = "{1247, 2053}";
+ sepNavIntBoundsRect = "{{0, 0}, {1062, 1677}}";
+ sepNavSelRange = "{3000, 0}";
+ sepNavVisRange = "{1247, 2041}";
sepNavWindowFrame = "{{433, 48}, {1007, 819}}";
};
};
diff --git a/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3
index 4850e88..78a77d9 100755
--- a/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3
+++ b/plugins/MacAU/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3
@@ -225,8 +225,8 @@
<array/>
<key>PerspectiveWidths</key>
<array>
- <integer>-1</integer>
- <integer>-1</integer>
+ <integer>810</integer>
+ <integer>810</integer>
</array>
<key>Perspectives</key>
<array>
@@ -256,6 +256,8 @@
<key>Layout</key>
<array>
<dict>
+ <key>BecomeActive</key>
+ <true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXBottomSmartGroupGIDs</key>
@@ -298,7 +300,7 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>4</integer>
+ <integer>3</integer>
<integer>2</integer>
<integer>1</integer>
<integer>0</integer>
@@ -350,11 +352,11 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>8B7E3E4520A68C5B00482CB5</string>
+ <string>8B9754332103D44500A4FFA3</string>
<key>history</key>
<array>
<string>8B7E3E4320A68C5B00482CB5</string>
- <string>8B7E3E4420A68C5B00482CB5</string>
+ <string>8BB8B6DD21039A3300751000</string>
</array>
</dict>
<key>SplitCount</key>
@@ -368,18 +370,18 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{0, 0}, {603, 117}}</string>
+ <string>{{0, 0}, {603, 86}}</string>
<key>RubberWindowFrame</key>
<string>614 318 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
<key>Proportion</key>
- <string>117pt</string>
+ <string>86pt</string>
</dict>
<dict>
<key>Proportion</key>
- <string>324pt</string>
+ <string>355pt</string>
<key>Tabs</key>
<array>
<dict>
@@ -393,7 +395,9 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {603, 297}}</string>
+ <string>{{10, 27}, {603, 328}}</string>
+ <key>RubberWindowFrame</key>
+ <string>614 318 810 487 0 0 1440 878 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -447,9 +451,7 @@
<key>GeometryConfiguration</key>
<dict>
<key>Frame</key>
- <string>{{10, 27}, {603, 297}}</string>
- <key>RubberWindowFrame</key>
- <string>614 318 810 487 0 0 1440 878 </string>
+ <string>{{10, 27}, {603, 312}}</string>
</dict>
<key>Module</key>
<string>PBXBuildResultsModule</string>
@@ -477,11 +479,11 @@
</array>
<key>TableOfContents</key>
<array>
- <string>8B7E3E4620A68C5B00482CB5</string>
+ <string>8B9754342103D44500A4FFA3</string>
<string>1CA23ED40692098700951B8B</string>
- <string>8B7E3E4720A68C5B00482CB5</string>
+ <string>8B9754352103D44500A4FFA3</string>
<string>8B8D69E4207ABD0F0029B7B0</string>
- <string>8B7E3E4820A68C5B00482CB5</string>
+ <string>8B9754362103D44500A4FFA3</string>
<string>1CA23EDF0692099D00951B8B</string>
<string>1CA23EE00692099D00951B8B</string>
<string>1CA23EE10692099D00951B8B</string>
@@ -634,7 +636,7 @@
<key>StatusbarIsVisible</key>
<true/>
<key>TimeStamp</key>
- <real>547785819.668208</real>
+ <real>553899077.362046</real>
<key>ToolbarConfigUserDefaultsMinorVersion</key>
<string>2</string>
<key>ToolbarDisplayMode</key>
@@ -651,6 +653,7 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
+ <string>8B9754372103D44500A4FFA3</string>
<string>/Users/christopherjohnson/Desktop/MacAU/DeRez/DeRez.xcodeproj</string>
</array>
<key>WindowString</key>