diff options
Diffstat (limited to 'plugins/MacVST')
5 files changed, 78 insertions, 35 deletions
diff --git a/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.pbxuser index 1ffe808..daa329e 100755 --- a/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.pbxuser @@ -10,7 +10,7 @@ PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; PBXFileTableDataSourceColumnWidthsKey = ( 20, - 364, + 399, 20, 48, 43, @@ -49,8 +49,13 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 584928054; - PBXWorkspaceStateSaveDate = 584928054; + PBXPerProjectTemplateStateSaveDate = 585506370; + PBXWorkspaceStateSaveDate = 585506370; + }; + perUserProjectItems = { + 8B52134922E619E3009B824C /* PBXTextBookmark */ = 8B52134922E619E3009B824C /* PBXTextBookmark */; + 8B52134A22E619E3009B824C /* PBXTextBookmark */ = 8B52134A22E619E3009B824C /* PBXTextBookmark */; + 8B5213D022E61F6F009B824C /* PBXTextBookmark */ = 8B5213D022E61F6F009B824C /* PBXTextBookmark */; }; sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */; userBuildSettings = { @@ -59,8 +64,8 @@ 2407DEB6089929BA00EB68BF /* Mojo.cpp */ = { uiCtxt = { sepNavIntBoundsRect = "{{0, 0}, {848, 1547}}"; - sepNavSelRange = "{3234, 0}"; - sepNavVisRange = "{2331, 1844}"; + sepNavSelRange = "{3540, 0}"; + sepNavVisRange = "{2378, 1799}"; sepNavWindowFrame = "{{12, 57}, {895, 821}}"; }; }; @@ -74,17 +79,17 @@ }; 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {859, 20267}}"; + sepNavIntBoundsRect = "{{0, 0}, {838, 19877}}"; sepNavSelRange = "{10616, 0}"; - sepNavVisRange = "{9653, 2414}"; + sepNavVisRange = "{10459, 280}"; sepNavWindowFrame = "{{15, 42}, {895, 831}}"; }; }; 24D8286F09A914000093AEF8 /* MojoProc.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {848, 1339}}"; - sepNavSelRange = "{691, 514}"; - sepNavVisRange = "{207, 1780}"; + sepNavIntBoundsRect = "{{0, 0}, {712, 1287}}"; + sepNavSelRange = "{708, 514}"; + sepNavVisRange = "{0, 780}"; sepNavWindowFrame = "{{31, 57}, {895, 821}}"; }; }; @@ -102,6 +107,36 @@ isa = PBXCodeSenseManager; indexTemplatePath = ""; }; + 8B52134922E619E3009B824C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 24A2FFDB0F90D1DD003BB5A7 /* audioeffectx.cpp */; + name = "audioeffectx.cpp: 307"; + rLen = 0; + rLoc = 10616; + rType = 0; + vrLen = 280; + vrLoc = 10459; + }; + 8B52134A22E619E3009B824C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 24D8286F09A914000093AEF8 /* MojoProc.cpp */; + name = "MojoProc.cpp: 25"; + rLen = 514; + rLoc = 708; + rType = 0; + vrLen = 780; + vrLoc = 0; + }; + 8B5213D022E61F6F009B824C /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 24D8286F09A914000093AEF8 /* MojoProc.cpp */; + name = "MojoProc.cpp: 25"; + rLen = 514; + rLoc = 708; + rType = 0; + vrLen = 780; + vrLoc = 0; + }; 8D01CCC60486CAD60068D4B7 /* Mojo */ = { activeExec = 0; }; diff --git a/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.perspectivev3 index ad52532..92c74c3 100755 --- a/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacVST/Mojo/Mojo.xcodeproj/christopherjohnson.perspectivev3 @@ -300,13 +300,13 @@ <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> <array> <array> - <integer>6</integer> + <integer>5</integer> <integer>4</integer> <integer>0</integer> </array> </array> <key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key> - <string>{{0, 0}, {185, 428}}</string> + <string>{{0, 0}, {185, 707}}</string> </dict> <key>PBXTopSmartGroupGIDs</key> <array/> @@ -316,14 +316,14 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {202, 446}}</string> + <string>{{0, 0}, {202, 725}}</string> <key>GroupTreeTableConfiguration</key> <array> <string>MainColumn</string> <real>185</real> </array> <key>RubberWindowFrame</key> - <string>33 386 810 487 0 0 1440 878 </string> + <string>33 107 845 766 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXSmartGroupTreeModule</string> @@ -339,7 +339,7 @@ <key>PBXProjectModuleGUID</key> <string>8B0237581D42B1C400E1E8C8</string> <key>PBXProjectModuleLabel</key> - <string>Gain.h</string> + <string>MojoProc.cpp</string> <key>PBXSplitModuleInNavigatorKey</key> <dict> <key>Split0</key> @@ -347,7 +347,16 @@ <key>PBXProjectModuleGUID</key> <string>8B0237591D42B1C400E1E8C8</string> <key>PBXProjectModuleLabel</key> - <string>Gain.h</string> + <string>MojoProc.cpp</string> + <key>_historyCapacity</key> + <integer>0</integer> + <key>bookmark</key> + <string>8B5213D022E61F6F009B824C</string> + <key>history</key> + <array> + <string>8B52134922E619E3009B824C</string> + <string>8B52134A22E619E3009B824C</string> + </array> </dict> <key>SplitCount</key> <string>1</string> @@ -360,18 +369,18 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{0, 0}, {603, 0}}</string> + <string>{{0, 0}, {638, 387}}</string> <key>RubberWindowFrame</key> - <string>33 386 810 487 0 0 1440 878 </string> + <string>33 107 845 766 0 0 1440 878 </string> </dict> <key>Module</key> <string>PBXNavigatorGroup</string> <key>Proportion</key> - <string>0pt</string> + <string>387pt</string> </dict> <dict> <key>Proportion</key> - <string>441pt</string> + <string>333pt</string> <key>Tabs</key> <array> <dict> @@ -385,9 +394,9 @@ <key>GeometryConfiguration</key> <dict> <key>Frame</key> - <string>{{10, 27}, {603, 414}}</string> + <string>{{10, 27}, {638, 306}}</string> <key>RubberWindowFrame</key> - <string>33 386 810 487 0 0 1440 878 </string> + <string>33 107 845 766 0 0 1440 878 </string> </dict> <key>Module</key> <string>XCDetailModule</string> @@ -450,7 +459,7 @@ </dict> </array> <key>Proportion</key> - <string>603pt</string> + <string>638pt</string> </dict> </array> <key>Name</key> @@ -469,11 +478,11 @@ </array> <key>TableOfContents</key> <array> - <string>8B52126222DD4B37009B824C</string> + <string>8B5213D122E61F6F009B824C</string> <string>1CA23ED40692098700951B8B</string> - <string>8B52126322DD4B37009B824C</string> + <string>8B5213D222E61F6F009B824C</string> <string>8B0237581D42B1C400E1E8C8</string> - <string>8B52126422DD4B37009B824C</string> + <string>8B5213D322E61F6F009B824C</string> <string>1CA23EDF0692099D00951B8B</string> <string>1CA23EE00692099D00951B8B</string> <string>1CA23EE10692099D00951B8B</string> @@ -626,7 +635,7 @@ <key>StatusbarIsVisible</key> <true/> <key>TimeStamp</key> - <real>584934173.92230296</real> + <real>585506671.40982199</real> <key>ToolbarConfigUserDefaultsMinorVersion</key> <string>2</string> <key>ToolbarDisplayMode</key> @@ -643,11 +652,10 @@ <integer>5</integer> <key>WindowOrderList</key> <array> - <string>8B5212A922DD631D009B824C</string> - <string>/Users/christopherjohnson/Desktop/Mojo/Mojo.xcodeproj</string> + <string>/Users/christopherjohnson/Desktop/Plugins/MacVST/Mojo/Mojo.xcodeproj</string> </array> <key>WindowString</key> - <string>33 386 810 487 0 0 1440 878 </string> + <string>33 107 845 766 0 0 1440 878 </string> <key>WindowToolsV3</key> <array> <dict> diff --git a/plugins/MacVST/Mojo/Mojo.xcodeproj/project.pbxproj b/plugins/MacVST/Mojo/Mojo.xcodeproj/project.pbxproj index 80a7d52..391f533 100755 --- a/plugins/MacVST/Mojo/Mojo.xcodeproj/project.pbxproj +++ b/plugins/MacVST/Mojo/Mojo.xcodeproj/project.pbxproj @@ -1894,7 +1894,7 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 8D01CCC60486CAD60068D4B7 /* AudioUnit */ = { + 8D01CCC60486CAD60068D4B7 /* Mojo */ = { isa = PBXNativeTarget; buildConfigurationList = 24BEAAED08919AE700E695F9 /* Build configuration list for PBXNativeTarget "Mojo" */; buildPhases = ( @@ -1947,7 +1947,7 @@ ); projectRoot = ""; targets = ( - 8D01CCC60486CAD60068D4B7 /* AudioUnit */, + 8D01CCC60486CAD60068D4B7 /* Mojo */, ); }; /* End PBXProject section */ diff --git a/plugins/MacVST/Mojo/source/Mojo.cpp b/plugins/MacVST/Mojo/source/Mojo.cpp index bef296a..7b34fba 100755 --- a/plugins/MacVST/Mojo/source/Mojo.cpp +++ b/plugins/MacVST/Mojo/source/Mojo.cpp @@ -95,7 +95,7 @@ void Mojo::getParameterDisplay(VstInt32 index, char *text) { void Mojo::getParameterLabel(VstInt32 index, char *text) { switch (index) { - case kParamA: vst_strncpy (text, "", kVstMaxParamStrLen); break; + case kParamA: vst_strncpy (text, "dB", kVstMaxParamStrLen); break; default: break; // unknown parameter, shouldn't happen! } } diff --git a/plugins/MacVST/Mojo/source/MojoProc.cpp b/plugins/MacVST/Mojo/source/MojoProc.cpp index 303de25..60f986d 100755 --- a/plugins/MacVST/Mojo/source/MojoProc.cpp +++ b/plugins/MacVST/Mojo/source/MojoProc.cpp @@ -14,7 +14,7 @@ void Mojo::processReplacing(float **inputs, float **outputs, VstInt32 sampleFram float* out1 = outputs[0]; float* out2 = outputs[1]; - double gain = (A*24.0)-12.0; + double gain = pow(10.0,((A*24.0)-12.0)/20.0); while (--sampleFrames >= 0) { @@ -61,7 +61,7 @@ void Mojo::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sa double* out1 = outputs[0]; double* out2 = outputs[1]; - double gain = (A*24.0)-12.0; + double gain = pow(10.0,((A*24.0)-12.0)/20.0); while (--sampleFrames >= 0) { |