From 1035f2f35c42d75144551a01c8944750a046356a Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 8 Oct 2022 21:22:38 +0100 Subject: [PATCH] added project, added some base files, updated thoughts --- .../project.pbxproj | 389 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 +++ .../Assets.xcassets/Contents.json | 6 + .../SoundpoolBrowser/ContentView.swift | 26 ++ .../SoundpoolBrowser/Models/Brain.swift | 13 + .../SoundpoolBrowser/Models/Genre.swift | 20 + .../Models/HarmonyTable.swift | 8 + .../SoundpoolBrowser/Models/Instrument.swift | 18 + .../SoundpoolBrowser/Models/Scale.swift | 28 ++ .../Preview Assets.xcassets/Contents.json | 6 + .../SoundpoolBrowser.entitlements | 10 + .../SoundpoolBrowserApp.swift | 17 + .../SoundpoolBrowser/Utils/FileScanner.swift | 8 + notes/layout.txt | 2 +- notes/thoughts.txt | 5 +- 18 files changed, 638 insertions(+), 2 deletions(-) create mode 100644 SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.pbxproj create mode 100644 SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/Contents.json create mode 100644 SoundpoolBrowser/SoundpoolBrowser/ContentView.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Models/Brain.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Models/Genre.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Models/HarmonyTable.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Models/Instrument.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Models/Scale.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowser.entitlements create mode 100644 SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowserApp.swift create mode 100644 SoundpoolBrowser/SoundpoolBrowser/Utils/FileScanner.swift diff --git a/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.pbxproj b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7eb4326 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.pbxproj @@ -0,0 +1,389 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + E2D9A8DB28F20AF200519159 /* SoundpoolBrowserApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8DA28F20AF200519159 /* SoundpoolBrowserApp.swift */; }; + E2D9A8DD28F20AF200519159 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8DC28F20AF200519159 /* ContentView.swift */; }; + E2D9A8DF28F20AF300519159 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E2D9A8DE28F20AF300519159 /* Assets.xcassets */; }; + E2D9A8E228F20AF300519159 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E2D9A8E128F20AF300519159 /* Preview Assets.xcassets */; }; + E2D9A8EC28F20CF200519159 /* Genre.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8EB28F20CF200519159 /* Genre.swift */; }; + E2D9A8EE28F20D3B00519159 /* HarmonyTable.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8ED28F20D3B00519159 /* HarmonyTable.swift */; }; + E2D9A8F028F20D5300519159 /* Instrument.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8EF28F20D5300519159 /* Instrument.swift */; }; + E2D9A8F228F20DF500519159 /* Scale.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8F128F20DF500519159 /* Scale.swift */; }; + E2D9A8F628F2104C00519159 /* FileScanner.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8F528F2104C00519159 /* FileScanner.swift */; }; + E2D9A8F828F2118D00519159 /* Brain.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D9A8F728F2118D00519159 /* Brain.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + E2D9A8D728F20AF200519159 /* SoundpoolBrowser.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SoundpoolBrowser.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E2D9A8DA28F20AF200519159 /* SoundpoolBrowserApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SoundpoolBrowserApp.swift; sourceTree = ""; }; + E2D9A8DC28F20AF200519159 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + E2D9A8DE28F20AF300519159 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E2D9A8E128F20AF300519159 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + E2D9A8E328F20AF300519159 /* SoundpoolBrowser.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SoundpoolBrowser.entitlements; sourceTree = ""; }; + E2D9A8EB28F20CF200519159 /* Genre.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Genre.swift; sourceTree = ""; }; + E2D9A8ED28F20D3B00519159 /* HarmonyTable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HarmonyTable.swift; sourceTree = ""; }; + E2D9A8EF28F20D5300519159 /* Instrument.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Instrument.swift; sourceTree = ""; }; + E2D9A8F128F20DF500519159 /* Scale.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Scale.swift; sourceTree = ""; }; + E2D9A8F528F2104C00519159 /* FileScanner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileScanner.swift; sourceTree = ""; }; + E2D9A8F728F2118D00519159 /* Brain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Brain.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E2D9A8D428F20AF200519159 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E2D9A8CE28F20AF200519159 = { + isa = PBXGroup; + children = ( + E2D9A8D928F20AF200519159 /* SoundpoolBrowser */, + E2D9A8D828F20AF200519159 /* Products */, + ); + sourceTree = ""; + }; + E2D9A8D828F20AF200519159 /* Products */ = { + isa = PBXGroup; + children = ( + E2D9A8D728F20AF200519159 /* SoundpoolBrowser.app */, + ); + name = Products; + sourceTree = ""; + }; + E2D9A8D928F20AF200519159 /* SoundpoolBrowser */ = { + isa = PBXGroup; + children = ( + E2D9A8F428F2103300519159 /* Utils */, + E2D9A8EA28F20BD600519159 /* UI */, + E2D9A8E928F20BB300519159 /* Models */, + E2D9A8DA28F20AF200519159 /* SoundpoolBrowserApp.swift */, + E2D9A8DC28F20AF200519159 /* ContentView.swift */, + E2D9A8DE28F20AF300519159 /* Assets.xcassets */, + E2D9A8E328F20AF300519159 /* SoundpoolBrowser.entitlements */, + E2D9A8E028F20AF300519159 /* Preview Content */, + ); + path = SoundpoolBrowser; + sourceTree = ""; + }; + E2D9A8E028F20AF300519159 /* Preview Content */ = { + isa = PBXGroup; + children = ( + E2D9A8E128F20AF300519159 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + E2D9A8E928F20BB300519159 /* Models */ = { + isa = PBXGroup; + children = ( + E2D9A8EB28F20CF200519159 /* Genre.swift */, + E2D9A8ED28F20D3B00519159 /* HarmonyTable.swift */, + E2D9A8EF28F20D5300519159 /* Instrument.swift */, + E2D9A8F128F20DF500519159 /* Scale.swift */, + E2D9A8F728F2118D00519159 /* Brain.swift */, + ); + path = Models; + sourceTree = ""; + }; + E2D9A8EA28F20BD600519159 /* UI */ = { + isa = PBXGroup; + children = ( + ); + path = UI; + sourceTree = ""; + }; + E2D9A8F428F2103300519159 /* Utils */ = { + isa = PBXGroup; + children = ( + E2D9A8F528F2104C00519159 /* FileScanner.swift */, + ); + path = Utils; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E2D9A8D628F20AF200519159 /* SoundpoolBrowser */ = { + isa = PBXNativeTarget; + buildConfigurationList = E2D9A8E628F20AF300519159 /* Build configuration list for PBXNativeTarget "SoundpoolBrowser" */; + buildPhases = ( + E2D9A8D328F20AF200519159 /* Sources */, + E2D9A8D428F20AF200519159 /* Frameworks */, + E2D9A8D528F20AF200519159 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SoundpoolBrowser; + productName = SoundpoolBrowser; + productReference = E2D9A8D728F20AF200519159 /* SoundpoolBrowser.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E2D9A8CF28F20AF200519159 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1410; + LastUpgradeCheck = 1410; + TargetAttributes = { + E2D9A8D628F20AF200519159 = { + CreatedOnToolsVersion = 14.1; + }; + }; + }; + buildConfigurationList = E2D9A8D228F20AF200519159 /* Build configuration list for PBXProject "SoundpoolBrowser" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E2D9A8CE28F20AF200519159; + productRefGroup = E2D9A8D828F20AF200519159 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E2D9A8D628F20AF200519159 /* SoundpoolBrowser */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E2D9A8D528F20AF200519159 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2D9A8E228F20AF300519159 /* Preview Assets.xcassets in Resources */, + E2D9A8DF28F20AF300519159 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E2D9A8D328F20AF200519159 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E2D9A8F028F20D5300519159 /* Instrument.swift in Sources */, + E2D9A8EC28F20CF200519159 /* Genre.swift in Sources */, + E2D9A8F828F2118D00519159 /* Brain.swift in Sources */, + E2D9A8DD28F20AF200519159 /* ContentView.swift in Sources */, + E2D9A8DB28F20AF200519159 /* SoundpoolBrowserApp.swift in Sources */, + E2D9A8F628F2104C00519159 /* FileScanner.swift in Sources */, + E2D9A8F228F20DF500519159 /* Scale.swift in Sources */, + E2D9A8EE28F20D3B00519159 /* HarmonyTable.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + E2D9A8E428F20AF300519159 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + E2D9A8E528F20AF300519159 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + E2D9A8E728F20AF300519159 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = SoundpoolBrowser/SoundpoolBrowser.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"SoundpoolBrowser/Preview Content\""; + DEVELOPMENT_TEAM = VE7YM5VVJB; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = net.tarasis.SoundpoolBrowser; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + E2D9A8E828F20AF300519159 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = SoundpoolBrowser/SoundpoolBrowser.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"SoundpoolBrowser/Preview Content\""; + DEVELOPMENT_TEAM = VE7YM5VVJB; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = net.tarasis.SoundpoolBrowser; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E2D9A8D228F20AF200519159 /* Build configuration list for PBXProject "SoundpoolBrowser" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2D9A8E428F20AF300519159 /* Debug */, + E2D9A8E528F20AF300519159 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E2D9A8E628F20AF300519159 /* Build configuration list for PBXNativeTarget "SoundpoolBrowser" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E2D9A8E728F20AF300519159 /* Debug */, + E2D9A8E828F20AF300519159 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E2D9A8CF28F20AF200519159 /* Project object */; +} diff --git a/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AccentColor.colorset/Contents.json b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/Contents.json b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/ContentView.swift b/SoundpoolBrowser/SoundpoolBrowser/ContentView.swift new file mode 100644 index 0000000..e300d61 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/Models/Brain.swift b/SoundpoolBrowser/SoundpoolBrowser/Models/Brain.swift new file mode 100644 index 0000000..b925c47 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Models/Brain.swift @@ -0,0 +1,13 @@ +// +// Brain.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import SwiftUI + +class Brain: ObservableObject { + +} + diff --git a/SoundpoolBrowser/SoundpoolBrowser/Models/Genre.swift b/SoundpoolBrowser/SoundpoolBrowser/Models/Genre.swift new file mode 100644 index 0000000..2b3a34a --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Models/Genre.swift @@ -0,0 +1,20 @@ +// +// Genre.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import Foundation + +/* + Genre + String: name + volume: number + tempo: number + scale: note enum (a-G) + sample[number: note] + liked: bool + date liked: date + date scanned: date + */ diff --git a/SoundpoolBrowser/SoundpoolBrowser/Models/HarmonyTable.swift b/SoundpoolBrowser/SoundpoolBrowser/Models/HarmonyTable.swift new file mode 100644 index 0000000..8b32bc2 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Models/HarmonyTable.swift @@ -0,0 +1,8 @@ +// +// HarmonyTable.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import Foundation diff --git a/SoundpoolBrowser/SoundpoolBrowser/Models/Instrument.swift b/SoundpoolBrowser/SoundpoolBrowser/Models/Instrument.swift new file mode 100644 index 0000000..85fb848 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Models/Instrument.swift @@ -0,0 +1,18 @@ +// +// Instrument.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import Foundation + +/* + Instrument: + name: string (all text, minus number) + number: number (ties to sample) + location: string (file path) + liked: bool + date liked: date + length: number (seconds) + */ diff --git a/SoundpoolBrowser/SoundpoolBrowser/Models/Scale.swift b/SoundpoolBrowser/SoundpoolBrowser/Models/Scale.swift new file mode 100644 index 0000000..ecfa805 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Models/Scale.swift @@ -0,0 +1,28 @@ +// +// Scale.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import Foundation + +/* + Sample1=a + Sample2=B + Sample3=C + Sample4=d + Sample5=e + Sample6=F + Sample7=G + */ + +enum Scale : Character { + case a = "a" + case B = "B" + case C = "C" + case d = "d" + case e = "e" + case F = "F" + case G = "G" +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/Preview Content/Preview Assets.xcassets/Contents.json b/SoundpoolBrowser/SoundpoolBrowser/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowser.entitlements b/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowser.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowser.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowserApp.swift b/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowserApp.swift new file mode 100644 index 0000000..5398a8b --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/SoundpoolBrowserApp.swift @@ -0,0 +1,17 @@ +// +// SoundpoolBrowserApp.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import SwiftUI + +@main +struct SoundpoolBrowserApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/SoundpoolBrowser/SoundpoolBrowser/Utils/FileScanner.swift b/SoundpoolBrowser/SoundpoolBrowser/Utils/FileScanner.swift new file mode 100644 index 0000000..67d1243 --- /dev/null +++ b/SoundpoolBrowser/SoundpoolBrowser/Utils/FileScanner.swift @@ -0,0 +1,8 @@ +// +// FileScanner.swift +// SoundpoolBrowser +// +// Created by Robert McGovern on 08/10/2022. +// + +import Foundation diff --git a/notes/layout.txt b/notes/layout.txt index b7fd342..64a367c 100644 --- a/notes/layout.txt +++ b/notes/layout.txt @@ -27,5 +27,5 @@ Genre Instrument: scale: note enum (a-G) liked: bool sample[number: note] date liked: date liked: bool length: number (seconds) - date liked: date + date liked: date scale: note enum date scanned: date \ No newline at end of file diff --git a/notes/thoughts.txt b/notes/thoughts.txt index 2e94a4a..852231d 100644 --- a/notes/thoughts.txt +++ b/notes/thoughts.txt @@ -1,4 +1,7 @@ 1) try and identify what the k_ w_ o_ on some files mean, if can't then simply strip them off 2) scan folder for genres, then spin of threads to scan instruments, then tracks 3) browser should provide filter down by default of genre, optional filter trackname -4) ... \ No newline at end of file +4) ... + +--- +