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/DitherMeTimbers | |
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/DitherMeTimbers')
3 files changed, 55 insertions, 45 deletions
diff --git a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp index b011f1e..a9c5963 100755 --- a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp +++ b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp @@ -184,6 +184,15 @@ void DitherMeTimbers::DitherMeTimbersKernel::Process( const Float32 *inSourceP noiseShaping += outputSample; noiseShaping -= lastSample; + if (outputSample > 8388600.0) { + outputSample = 8388600.0; + noiseShaping *= 0.5; + } + if (outputSample < -8388600.0) { + outputSample = -8388600.0; + noiseShaping *= 0.5; + } + *destP = outputSample / 8388608.0; //scale it back down to 24 bit resolution sourceP += inNumChannels; diff --git a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.pbxuser b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.pbxuser index bf2635d..7f19694 100755 --- a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.pbxuser @@ -3,6 +3,8 @@ 089C1669FE841209C02AAC07 /* Project object */ = { activeBuildConfigurationName = Release; activeTarget = 8D01CCC60486CAD60068D4B7 /* DitherMeTimbers */; + breakpoints = ( + ); codeSenseManager = 8BD3CCB9148830B20062E48C /* Code sense */; perUserDictionary = { PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { @@ -49,13 +51,13 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 565644622; - PBXWorkspaceStateSaveDate = 565644622; + PBXPerProjectTemplateStateSaveDate = 566513924; + PBXWorkspaceStateSaveDate = 566513924; }; perUserProjectItems = { 8B416D5621B6000500DD5013 /* PlistBookmark */ = 8B416D5621B6000500DD5013 /* PlistBookmark */; - 8BBB300421B6322E00825986 /* PBXTextBookmark */ = 8BBB300421B6322E00825986 /* PBXTextBookmark */; - 8BBB302221B70E0F00825986 /* PBXTextBookmark */ = 8BBB302221B70E0F00825986 /* PBXTextBookmark */; + 8BBB329121C4504400825986 /* PBXTextBookmark */ = 8BBB329121C4504400825986 /* PBXTextBookmark */; + 8BBB32D021C4524300825986 /* PBXTextBookmark */ = 8BBB32D021C4524300825986 /* PBXTextBookmark */; }; sourceControlManager = 8BD3CCB8148830B20062E48C /* Source Control */; userBuildSettings = { @@ -75,10 +77,10 @@ }; 8BA05A660720730100365D66 /* DitherMeTimbers.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {789, 2639}}"; - sepNavSelRange = "{8264, 0}"; - sepNavVisRange = "{7824, 402}"; - sepNavWindowFrame = "{{627, 44}, {1129, 834}}"; + sepNavIntBoundsRect = "{{0, 0}, {789, 2808}}"; + sepNavSelRange = "{8279, 0}"; + sepNavVisRange = "{8161, 245}"; + sepNavWindowFrame = "{{311, 44}, {1129, 834}}"; }; }; 8BA05A690720730100365D66 /* DitherMeTimbersVersion.h */ = { @@ -89,32 +91,32 @@ sepNavWindowFrame = "{{311, 44}, {1129, 834}}"; }; }; - 8BBB300421B6322E00825986 /* PBXTextBookmark */ = { + 8BBB329121C4504400825986 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 8BA05A660720730100365D66 /* DitherMeTimbers.cpp */; - name = "DitherMeTimbers.cpp: 187"; + name = "DitherMeTimbers.cpp: 188"; rLen = 0; - rLoc = 8264; + rLoc = 8279; rType = 0; - vrLen = 493; - vrLoc = 7733; + vrLen = 252; + vrLoc = 8161; }; - 8BBB302221B70E0F00825986 /* PBXTextBookmark */ = { + 8BBB32D021C4524300825986 /* PBXTextBookmark */ = { isa = PBXTextBookmark; fRef = 8BA05A660720730100365D66 /* DitherMeTimbers.cpp */; - name = "DitherMeTimbers.cpp: 187"; + name = "DitherMeTimbers.cpp: 188"; rLen = 0; - rLoc = 8264; + rLoc = 8279; rType = 0; - vrLen = 402; - vrLoc = 7824; + vrLen = 245; + vrLoc = 8161; }; 8BC6025B073B072D006C4272 /* DitherMeTimbers.h */ = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {1082, 1690}}"; - sepNavSelRange = "{4927, 0}"; - sepNavVisRange = "{3376, 1749}"; - sepNavWindowFrame = "{{636, 44}, {1129, 834}}"; + sepNavSelRange = "{4971, 45}"; + sepNavVisRange = "{2662, 1719}"; + sepNavWindowFrame = "{{311, 44}, {1129, 834}}"; }; }; 8BD3CCB8148830B20062E48C /* Source Control */ = { diff --git a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.perspectivev3 index ec6cae6..349f556 100755 --- a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj/christopherjohnson.perspectivev3 @@ -326,7 +326,7 @@ <real>288</real> </array> <key>RubberWindowFrame</key> - <string>599 160 841 654 0 0 1440 878 </string> + <string>594 193 841 654 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXSmartGroupTreeModule</string> @@ -354,11 +354,11 @@ <key>_historyCapacity</key> <integer>0</integer> <key>bookmark</key> - <string>8BBB302221B70E0F00825986</string> + <string>8BBB32D021C4524300825986</string> <key>history</key> <array> <string>8B416D5621B6000500DD5013</string> - <string>8BBB300421B6322E00825986</string> + <string>8BBB329121C4504400825986</string> </array> </dict> <key>SplitCount</key> @@ -372,18 +372,18 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {531, 188}}</string> + <string>{{0, 0}, {531, 158}}</string> <key>RubberWindowFrame</key> - <string>599 160 841 654 0 0 1440 878 </string> + <string>594 193 841 654 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>188pt</string> + <string>158pt</string> </dict> <dict> <key>Proportion</key> - <string>420pt</string> + <string>450pt</string> <key>Tabs</key> <array> <dict> @@ -397,9 +397,9 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {531, 393}}</string> + <string>{{10, 27}, {531, 423}}</string> <key>RubberWindowFrame</key> - <string>599 160 841 654 0 0 1440 878 </string> + <string>594 193 841 654 0 0 1440 878 </string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -453,7 +453,7 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {531, 379}}</string> + <string>{{10, 27}, {531, 408}}</string> </dict> <key>Module</key> <string>PBXBuildResultsModule</string> @@ -481,11 +481,11 @@ </array> <key>TableOfContents</key> <array> - <string>8BBB302321B70E0F00825986</string> + <string>8BBB32D121C4524300825986</string> <string>1CA23ED40692098700951B8B</string> - <string>8BBB302421B70E0F00825986</string> + <string>8BBB32D221C4524300825986</string> <string>8BD7274A1D46E5A5000176F0</string> - <string>8BBB302521B70E0F00825986</string> + <string>8BBB32D321C4524300825986</string> <string>1CA23EDF0692099D00951B8B</string> <string>1CA23EE00692099D00951B8B</string> <string>1CA23EE10692099D00951B8B</string> @@ -536,12 +536,12 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {810, 0}}</string> + <string>{{0, 0}, {424, 270}}</string> </dict> <key>Module</key> <string>PBXDebugCLIModule</string> <key>Proportion</key> - <string>0pt</string> + <string>270pt</string> </dict> <dict> <key>ContentConfiguration</key> @@ -634,14 +634,14 @@ </array> <key>TableOfContents</key> <array> - <string>8BD727EC1D46ECF1000176F0</string> + <string>8BBB328521C276EC00825986</string> <string>1CCC7628064C1048000F2A68</string> <string>1CCC7629064C1048000F2A68</string> - <string>8BD727ED1D46ECF1000176F0</string> - <string>8BD727EE1D46ECF1000176F0</string> - <string>8BD727EF1D46ECF1000176F0</string> - <string>8BD727F01D46ECF1000176F0</string> - <string>8BD727E71D46ECD9000176F0</string> + <string>8BBB328621C276EC00825986</string> + <string>8BBB328721C276EC00825986</string> + <string>8BBB328821C276EC00825986</string> + <string>8BBB328921C276EC00825986</string> + <string>8BBB328A21C276EC00825986</string> </array> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> @@ -658,7 +658,7 @@ <key>StatusbarIsVisible</key> <true/> <key>TimeStamp</key> - <real>565644815.50190496</real> + <real>566514243.55308604</real> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> <key>ToolbarDisplayMode</key> @@ -675,11 +675,10 @@ <integer>5</integer> <key>WindowOrderList</key> <array> - <string>8BBB302621B70E0F00825986</string> <string>/Users/christopherjohnson/Desktop/MacAU/DitherMeTimbers/DitherMeTimbers.xcodeproj</string> </array> <key>WindowString</key> - <string>599 160 841 654 0 0 1440 878 </string> + <string>594 193 841 654 0 0 1440 878 </string> <key>WindowToolsV3</key> <array> <dict> |