diff options
author | Chris Johnson <jinx6568@sover.net> | 2018-12-16 13:54:56 -0500 |
---|---|---|
committer | Chris Johnson <jinx6568@sover.net> | 2018-12-16 13:54:56 -0500 |
commit | 2a6e1bef6b4bd039386aa24c988f5d69364ff874 (patch) | |
tree | ef44a92cb132b9b277dcbbb5120b063213e674ae /plugins/MacAU/DitherMeDiskers | |
parent | b25674789c87a1564af673faff8a7ee3dfcbcaf2 (diff) | |
download | airwindows-lv2-port-2a6e1bef6b4bd039386aa24c988f5d69364ff874.tar.gz airwindows-lv2-port-2a6e1bef6b4bd039386aa24c988f5d69364ff874.tar.bz2 airwindows-lv2-port-2a6e1bef6b4bd039386aa24c988f5d69364ff874.zip |
TapeDelay (and DitherMeTimbers overs update)
Diffstat (limited to 'plugins/MacAU/DitherMeDiskers')
3 files changed, 48 insertions, 33 deletions
diff --git a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.cpp b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.cpp index a3a6b99..fc8ef54 100755 --- a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.cpp +++ b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.cpp @@ -184,6 +184,15 @@ void DitherMeDiskers::DitherMeDiskersKernel::Process( const Float32 *inSourceP noiseShaping += outputSample; noiseShaping -= lastSample; + if (outputSample > 32760.0) { + outputSample = 32760.0; + noiseShaping *= 0.5; + } + if (outputSample < -32760.0) { + outputSample = -32760.0; + noiseShaping *= 0.5; + } + *destP = outputSample / 32768.0; //scale it back down to 16 bit resolution sourceP += inNumChannels; diff --git a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.pbxuser index bc3e8cb..ae10e21 100755 --- a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.pbxuser @@ -49,14 +49,14 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 565644650; - PBXWorkspaceStateSaveDate = 565644650; + PBXPerProjectTemplateStateSaveDate = 566513740; + PBXWorkspaceStateSaveDate = 566513740; }; perUserProjectItems = { - 8BBB302121B70DC800825986 /* PBXBookmark */ = 8BBB302121B70DC800825986 /* PBXBookmark */; - 8BBB303321B70E4500825986 /* PlistBookmark */ = 8BBB303321B70E4500825986 /* PlistBookmark */; - 8BBB304321B70E5D00825986 /* PlistBookmark */ = 8BBB304321B70E5D00825986 /* PlistBookmark */; 8BBB304421B70E5D00825986 /* PBXTextBookmark */ = 8BBB304421B70E5D00825986 /* PBXTextBookmark */; + 8BBB329D21C4508800825986 /* PlistBookmark */ = 8BBB329D21C4508800825986 /* PlistBookmark */; + 8BBB32A221C4509A00825986 /* PlistBookmark */ = 8BBB32A221C4509A00825986 /* PlistBookmark */; + 8BBB32A621C4509A00825986 /* PBXTextBookmark */ = 8BBB32A621C4509A00825986 /* PBXTextBookmark */; }; sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */; userBuildSettings = { @@ -64,9 +64,9 @@ }; 8BA05A660720730100365D66 /* DitherMeDiskers.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {1082, 2769}}"; - sepNavSelRange = "{8289, 0}"; - sepNavVisRange = "{6559, 1811}"; + sepNavIntBoundsRect = "{{0, 0}, {1082, 2964}}"; + sepNavSelRange = "{8372, 0}"; + sepNavVisRange = "{6754, 1793}"; sepNavWindowFrame = "{{15, 39}, {1129, 834}}"; }; }; @@ -78,11 +78,17 @@ sepNavWindowFrame = "{{15, 39}, {1129, 834}}"; }; }; - 8BBB302121B70DC800825986 /* PBXBookmark */ = { - isa = PBXBookmark; + 8BBB304421B70E5D00825986 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; fRef = 8BA05A660720730100365D66 /* DitherMeDiskers.cpp */; + name = "DitherMeDiskers.cpp: 187"; + rLen = 0; + rLoc = 8466; + rType = 0; + vrLen = 1811; + vrLoc = 6559; }; - 8BBB303321B70E4500825986 /* PlistBookmark */ = { + 8BBB329D21C4508800825986 /* PlistBookmark */ = { isa = PlistBookmark; fRef = 8D01CCD10486CAD60068D4B7 /* Info.plist */; fallbackIsa = PBXBookmark; @@ -90,11 +96,11 @@ kPath = ( CFBundleName, ); - name = /Users/christopherjohnson/Desktop/DitherMeDiskers/Info.plist; + name = /Users/christopherjohnson/Desktop/MacAU/DitherMeDiskers/Info.plist; rLen = 0; rLoc = 9223372036854775807; }; - 8BBB304321B70E5D00825986 /* PlistBookmark */ = { + 8BBB32A221C4509A00825986 /* PlistBookmark */ = { isa = PlistBookmark; fRef = 8D01CCD10486CAD60068D4B7 /* Info.plist */; fallbackIsa = PBXBookmark; @@ -102,19 +108,19 @@ kPath = ( CFBundleName, ); - name = /Users/christopherjohnson/Desktop/DitherMeDiskers/Info.plist; + name = /Users/christopherjohnson/Desktop/MacAU/DitherMeDiskers/Info.plist; rLen = 26; rLoc = 0; }; - 8BBB304421B70E5D00825986 /* PBXTextBookmark */ = { + 8BBB32A621C4509A00825986 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 8BA05A660720730100365D66 /* DitherMeDiskers.cpp */; - name = "DitherMeDiskers.cpp: 187"; + name = "DitherMeDiskers.cpp: 192"; rLen = 0; - rLoc = 8289; + rLoc = 8372; rType = 0; - vrLen = 1811; - vrLoc = 6559; + vrLen = 1793; + vrLoc = 6754; }; 8BC6025B073B072D006C4272 /* DitherMeDiskers.h */ = { uiCtxt = { diff --git a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.perspectivev3 index ee4db4f..663d212 100755 --- a/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj/christopherjohnson.perspectivev3 @@ -241,10 +241,10 @@ <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> - <string>8BBB304421B70E5D00825986</string> + <string>8BBB32A621C4509A00825986</string> <key>history</key> <array> - <string>8BBB302121B70DC800825986</string> + <string>8BBB304421B70E5D00825986</string> </array> </dict> <key>SplitCount</key> @@ -393,10 +393,10 @@ <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> - <string>8BBB304321B70E5D00825986</string> + <string>8BBB32A221C4509A00825986</string> <key>history</key> <array> - <string>8BBB303321B70E4500825986</string> + <string>8BBB329D21C4508800825986</string> </array> </dict> <key>SplitCount</key> @@ -410,18 +410,18 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {531, 242}}</string> + <string>{{0, 0}, {531, 229}}</string> <key>RubberWindowFrame</key> <string>16 205 841 654 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>242pt</string> + <string>229pt</string> </dict> <dict> <key>Proportion</key> - <string>366pt</string> + <string>379pt</string> <key>Tabs</key> <array> <dict> @@ -435,7 +435,7 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {531, 339}}</string> + <string>{{10, 27}, {531, 352}}</string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -489,7 +489,7 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {531, 339}}</string> + <string>{{10, 27}, {531, 352}}</string> <key>RubberWindowFrame</key> <string>16 205 841 654 0 0 1440 878 </string> </dict> @@ -519,11 +519,11 @@ </array> <key>TableOfContents</key> <array> - <string>8BBB303921B70E4F00825986</string> + <string>8BBB32A321C4509A00825986</string> <string>1CA23ED40692098700951B8B</string> - <string>8BBB303A21B70E4F00825986</string> + <string>8BBB32A421C4509A00825986</string> <string>8BD7274A1D46E5A5000176F0</string> - <string>8BBB303B21B70E4F00825986</string> + <string>8BBB32A521C4509A00825986</string> <string>1CA23EDF0692099D00951B8B</string> <string>1CA23EE00692099D00951B8B</string> <string>1CA23EE10692099D00951B8B</string> @@ -696,7 +696,7 @@ <key>StatusbarIsVisible</key> <true/> <key>TimeStamp</key> - <real>565644893.20770502</real> + <real>566513818.26343</real> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> <key>ToolbarDisplayMode</key> @@ -714,7 +714,7 @@ <key>WindowOrderList</key> <array> <string>8BBB303C21B70E4F00825986</string> - <string>/Users/christopherjohnson/Desktop/DitherMeDiskers/DitherMeDiskers.xcodeproj</string> + <string>/Users/christopherjohnson/Desktop/MacAU/DitherMeDiskers/DitherMeDiskers.xcodeproj</string> </array> <key>WindowString</key> <string>16 205 841 654 0 0 1440 878 </string> |