diff options
author | Chris Johnson <jinx6568@sover.net> | 2018-08-20 08:48:56 -0400 |
---|---|---|
committer | Chris Johnson <jinx6568@sover.net> | 2018-08-20 08:48:56 -0400 |
commit | 2384d83b0fe4f455722e47df9315885ba3c74011 (patch) | |
tree | 1af69204bf22a8eb0a3b4942a2d120210f6fc82f /plugins/MacVST/DeRez | |
parent | a559d634ab0dcb39b7e71ccbcb0f2098f4f09e67 (diff) | |
download | airwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.tar.gz airwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.tar.bz2 airwindows-lv2-port-2384d83b0fe4f455722e47df9315885ba3c74011.zip |
BitGlitter (and DeRez update)
Diffstat (limited to 'plugins/MacVST/DeRez')
4 files changed, 63 insertions, 48 deletions
diff --git a/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser index 6dc70f3..70ab1db 100755 --- a/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.pbxuser @@ -49,12 +49,13 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 547782122; - PBXWorkspaceStateSaveDate = 547782122; + PBXPerProjectTemplateStateSaveDate = 553892432; + PBXWorkspaceStateSaveDate = 553892432; }; perUserProjectItems = { - 8B7E3E4920A68C5D00482CB5 /* XCBuildMessageTextBookmark */ = 8B7E3E4920A68C5D00482CB5 /* XCBuildMessageTextBookmark */; - 8B7E3E4A20A68C5D00482CB5 /* PBXTextBookmark */ = 8B7E3E4A20A68C5D00482CB5 /* PBXTextBookmark */; + 8BB8B70521039BF400751000 /* PBXTextBookmark */ = 8BB8B70521039BF400751000 /* PBXTextBookmark */; + 8BB8B70721039BF400751000 /* PBXTextBookmark */ = 8BB8B70721039BF400751000 /* PBXTextBookmark */; + 8BB8B7932103BA6200751000 /* PBXTextBookmark */ = 8BB8B7932103BA6200751000 /* PBXTextBookmark */; }; sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */; userBuildSettings = { @@ -62,9 +63,9 @@ }; 2407DEB6089929BA00EB68BF /* DeRez.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {848, 1872}}"; - sepNavSelRange = "{572, 0}"; - sepNavVisRange = "{0, 1873}"; + sepNavIntBoundsRect = "{{0, 0}, {848, 1820}}"; + sepNavSelRange = "{3400, 0}"; + sepNavVisRange = "{2754, 2017}"; sepNavWindowFrame = "{{48, 47}, {895, 831}}"; }; }; @@ -78,17 +79,17 @@ }; 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {859, 20267}}"; + sepNavIntBoundsRect = "{{0, 0}, {838, 19864}}"; sepNavSelRange = "{10616, 0}"; - sepNavVisRange = "{9653, 2414}"; + sepNavVisRange = "{10459, 280}"; sepNavWindowFrame = "{{15, 42}, {895, 831}}"; }; }; 24D8286F09A914000093AEF8 /* DeRezProc.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {677, 4043}}"; - sepNavSelRange = "{2782, 0}"; - sepNavVisRange = "{2546, 425}"; + sepNavIntBoundsRect = "{{0, 0}, {848, 4160}}"; + sepNavSelRange = "{2818, 0}"; + sepNavVisRange = "{9279, 1345}"; sepNavWindowFrame = "{{17, 47}, {895, 831}}"; }; }; @@ -106,24 +107,35 @@ isa = PBXCodeSenseManager; indexTemplatePath = ""; }; - 8B7E3E4920A68C5D00482CB5 /* XCBuildMessageTextBookmark */ = { + 8BB8B70521039BF400751000 /* PBXTextBookmark */ = { isa = PBXTextBookmark; - comments = "Unused variable 'drySampleL'"; fRef = 24D8286F09A914000093AEF8 /* DeRezProc.cpp */; - fallbackIsa = XCBuildMessageTextBookmark; - rLen = 1; - rLoc = 70; - rType = 1; + name = "DeRezProc.cpp: 71"; + rLen = 0; + rLoc = 2818; + rType = 0; + vrLen = 286; + vrLoc = 2669; }; - 8B7E3E4A20A68C5D00482CB5 /* PBXTextBookmark */ = { + 8BB8B70721039BF400751000 /* PBXTextBookmark */ = { isa = PBXTextBookmark; - fRef = 24D8286F09A914000093AEF8 /* DeRezProc.cpp */; - name = "DeRezProc.cpp: 71"; + fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */; + name = "audioeffectx.cpp: 307"; + rLen = 0; + rLoc = 10616; + rType = 0; + vrLen = 280; + vrLoc = 10459; + }; + 8BB8B7932103BA6200751000 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */; + name = "audioeffectx.cpp: 307"; rLen = 0; - rLoc = 2782; + rLoc = 10616; rType = 0; - vrLen = 425; - vrLoc = 2546; + vrLen = 280; + vrLoc = 10459; }; 8D01CCC60486CAD60068D4B7 /* DeRez */ = { activeExec = 0; diff --git a/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3 index f8a2491..9e76dbc 100755 --- a/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacVST/DeRez/DeRez.xcodeproj/christopherjohnson.perspectivev3 @@ -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>7</integer> + <integer>5</integer> <integer>4</integer> <integer>0</integer> </array> @@ -337,7 +339,7 @@ <key>PBXProjectModuleGUID</key> <string>8B0237581D42B1C400E1E8C8</string> <key>PBXProjectModuleLabel</key> - <string>DeRezProc.cpp</string> + <string>audioeffectx.cpp</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> <key>Split0</key> @@ -345,14 +347,15 @@ <key>PBXProjectModuleGUID</key> <string>8B0237591D42B1C400E1E8C8</string> <key>PBXProjectModuleLabel</key> - <string>DeRezProc.cpp</string> + <string>audioeffectx.cpp</string> <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> - <string>8B7E3E4A20A68C5D00482CB5</string> + <string>8BB8B7932103BA6200751000</string> <key>history</key> <array> - <string>8B7E3E4920A68C5D00482CB5</string> + <string>8BB8B70521039BF400751000</string> + <string>8BB8B70721039BF400751000</string> </array> </dict> <key>SplitCount</key> @@ -366,18 +369,18 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {603, 132}}</string> + <string>{{0, 0}, {603, 102}}</string> <key>RubberWindowFrame</key> <string>10 338 810 487 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>132pt</string> + <string>102pt</string> </dict> <dict> <key>Proportion</key> - <string>309pt</string> + <string>339pt</string> <key>Tabs</key> <array> <dict> @@ -391,7 +394,9 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {603, 414}}</string> + <string>{{10, 27}, {603, 312}}</string> + <key>RubberWindowFrame</key> + <string>10 338 810 487 0 0 1440 878 </string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -445,9 +450,7 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {603, 282}}</string> - <key>RubberWindowFrame</key> - <string>10 338 810 487 0 0 1440 878 </string> + <string>{{10, 27}, {603, 297}}</string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> @@ -475,11 +478,11 @@ </array> <key>TableOfContents</key> <array> - <string>8B7E3E4B20A68C5D00482CB5</string> + <string>8BB8B7942103BA6200751000</string> <string>1CA23ED40692098700951B8B</string> - <string>8B7E3E4C20A68C5D00482CB5</string> + <string>8BB8B7952103BA6200751000</string> <string>8B0237581D42B1C400E1E8C8</string> - <string>8B7E3E4D20A68C5D00482CB5</string> + <string>8BB8B7962103BA6200751000</string> <string>1CA23EDF0692099D00951B8B</string> <string>1CA23EE00692099D00951B8B</string> <string>1CA23EE10692099D00951B8B</string> @@ -632,7 +635,7 @@ <key>StatusbarIsVisible</key> <true/> <key>TimeStamp</key> - <real>547785821.33325303</real> + <real>553892450.74727702</real> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> <key>ToolbarDisplayMode</key> @@ -649,8 +652,8 @@ <integer>5</integer> <key>WindowOrderList</key> <array> - <string>8B7E3E4E20A68C5D00482CB5</string> - <string>/Users/christopherjohnson/Desktop/DeRez/DeRez.xcodeproj</string> + <string>8BB8B7972103BA6200751000</string> + <string>/Users/christopherjohnson/Desktop/MacVST/DeRez/DeRez.xcodeproj</string> </array> <key>WindowString</key> <string>10 338 810 487 0 0 1440 878 </string> diff --git a/plugins/MacVST/DeRez/source/DeRez.cpp b/plugins/MacVST/DeRez/source/DeRez.cpp index 3bf36eb..404127a 100755 --- a/plugins/MacVST/DeRez/source/DeRez.cpp +++ b/plugins/MacVST/DeRez/source/DeRez.cpp @@ -99,8 +99,8 @@ float DeRez::getParameter(VstInt32 index) { void DeRez::getParameterName(VstInt32 index, char *text) { switch (index) { - case kParamA: vst_strncpy (text, "Freq", kVstMaxParamStrLen); break; - case kParamB: vst_strncpy (text, "Reso", kVstMaxParamStrLen); break; + case kParamA: vst_strncpy (text, "Rate", kVstMaxParamStrLen); break; + case kParamB: vst_strncpy (text, "Rez", kVstMaxParamStrLen); break; default: break; // unknown parameter, shouldn't happen! } //this is our labels for displaying in the VST host } diff --git a/plugins/MacVST/DeRez/source/DeRezProc.cpp b/plugins/MacVST/DeRez/source/DeRezProc.cpp index 0fed9b4..247a364 100755 --- a/plugins/MacVST/DeRez/source/DeRezProc.cpp +++ b/plugins/MacVST/DeRez/source/DeRezProc.cpp @@ -30,7 +30,7 @@ void DeRez::processReplacing(float **inputs, float **outputs, VstInt32 sampleFra { long double inputSampleL = *in1; long double inputSampleR = *in2; - if (inputSampleL<1.2e-38 && -inputSampleL<1.2e-38) { + if (inputSampleL<1.2e-38 && -inputSampleL<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, @@ -49,7 +49,7 @@ void DeRez::processReplacing(float **inputs, float **outputs, VstInt32 sampleFra applyresidue *= 0.00000001; inputSampleL = applyresidue; } - if (inputSampleR<1.2e-38 && -inputSampleR<1.2e-38) { + if (inputSampleR<1.2e-38 && -inputSampleR<1.2e-38 && (targetB == 0)) { static int noisesource = 0; noisesource = noisesource % 1700021; noisesource++; int residue = noisesource * noisesource; @@ -186,7 +186,7 @@ void DeRez::processDoubleReplacing(double **inputs, double **outputs, VstInt32 s { long double inputSampleL = *in1; long double inputSampleR = *in2; - if (inputSampleL<1.2e-38 && -inputSampleL<1.2e-38) { + if (inputSampleL<1.2e-38 && -inputSampleL<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, @@ -205,7 +205,7 @@ void DeRez::processDoubleReplacing(double **inputs, double **outputs, VstInt32 s applyresidue *= 0.00000001; inputSampleL = applyresidue; } - if (inputSampleR<1.2e-38 && -inputSampleR<1.2e-38) { + if (inputSampleR<1.2e-38 && -inputSampleR<1.2e-38 && (targetB == 0)) { static int noisesource = 0; noisesource = noisesource % 1700021; noisesource++; int residue = noisesource * noisesource; |