Browse Source

Added class: NormalisableRange, to represent a mapping from an arbitrary range down to 0->1

tags/2021-05-28
jules 10 years ago
parent
commit
336b7974d7
35 changed files with 238 additions and 8 deletions
  1. +2
    -0
      extras/Demo/Builds/MacOSX/JuceDemo.xcodeproj/project.pbxproj
  2. +1
    -0
      extras/Demo/Builds/VisualStudio2010/JuceDemo.vcxproj
  3. +3
    -0
      extras/Demo/Builds/VisualStudio2010/JuceDemo.vcxproj.filters
  4. +1
    -0
      extras/Demo/Builds/VisualStudio2012/JuceDemo.vcxproj
  5. +3
    -0
      extras/Demo/Builds/VisualStudio2012/JuceDemo.vcxproj.filters
  6. +1
    -0
      extras/Demo/Builds/VisualStudio2013/JuceDemo.vcxproj
  7. +3
    -0
      extras/Demo/Builds/VisualStudio2013/JuceDemo.vcxproj.filters
  8. +2
    -0
      extras/Demo/Builds/iOS/JuceDemo.xcodeproj/project.pbxproj
  9. +4
    -0
      extras/Introjucer/Builds/CodeBlocks/The Introjucer.cbp
  10. +9
    -7
      extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj
  11. +1
    -0
      extras/Introjucer/Builds/VisualStudio2005/The Introjucer.vcproj
  12. +1
    -0
      extras/Introjucer/Builds/VisualStudio2008/The Introjucer.vcproj
  13. +1
    -0
      extras/Introjucer/Builds/VisualStudio2010/The Introjucer.vcxproj
  14. +3
    -0
      extras/Introjucer/Builds/VisualStudio2010/The Introjucer.vcxproj.filters
  15. +1
    -0
      extras/Introjucer/Builds/VisualStudio2012/The Introjucer.vcxproj
  16. +3
    -0
      extras/Introjucer/Builds/VisualStudio2012/The Introjucer.vcxproj.filters
  17. +1
    -0
      extras/Introjucer/Builds/VisualStudio2013/The Introjucer.vcxproj
  18. +3
    -0
      extras/Introjucer/Builds/VisualStudio2013/The Introjucer.vcxproj.filters
  19. +3
    -1
      extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj
  20. +1
    -0
      extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj
  21. +1
    -0
      extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj
  22. +1
    -0
      extras/audio plugin demo/Builds/VisualStudio2010/JuceDemoPlugin.vcxproj
  23. +3
    -0
      extras/audio plugin demo/Builds/VisualStudio2010/JuceDemoPlugin.vcxproj.filters
  24. +2
    -0
      extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj
  25. +1
    -0
      extras/audio plugin host/Builds/VisualStudio2010/Plugin Host.vcxproj
  26. +3
    -0
      extras/audio plugin host/Builds/VisualStudio2010/Plugin Host.vcxproj.filters
  27. +2
    -0
      extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj
  28. +1
    -0
      extras/binarybuilder/Builds/VisualStudio2008/BinaryBuilder.vcproj
  29. +2
    -0
      extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj
  30. +1
    -0
      extras/example projects/Builds/VisualStudio2005/HelloWorld.vcproj
  31. +1
    -0
      extras/example projects/Builds/VisualStudio2008/HelloWorld.vcproj
  32. +2
    -0
      extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj
  33. +1
    -0
      extras/windows dll/Builds/VisualStudio2008/juce_dll.vcproj
  34. +1
    -0
      modules/juce_core/juce_core.h
  35. +169
    -0
      modules/juce_core/maths/juce_NormalisableRange.h

+ 2
- 0
extras/Demo/Builds/MacOSX/JuceDemo.xcodeproj/project.pbxproj View File

@@ -402,6 +402,7 @@
50D167857CCBE08F692604BB = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_GZIPCompressorOutputStream.cpp"; path = "../../../../modules/juce_core/zip/juce_GZIPCompressorOutputStream.cpp"; sourceTree = "SOURCE_ROOT"; };
5125E77EBA8500EAA778F51F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_MathsFunctions.h"; path = "../../../../modules/juce_core/maths/juce_MathsFunctions.h"; sourceTree = "SOURCE_ROOT"; };
512D5182047E0B46E971A13D = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_TextEditor.h"; path = "../../../../modules/juce_gui_basics/widgets/juce_TextEditor.h"; sourceTree = "SOURCE_ROOT"; };
519F11BE9C786A7F9B221BA5 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
51DD2ECC1AED271892E87814 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_OpenGL_osx.h"; path = "../../../../modules/juce_opengl/native/juce_OpenGL_osx.h"; sourceTree = "SOURCE_ROOT"; };
52A95B5754438C999343869A = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_VSTPluginFormat.cpp"; path = "../../../../modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp"; sourceTree = "SOURCE_ROOT"; };
52D7400A47B19848EFCB5B51 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_WASAPI.cpp"; path = "../../../../modules/juce_audio_devices/native/juce_win32_WASAPI.cpp"; sourceTree = "SOURCE_ROOT"; };
@@ -1333,6 +1334,7 @@
A763B4ADDB7BDD941FFE51CF,
D7A951371F530DA0A350AF44,
5125E77EBA8500EAA778F51F,
519F11BE9C786A7F9B221BA5,
CC79B254C68555B4FFEBC692,
220344E43675A2A7D64D3A44,
2432B5DFCDB8D39150029E01, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/Demo/Builds/VisualStudio2010/JuceDemo.vcxproj View File

@@ -1389,6 +1389,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Demo/Builds/VisualStudio2010/JuceDemo.vcxproj.filters View File

@@ -1986,6 +1986,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 1
- 0
extras/Demo/Builds/VisualStudio2012/JuceDemo.vcxproj View File

@@ -1395,6 +1395,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Demo/Builds/VisualStudio2012/JuceDemo.vcxproj.filters View File

@@ -1986,6 +1986,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 1
- 0
extras/Demo/Builds/VisualStudio2013/JuceDemo.vcxproj View File

@@ -1395,6 +1395,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Demo/Builds/VisualStudio2013/JuceDemo.vcxproj.filters View File

@@ -1986,6 +1986,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 2
- 0
extras/Demo/Builds/iOS/JuceDemo.xcodeproj/project.pbxproj View File

@@ -396,6 +396,7 @@
50D167857CCBE08F692604BB = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_GZIPCompressorOutputStream.cpp"; path = "../../../../modules/juce_core/zip/juce_GZIPCompressorOutputStream.cpp"; sourceTree = "SOURCE_ROOT"; };
5125E77EBA8500EAA778F51F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_MathsFunctions.h"; path = "../../../../modules/juce_core/maths/juce_MathsFunctions.h"; sourceTree = "SOURCE_ROOT"; };
512D5182047E0B46E971A13D = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_TextEditor.h"; path = "../../../../modules/juce_gui_basics/widgets/juce_TextEditor.h"; sourceTree = "SOURCE_ROOT"; };
519F11BE9C786A7F9B221BA5 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
51DD2ECC1AED271892E87814 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_OpenGL_osx.h"; path = "../../../../modules/juce_opengl/native/juce_OpenGL_osx.h"; sourceTree = "SOURCE_ROOT"; };
52A95B5754438C999343869A = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_VSTPluginFormat.cpp"; path = "../../../../modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp"; sourceTree = "SOURCE_ROOT"; };
52D7400A47B19848EFCB5B51 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_WASAPI.cpp"; path = "../../../../modules/juce_audio_devices/native/juce_win32_WASAPI.cpp"; sourceTree = "SOURCE_ROOT"; };
@@ -1325,6 +1326,7 @@
A763B4ADDB7BDD941FFE51CF,
D7A951371F530DA0A350AF44,
5125E77EBA8500EAA778F51F,
519F11BE9C786A7F9B221BA5,
CC79B254C68555B4FFEBC692,
220344E43675A2A7D64D3A44,
2432B5DFCDB8D39150029E01, ); name = maths; sourceTree = "<group>"; };


+ 4
- 0
extras/Introjucer/Builds/CodeBlocks/The Introjucer.cbp View File

@@ -769,6 +769,10 @@
<Option compile="0"/>
<Option link="0"/>
</Unit>
<Unit filename="../../../../modules/juce_core/maths/juce_NormalisableRange.h">
<Option compile="0"/>
<Option link="0"/>
</Unit>
<Unit filename="../../../../modules/juce_core/maths/juce_Random.cpp">
<Option compile="0"/>
<Option link="0"/>


+ 9
- 7
extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj View File

@@ -204,6 +204,7 @@
261EFE631AA08FB2651B78C7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_StringArray.cpp"; path = "../../../../modules/juce_core/text/juce_StringArray.cpp"; sourceTree = "SOURCE_ROOT"; };
263D9041F9B7D6A79DC38CD6 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_ComponentLayoutEditor.h"; path = "../../Source/ComponentEditor/ui/jucer_ComponentLayoutEditor.h"; sourceTree = "SOURCE_ROOT"; };
263F153E8A277E02A3754BBF = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ToolbarButton.cpp"; path = "../../../../modules/juce_gui_basics/buttons/juce_ToolbarButton.cpp"; sourceTree = "SOURCE_ROOT"; };
265CA78BFB9DEF68B34C57D4 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
269A454F1FF081DA67FFD578 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "jucer_JucerDocument.cpp"; path = "../../Source/ComponentEditor/jucer_JucerDocument.cpp"; sourceTree = "SOURCE_ROOT"; };
271A1D94B96A8B7C949FD8ED = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ComponentMovementWatcher.cpp"; path = "../../../../modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.cpp"; sourceTree = "SOURCE_ROOT"; };
27A2B025813B7E54E0862642 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_PaintElementUndoableAction.h"; path = "../../Source/ComponentEditor/paintelements/jucer_PaintElementUndoableAction.h"; sourceTree = "SOURCE_ROOT"; };
@@ -753,7 +754,6 @@
D4E56676E2EF83404EDCBA8C = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_TextEditor.cpp"; path = "../../../../modules/juce_gui_basics/widgets/juce_TextEditor.cpp"; sourceTree = "SOURCE_ROOT"; };
D4F2D42C58F4D86E00E76F31 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ApplicationCommandID.h"; path = "../../../../modules/juce_gui_basics/commands/juce_ApplicationCommandID.h"; sourceTree = "SOURCE_ROOT"; };
D503780AB98993E8F0BA1311 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ImageComponent.cpp"; path = "../../../../modules/juce_gui_basics/widgets/juce_ImageComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
D5057D7B18ABD5E810A6F830 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_DirectWriteTypeface.cpp"; path = "../../../../modules/juce_graphics/native/juce_win32_DirectWriteTypeface.cpp"; sourceTree = "SOURCE_ROOT"; };
D526C38D581425949BA0E4AC = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_FilePreviewComponent.h"; path = "../../Source/Application/jucer_FilePreviewComponent.h"; sourceTree = "SOURCE_ROOT"; };
D53B54D1786A1FFC024BF064 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_cryptography.mm"; path = "../../../../modules/juce_cryptography/juce_cryptography.mm"; sourceTree = "SOURCE_ROOT"; };
D678882D133090214AF681BC = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ThreadLocalValue.h"; path = "../../../../modules/juce_core/threads/juce_ThreadLocalValue.h"; sourceTree = "SOURCE_ROOT"; };
@@ -764,15 +764,11 @@
D7A7F1AA9F313B0CCAAA73A0 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_MathsFunctions.h"; path = "../../../../modules/juce_core/maths/juce_MathsFunctions.h"; sourceTree = "SOURCE_ROOT"; };
D800DE818BEDBF4579D15B1D = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_mac_AppleRemote.mm"; path = "../../../../modules/juce_gui_extra/native/juce_mac_AppleRemote.mm"; sourceTree = "SOURCE_ROOT"; };
D926E13AB5AD647A7A00F486 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_Network.cpp"; path = "../../../../modules/juce_core/native/juce_linux_Network.cpp"; sourceTree = "SOURCE_ROOT"; };
D9342535EA61901A1AD816C6 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_WebBrowserComponent.cpp"; path = "../../../../modules/juce_gui_extra/native/juce_linux_WebBrowserComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
D9B077E2ECDDA94961E134D7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_StringPairArray.h"; path = "../../../../modules/juce_core/text/juce_StringPairArray.h"; sourceTree = "SOURCE_ROOT"; };
D9E59DE07A815AB303A297D9 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_data_structures.mm"; path = "../../../../modules/juce_data_structures/juce_data_structures.mm"; sourceTree = "SOURCE_ROOT"; };
DAF84A553D264705FA6EB6FF = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_TreeViewHandler.h"; path = "../../Source/ComponentEditor/components/jucer_TreeViewHandler.h"; sourceTree = "SOURCE_ROOT"; };
DB876F7873F42DC685A58CA7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_JPEGLoader.cpp"; path = "../../../../modules/juce_graphics/image_formats/juce_JPEGLoader.cpp"; sourceTree = "SOURCE_ROOT"; };
DBE0CDE1B017190ABBFF557C = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_ProjectExport_CodeBlocks.h"; path = "../../Source/Project Saving/jucer_ProjectExport_CodeBlocks.h"; sourceTree = "SOURCE_ROOT"; };
DC5E7FF30B01118F6DAEC38F = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Time.cpp"; path = "../../../../modules/juce_core/time/juce_Time.cpp"; sourceTree = "SOURCE_ROOT"; };
DD2494D5F1C081898D616AF5 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_KeyListener.cpp"; path = "../../../../modules/juce_gui_basics/keyboard/juce_KeyListener.cpp"; sourceTree = "SOURCE_ROOT"; };
E07C56267CBB46FC44EF2026 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Image.cpp"; path = "../../../../modules/juce_graphics/images/juce_Image.cpp"; sourceTree = "SOURCE_ROOT"; };
DE5F3C9EF6BFFDE73AF9E7FC = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_DirectoryContentsDisplayComponent.cpp"; path = "../../../../modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
E0F9CA57E44F7F7E7E217E47 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_ComponentUndoableAction.h"; path = "../../Source/ComponentEditor/components/jucer_ComponentUndoableAction.h"; sourceTree = "SOURCE_ROOT"; };
E4BB22E27C5AA4B666F265BD = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_TextButtonHandler.h"; path = "../../Source/ComponentEditor/components/jucer_TextButtonHandler.h"; sourceTree = "SOURCE_ROOT"; };
E5D6C36496F5BC84D7213BE8 = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
@@ -782,22 +778,27 @@
25F52316D256B4534BED16D1 = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Introjucer.app; sourceTree = "BUILT_PRODUCTS_DIR"; };
D0D8B580D0689FFF4B9B823B = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_StrokeType.h"; path = "../../Source/ComponentEditor/paintelements/jucer_StrokeType.h"; sourceTree = "SOURCE_ROOT"; };
D4444EC6342A2A7BC4F7BC46 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_ComponentTextProperty.h"; path = "../../Source/ComponentEditor/properties/jucer_ComponentTextProperty.h"; sourceTree = "SOURCE_ROOT"; };
D5057D7B18ABD5E810A6F830 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_DirectWriteTypeface.cpp"; path = "../../../../modules/juce_graphics/native/juce_win32_DirectWriteTypeface.cpp"; sourceTree = "SOURCE_ROOT"; };
D87FC8F6834E9DC9C8E88B94 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_JustificationProperty.h"; path = "../../Source/ComponentEditor/properties/jucer_JustificationProperty.h"; sourceTree = "SOURCE_ROOT"; };
D92A6E9404A30EED32DCE4ED = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_RelativePositionedRectangle.h"; path = "../../Source/ComponentEditor/ui/jucer_RelativePositionedRectangle.h"; sourceTree = "SOURCE_ROOT"; };
D9342535EA61901A1AD816C6 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_WebBrowserComponent.cpp"; path = "../../../../modules/juce_gui_extra/native/juce_linux_WebBrowserComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
D95D7B49EC6C6BDCB5A1B988 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_ios_MessageManager.mm"; path = "../../../../modules/juce_events/native/juce_ios_MessageManager.mm"; sourceTree = "SOURCE_ROOT"; };
D9E59DE07A815AB303A297D9 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_data_structures.mm"; path = "../../../../modules/juce_data_structures/juce_data_structures.mm"; sourceTree = "SOURCE_ROOT"; };
DA345D5B9DABD049F90DC96F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_GeneratedCode.h"; path = "../../Source/ComponentEditor/jucer_GeneratedCode.h"; sourceTree = "SOURCE_ROOT"; };
DB20268A566DABEAE3F2CBEE = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_RectanglePlacement.cpp"; path = "../../../../modules/juce_graphics/placement/juce_RectanglePlacement.cpp"; sourceTree = "SOURCE_ROOT"; };
DB876F7873F42DC685A58CA7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_JPEGLoader.cpp"; path = "../../../../modules/juce_graphics/image_formats/juce_JPEGLoader.cpp"; sourceTree = "SOURCE_ROOT"; };
DC5E7FF30B01118F6DAEC38F = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Time.cpp"; path = "../../../../modules/juce_core/time/juce_Time.cpp"; sourceTree = "SOURCE_ROOT"; };
DC922C6A65D260C18E888E49 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "jucer_ComponentTemplate.cpp"; path = "../../Source/BinaryData/jucer_ComponentTemplate.cpp"; sourceTree = "SOURCE_ROOT"; };
DCCB75165B7C73A589498E87 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_Windowing.cpp"; path = "../../../../modules/juce_gui_basics/native/juce_linux_Windowing.cpp"; sourceTree = "SOURCE_ROOT"; };
DD00494140C86144306A9356 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Array.h"; path = "../../../../modules/juce_core/containers/juce_Array.h"; sourceTree = "SOURCE_ROOT"; };
DD985A60FB76E976AF91852D = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_SHA256.h"; path = "../../../../modules/juce_cryptography/hashing/juce_SHA256.h"; sourceTree = "SOURCE_ROOT"; };
DE40B42B57F29C650CB7F2AD = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_RecentlyOpenedFilesList.h"; path = "../../../../modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h"; sourceTree = "SOURCE_ROOT"; };
DE5F3C9EF6BFFDE73AF9E7FC = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_DirectoryContentsDisplayComponent.cpp"; path = "../../../../modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
DE8DF5D263F40F65581CFDE4 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ChildProcess.cpp"; path = "../../../../modules/juce_core/threads/juce_ChildProcess.cpp"; sourceTree = "SOURCE_ROOT"; };
DEF579B1433EB8DEE7AB50F8 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Drawable.cpp"; path = "../../../../modules/juce_gui_basics/drawables/juce_Drawable.cpp"; sourceTree = "SOURCE_ROOT"; };
DF725A596B7BCD7520CC0A9F = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "jucer_ResourceEditorPanel.cpp"; path = "../../Source/ComponentEditor/ui/jucer_ResourceEditorPanel.cpp"; sourceTree = "SOURCE_ROOT"; };
DF7BB5B6B394EDEEF5F5B4B8 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_CallbackMessage.h"; path = "../../../../modules/juce_events/messages/juce_CallbackMessage.h"; sourceTree = "SOURCE_ROOT"; };
DFC6364D81D9C60BD4CA9D12 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_RelativeTime.cpp"; path = "../../../../modules/juce_core/time/juce_RelativeTime.cpp"; sourceTree = "SOURCE_ROOT"; };
E07C56267CBB46FC44EF2026 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Image.cpp"; path = "../../../../modules/juce_graphics/images/juce_Image.cpp"; sourceTree = "SOURCE_ROOT"; };
E19160CF7208320D128786CF = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Javascript.h"; path = "../../../../modules/juce_core/javascript/juce_Javascript.h"; sourceTree = "SOURCE_ROOT"; };
E1C16C872E34BCB144B469F9 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_EdgeTable.h"; path = "../../../../modules/juce_graphics/geometry/juce_EdgeTable.h"; sourceTree = "SOURCE_ROOT"; };
E2374E15D65425C4101237E2 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "jucer_NewComponentTemplate.h"; path = "../../Source/BinaryData/jucer_NewComponentTemplate.h"; sourceTree = "SOURCE_ROOT"; };
@@ -1121,6 +1122,7 @@
225414095942818432AAE07D,
BF171B0762D5550B797869F2,
D7A7F1AA9F313B0CCAAA73A0,
265CA78BFB9DEF68B34C57D4,
988186E582883A70582A40E1,
C68355AA4D62939EECAD469E,
B368804F75C1079C9DE731E3, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/Introjucer/Builds/VisualStudio2005/The Introjucer.vcproj View File

@@ -645,6 +645,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
extras/Introjucer/Builds/VisualStudio2008/The Introjucer.vcproj View File

@@ -645,6 +645,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
extras/Introjucer/Builds/VisualStudio2010/The Introjucer.vcxproj View File

@@ -1162,6 +1162,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Introjucer/Builds/VisualStudio2010/The Introjucer.vcxproj.filters View File

@@ -1707,6 +1707,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 1
- 0
extras/Introjucer/Builds/VisualStudio2012/The Introjucer.vcxproj View File

@@ -1168,6 +1168,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Introjucer/Builds/VisualStudio2012/The Introjucer.vcxproj.filters View File

@@ -1707,6 +1707,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 1
- 0
extras/Introjucer/Builds/VisualStudio2013/The Introjucer.vcxproj View File

@@ -1168,6 +1168,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/Introjucer/Builds/VisualStudio2013/The Introjucer.vcxproj.filters View File

@@ -1707,6 +1707,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 3
- 1
extras/audio plugin demo/Builds/MacOSX/JuceDemoPlugin.xcodeproj/project.pbxproj View File

@@ -453,6 +453,7 @@
6EC7B55CE9A1E68A89CED63D = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ResizableCornerComponent.h"; path = "../../../../modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h"; sourceTree = "SOURCE_ROOT"; };
6EDD3878142839D368B64F31 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = AUEffectBase.h; path = Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUEffectBase.h; sourceTree = "DEVELOPER_DIR"; };
6F381D0C54E869B237830DC7 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_CodeDocument.cpp"; path = "../../../../modules/juce_gui_extra/code_editor/juce_CodeDocument.cpp"; sourceTree = "SOURCE_ROOT"; };
6F3D3E06535036A4B1779FDD = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
6F80E669C5CD62B01B4047A0 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Button.cpp"; path = "../../../../modules/juce_gui_basics/buttons/juce_Button.cpp"; sourceTree = "SOURCE_ROOT"; };
6FFE3D9DADC166B95D739887 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ImagePreviewComponent.cpp"; path = "../../../../modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
704A1428992F4CA4A606E2B2 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Desktop.h"; path = "../../../../modules/juce_gui_basics/components/juce_Desktop.h"; sourceTree = "SOURCE_ROOT"; };
@@ -665,7 +666,6 @@
AAA122282581E6425F5D9405 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_OggVorbisAudioFormat.cpp"; path = "../../../../modules/juce_audio_formats/codecs/juce_OggVorbisAudioFormat.cpp"; sourceTree = "SOURCE_ROOT"; };
AB0E8347C9AC7E4A861C0252 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_IIRFilterAudioSource.h"; path = "../../../../modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h"; sourceTree = "SOURCE_ROOT"; };
AB7726FF34DB2E7FA75ECC19 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_ToolbarItemComponent.cpp"; path = "../../../../modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
AB7BCFBC4B2CB784F57A0FBC = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = AUInputFormatConverter.h; path = Extras/CoreAudio/AudioUnits/AUPublic/Utility/AUInputFormatConverter.h; sourceTree = "DEVELOPER_DIR"; };
AB87317D90A518C8A886EE9D = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_AudioDeviceSelectorComponent.h"; path = "../../../../modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.h"; sourceTree = "SOURCE_ROOT"; };
ABC394D5E03B690404E80E1E = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = "juce_mac_MessageManager.mm"; path = "../../../../modules/juce_events/native/juce_mac_MessageManager.mm"; sourceTree = "SOURCE_ROOT"; };
ABCB715245090A15092108D5 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_AudioDeviceManager.h"; path = "../../../../modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h"; sourceTree = "SOURCE_ROOT"; };
@@ -690,6 +690,7 @@
AA012A21BE3049C205D4A44A = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_AudioCDReader.cpp"; path = "../../../../modules/juce_audio_devices/native/juce_win32_AudioCDReader.cpp"; sourceTree = "SOURCE_ROOT"; };
AAEC41BFA57E45EBF94ED3C1 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_DrawableImage.cpp"; path = "../../../../modules/juce_gui_basics/drawables/juce_DrawableImage.cpp"; sourceTree = "SOURCE_ROOT"; };
AB10327C69AAE4AACCFC81EB = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_DrawableText.cpp"; path = "../../../../modules/juce_gui_basics/drawables/juce_DrawableText.cpp"; sourceTree = "SOURCE_ROOT"; };
AB7BCFBC4B2CB784F57A0FBC = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = AUInputFormatConverter.h; path = Extras/CoreAudio/AudioUnits/AUPublic/Utility/AUInputFormatConverter.h; sourceTree = "DEVELOPER_DIR"; };
AB9AD07EF899B75AC4CF01DA = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = CAMutex.h; path = Extras/CoreAudio/PublicUtility/CAMutex.h; sourceTree = "DEVELOPER_DIR"; };
AC5452F5122E3A4B670B5185 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_AudioThumbnail.h"; path = "../../../../modules/juce_audio_utils/gui/juce_AudioThumbnail.h"; sourceTree = "SOURCE_ROOT"; };
ACC4E765AD4BF1D025FB4E83 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_Network.cpp"; path = "../../../../modules/juce_core/native/juce_linux_Network.cpp"; sourceTree = "SOURCE_ROOT"; };
@@ -1250,6 +1251,7 @@
8679C1E8886DA7A3F4DE2B54,
428A63EBD85C3438EF016787,
002643D66417E4FFF5CC516A,
6F3D3E06535036A4B1779FDD,
FC86721DEC71B944CA1E6713,
266658E487644AA71E02E85E,
DCC99A76773B6C721B867379, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj View File

@@ -1252,6 +1252,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj View File

@@ -1252,6 +1252,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
extras/audio plugin demo/Builds/VisualStudio2010/JuceDemoPlugin.vcxproj View File

@@ -1319,6 +1319,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/audio plugin demo/Builds/VisualStudio2010/JuceDemoPlugin.vcxproj.filters View File

@@ -1818,6 +1818,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 2
- 0
extras/audio plugin host/Builds/MacOSX/Plugin Host.xcodeproj/project.pbxproj View File

@@ -136,6 +136,7 @@
1A4E5F9889282918D91F7262 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_FileOutputStream.cpp"; path = "../../../../modules/juce_core/files/juce_FileOutputStream.cpp"; sourceTree = "SOURCE_ROOT"; };
1A59F393DEB3E9E1132EAF51 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_win32_DirectShowComponent.cpp"; path = "../../../../modules/juce_video/native/juce_win32_DirectShowComponent.cpp"; sourceTree = "SOURCE_ROOT"; };
1A5B591DE330EB440C2871E1 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_AlertWindow.h"; path = "../../../../modules/juce_gui_basics/windows/juce_AlertWindow.h"; sourceTree = "SOURCE_ROOT"; };
1ADCEA9B6A82A41D7D95CB2F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
1B0596982B3039E793262901 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_QuickTimeMovieComponent.h"; path = "../../../../modules/juce_video/playback/juce_QuickTimeMovieComponent.h"; sourceTree = "SOURCE_ROOT"; };
1B34607F0F916F899F3EFDD5 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_StretchableLayoutManager.cpp"; path = "../../../../modules/juce_gui_basics/layout/juce_StretchableLayoutManager.cpp"; sourceTree = "SOURCE_ROOT"; };
1B383850C7E72C0FA5644C3F = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ChangeListener.h"; path = "../../../../modules/juce_events/broadcasters/juce_ChangeListener.h"; sourceTree = "SOURCE_ROOT"; };
@@ -1180,6 +1181,7 @@
B454943748D0748AAF53A06F,
AA668D8E33AD917D7DFC70E2,
019F11A3E089B1C82CA1B0E6,
1ADCEA9B6A82A41D7D95CB2F,
7212B20D3521AA3B9C1F544F,
1E9F515675116BDE81543FA0,
E47E7E5220482A860A16C572, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/audio plugin host/Builds/VisualStudio2010/Plugin Host.vcxproj View File

@@ -1345,6 +1345,7 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_BigInteger.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Range.h"/>
<ClInclude Include="..\..\..\..\modules\juce_core\memory\juce_Atomic.h"/>


+ 3
- 0
extras/audio plugin host/Builds/VisualStudio2010/Plugin Host.vcxproj.filters View File

@@ -1842,6 +1842,9 @@
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\modules\juce_core\maths\juce_Random.h">
<Filter>Juce Modules\juce_core\maths</Filter>
</ClInclude>


+ 2
- 0
extras/binarybuilder/Builds/MacOSX/BinaryBuilder.xcodeproj/project.pbxproj View File

@@ -87,6 +87,7 @@
7A3C09708298D46165683E16 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_CharacterFunctions.cpp"; path = "../../../../modules/juce_core/text/juce_CharacterFunctions.cpp"; sourceTree = "SOURCE_ROOT"; };
7A60B4E6FFE3B442F7F1CDAF = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_CharPointer_UTF8.h"; path = "../../../../modules/juce_core/text/juce_CharPointer_UTF8.h"; sourceTree = "SOURCE_ROOT"; };
7AE1D8A76F034A1301E67787 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Random.h"; path = "../../../../modules/juce_core/maths/juce_Random.h"; sourceTree = "SOURCE_ROOT"; };
7BB10044C06DFCCCB324A456 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
7D61DCF5B5ACF26E9EE4AB93 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_Javascript.cpp"; path = "../../../../modules/juce_core/javascript/juce_Javascript.cpp"; sourceTree = "SOURCE_ROOT"; };
7D8461FFE338A88B9155511F = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_linux_Files.cpp"; path = "../../../../modules/juce_core/native/juce_linux_Files.cpp"; sourceTree = "SOURCE_ROOT"; };
7E86227B01E504302C234A04 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = AppConfig.h; path = ../../JuceLibraryCode/AppConfig.h; sourceTree = "SOURCE_ROOT"; };
@@ -244,6 +245,7 @@
8CA5DE757A9A2C0E9A0AD4E3,
4042914A2C20C08F89D097B1,
7926561B941987F152AD6A1A,
7BB10044C06DFCCCB324A456,
A7DE490D33B954B41BFE9EAB,
7AE1D8A76F034A1301E67787,
22F1E16DF7F08080FA90C783, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/binarybuilder/Builds/VisualStudio2008/BinaryBuilder.vcproj View File

@@ -253,6 +253,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 2
- 0
extras/example projects/Builds/MacOSX/HelloWorld.xcodeproj/project.pbxproj View File

@@ -50,6 +50,7 @@
09A3E1630BFC67C63AFEDE3A = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Memory.h"; path = "../../../../modules/juce_core/memory/juce_Memory.h"; sourceTree = "SOURCE_ROOT"; };
0A421597B03EA9CA355D8BD1 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_NamedPipe.cpp"; path = "../../../../modules/juce_core/network/juce_NamedPipe.cpp"; sourceTree = "SOURCE_ROOT"; };
0A82B6536AC2C02E099AB0AB = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ShapeButton.h"; path = "../../../../modules/juce_gui_basics/buttons/juce_ShapeButton.h"; sourceTree = "SOURCE_ROOT"; };
0B62C1B2DFE2EE1C8E1EB5B6 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
0B92355966B36E2B913BC8EE = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_MemoryBlock.h"; path = "../../../../modules/juce_core/memory/juce_MemoryBlock.h"; sourceTree = "SOURCE_ROOT"; };
0C1C8C5879770EF4E8824EF3 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Button.h"; path = "../../../../modules/juce_gui_basics/buttons/juce_Button.h"; sourceTree = "SOURCE_ROOT"; };
0C36123881F7A4B6A144F272 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_UnitTest.h"; path = "../../../../modules/juce_core/unit_tests/juce_UnitTest.h"; sourceTree = "SOURCE_ROOT"; };
@@ -700,6 +701,7 @@
403E7E9949CFE8BD73DDD909,
AB625562B978102C10FD5311,
39F7F5DC827150D2E57F1DBF,
0B62C1B2DFE2EE1C8E1EB5B6,
26341A8D55A799AC0ED8B33F,
38E5FF4A3CBEA8C42D9F14CD,
F83EC8D59072A524F5DA56B0, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/example projects/Builds/VisualStudio2005/HelloWorld.vcproj View File

@@ -255,6 +255,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
extras/example projects/Builds/VisualStudio2008/HelloWorld.vcproj View File

@@ -255,6 +255,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 2
- 0
extras/example projects/Builds/iOS/HelloWorld.xcodeproj/project.pbxproj View File

@@ -51,6 +51,7 @@
09A3E1630BFC67C63AFEDE3A = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Memory.h"; path = "../../../../modules/juce_core/memory/juce_Memory.h"; sourceTree = "SOURCE_ROOT"; };
0A421597B03EA9CA355D8BD1 = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = "juce_NamedPipe.cpp"; path = "../../../../modules/juce_core/network/juce_NamedPipe.cpp"; sourceTree = "SOURCE_ROOT"; };
0A82B6536AC2C02E099AB0AB = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_ShapeButton.h"; path = "../../../../modules/juce_gui_basics/buttons/juce_ShapeButton.h"; sourceTree = "SOURCE_ROOT"; };
0B62C1B2DFE2EE1C8E1EB5B6 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_NormalisableRange.h"; path = "../../../../modules/juce_core/maths/juce_NormalisableRange.h"; sourceTree = "SOURCE_ROOT"; };
0B92355966B36E2B913BC8EE = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_MemoryBlock.h"; path = "../../../../modules/juce_core/memory/juce_MemoryBlock.h"; sourceTree = "SOURCE_ROOT"; };
0C1C8C5879770EF4E8824EF3 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_Button.h"; path = "../../../../modules/juce_gui_basics/buttons/juce_Button.h"; sourceTree = "SOURCE_ROOT"; };
0C36123881F7A4B6A144F272 = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "juce_UnitTest.h"; path = "../../../../modules/juce_core/unit_tests/juce_UnitTest.h"; sourceTree = "SOURCE_ROOT"; };
@@ -700,6 +701,7 @@
403E7E9949CFE8BD73DDD909,
AB625562B978102C10FD5311,
39F7F5DC827150D2E57F1DBF,
0B62C1B2DFE2EE1C8E1EB5B6,
26341A8D55A799AC0ED8B33F,
38E5FF4A3CBEA8C42D9F14CD,
F83EC8D59072A524F5DA56B0, ); name = maths; sourceTree = "<group>"; };


+ 1
- 0
extras/windows dll/Builds/VisualStudio2008/juce_dll.vcproj View File

@@ -1175,6 +1175,7 @@
</File>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Expression.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_MathsFunctions.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_NormalisableRange.h"/>
<File RelativePath="..\..\..\..\modules\juce_core\maths\juce_Random.cpp">
<FileConfiguration Name="Debug|Win32"
ExcludedFromBuild="true">


+ 1
- 0
modules/juce_core/juce_core.h View File

@@ -194,6 +194,7 @@ extern JUCE_API void JUCE_CALLTYPE logAssertion (const char* file, int line) noe
#include "threads/juce_ScopedLock.h"
#include "threads/juce_CriticalSection.h"
#include "maths/juce_Range.h"
#include "maths/juce_NormalisableRange.h"
#include "containers/juce_ElementComparator.h"
#include "containers/juce_ArrayAllocationBase.h"
#include "containers/juce_Array.h"


+ 169
- 0
modules/juce_core/maths/juce_NormalisableRange.h View File

@@ -0,0 +1,169 @@
/*
==============================================================================
This file is part of the juce_core module of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission to use, copy, modify, and/or distribute this software for any purpose with
or without fee is hereby granted, provided that the above copyright notice and this
permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN
NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
------------------------------------------------------------------------------
NOTE! This permissive ISC license applies ONLY to files within the juce_core module!
All other JUCE modules are covered by a dual GPL/commercial license, so if you are
using any other modules, be sure to check that you also comply with their license.
For more details, visit www.juce.com
==============================================================================
*/
#ifndef JUCE_NORMALISABLERANGE_H_INCLUDED
#define JUCE_NORMALISABLERANGE_H_INCLUDED
//==============================================================================
/**
Represents a mapping between an arbitrary range of values and a
normalised 0->1 range.
The properties of the mapping also include an optional snapping interval
and skew-factor.
@see Range
*/
template<typename ValueType>
class NormalisableRange
{
public:
/** Creates a continuous range that performs a dummy mapping. */
NormalisableRange() noexcept : start(), end (1), interval(), skew (static_cast<ValueType> (1)) {}
/** Creates a copy of another range. */
NormalisableRange (const NormalisableRange& other) noexcept
: start (other.start), end (other.end),
interval (other.interval), skew (other.skew)
{
checkInvariants();
}
/** Creates a copy of another range. */
NormalisableRange& operator= (const NormalisableRange& other) noexcept
{
start = other.start;
end = other.end;
interval = other.interval;
skew = other.skew;
checkInvariants();
return *this;
}
/** Creates a NormalisableRange with a given range, interval and skew factor. */
NormalisableRange (ValueType rangeStart,
ValueType rangeEnd,
ValueType intervalValue,
ValueType skewFactor) noexcept
: start (rangeStart), end (rangeEnd),
interval (intervalValue), skew (skewFactor)
{
checkInvariants();
}
/** Creates a NormalisableRange with a given range and interval, but a dummy skew-factor. */
NormalisableRange (ValueType rangeStart,
ValueType rangeEnd,
ValueType intervalValue) noexcept
: start (rangeStart), end (rangeEnd),
interval (intervalValue), skew (static_cast<ValueType> (1))
{
checkInvariants();
}
/** Creates a NormalisableRange with a given range, continuous interval, but a dummy skew-factor. */
NormalisableRange (ValueType rangeStart,
ValueType rangeEnd) noexcept
: start (rangeStart), end (rangeEnd),
interval(), skew (static_cast<ValueType> (1))
{
checkInvariants();
}
/** Uses the properties of this mapping to convert a non-normalised value to
its 0->1 representation.
*/
ValueType convertTo0to1 (ValueType v) const noexcept
{
ValueType proportion = (v - start) / (end - start);
if (skew != static_cast<ValueType> (1))
proportion = pow (proportion, skew);
return proportion;
}
/** Uses the properties of this mapping to convert a normalised 0->1 value to
its full-range representation.
*/
ValueType convertFrom0to1 (ValueType proportion) const noexcept
{
if (skew != static_cast<ValueType> (1) && proportion > ValueType())
proportion = exp (log (proportion) / skew);
return start + (end - start) * proportion;
}
/** Takes a non-normalised value and snaps it based on the interval property of
this NormalisedRange. */
ValueType snapToLegalValue (ValueType v) const noexcept
{
if (interval > ValueType())
v = start + interval * std::floor ((v - start) / interval + static_cast<ValueType> (0.5));
if (v <= start || end <= start)
return start;
if (v >= end)
return end;
return v;
}
/** The start of the non-normalised range. */
ValueType start;
/** The end of the non-normalised range. */
ValueType end;
/** The snapping interval that should be used (in non-normalised value). Use 0 for a continuous range. */
ValueType interval;
/** An optional skew factor that alters the way values are distribute across the range.
The skew factor lets you skew the mapping logarithmically so that larger or smaller
values are given a larger proportion of the avilable space.
A factor of 1.0 has no skewing effect at all. If the factor is < 1.0, the lower end
of the range will fill more of the slider's length; if the factor is > 1.0, the upper
end of the range will be expanded.
*/
ValueType skew;
private:
void checkInvariants() const
{
jassert (end > start);
jassert (interval >= ValueType());
jassert (skew > ValueType());
}
};
#endif // JUCE_NORMALISABLERANGE_H_INCLUDED

Loading…
Cancel
Save