shithub: leaf

Download patch

ref: 5d657f0156b1e5048ab1887b3e86e4333f463a9d
parent: 5dc1c25ada0573ffc2edaa67994ef69a68ee7aad
author: Matthew Wang <mjw7@princeton.edu>
date: Thu May 28 06:44:04 EDT 2020

use leaf as a juce module for testing; remove unneeded juce code

diff: cannot open a/LEAF_JUCEPlugin/JuceLibraryCode//null: file does not exist: 'a/LEAF_JUCEPlugin/JuceLibraryCode//null'
--- a/.gitignore
+++ b/.gitignore
@@ -9,4 +9,5 @@
 *.zip
 *.swp
 */Builds
+*/JuceLibraryCode
 doxygen
--- a/LEAF_JUCEPlugin/JuceLibraryCode/AppConfig.h
+++ /dev/null
@@ -1,483 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-    There's a section below where you can add your own custom code safely, and the
-    Projucer will preserve the contents of that block, but the best way to change
-    any of these definitions is by using the Projucer's project settings.
-
-    Any commented-out settings will assume their default values.
-
-*/
-
-#pragma once
-
-//==============================================================================
-// [BEGIN_USER_CODE_SECTION]
-
-// (You can add your own code in this section, and the Projucer will not overwrite it)
-
-// [END_USER_CODE_SECTION]
-
-/*
-  ==============================================================================
-
-   In accordance with the terms of the JUCE 5 End-Use License Agreement, the
-   JUCE Code in SECTION A cannot be removed, changed or otherwise rendered
-   ineffective unless you have a JUCE Indie or Pro license, or are using JUCE
-   under the GPL v3 license.
-
-   End User License Agreement: www.juce.com/juce-5-licence
-
-  ==============================================================================
-*/
-
-// BEGIN SECTION A
-
-#ifndef JUCE_DISPLAY_SPLASH_SCREEN
- #define JUCE_DISPLAY_SPLASH_SCREEN 1
-#endif
-
-#ifndef JUCE_REPORT_APP_USAGE
- #define JUCE_REPORT_APP_USAGE 1
-#endif
-
-// END SECTION A
-
-#define JUCE_USE_DARK_SPLASH_SCREEN 1
-
-#define JUCE_PROJUCER_VERSION 0x50407
-
-//==============================================================================
-#define JUCE_MODULE_AVAILABLE_juce_audio_basics             1
-#define JUCE_MODULE_AVAILABLE_juce_audio_devices            1
-#define JUCE_MODULE_AVAILABLE_juce_audio_formats            1
-#define JUCE_MODULE_AVAILABLE_juce_audio_plugin_client      1
-#define JUCE_MODULE_AVAILABLE_juce_audio_processors         1
-#define JUCE_MODULE_AVAILABLE_juce_audio_utils              1
-#define JUCE_MODULE_AVAILABLE_juce_core                     1
-#define JUCE_MODULE_AVAILABLE_juce_cryptography             1
-#define JUCE_MODULE_AVAILABLE_juce_data_structures          1
-#define JUCE_MODULE_AVAILABLE_juce_events                   1
-#define JUCE_MODULE_AVAILABLE_juce_graphics                 1
-#define JUCE_MODULE_AVAILABLE_juce_gui_basics               1
-#define JUCE_MODULE_AVAILABLE_juce_gui_extra                1
-#define JUCE_MODULE_AVAILABLE_juce_opengl                   1
-#define JUCE_MODULE_AVAILABLE_juce_video                    1
-
-#define JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED 1
-
-//==============================================================================
-// juce_audio_devices flags:
-
-#ifndef    JUCE_USE_WINRT_MIDI
- //#define JUCE_USE_WINRT_MIDI 0
-#endif
-
-#ifndef    JUCE_ASIO
- //#define JUCE_ASIO 0
-#endif
-
-#ifndef    JUCE_WASAPI
- //#define JUCE_WASAPI 1
-#endif
-
-#ifndef    JUCE_WASAPI_EXCLUSIVE
- //#define JUCE_WASAPI_EXCLUSIVE 0
-#endif
-
-#ifndef    JUCE_DIRECTSOUND
- //#define JUCE_DIRECTSOUND 1
-#endif
-
-#ifndef    JUCE_ALSA
- //#define JUCE_ALSA 1
-#endif
-
-#ifndef    JUCE_JACK
- //#define JUCE_JACK 0
-#endif
-
-#ifndef    JUCE_BELA
- //#define JUCE_BELA 0
-#endif
-
-#ifndef    JUCE_USE_ANDROID_OBOE
- //#define JUCE_USE_ANDROID_OBOE 0
-#endif
-
-#ifndef    JUCE_USE_ANDROID_OPENSLES
- //#define JUCE_USE_ANDROID_OPENSLES 0
-#endif
-
-#ifndef    JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS
- //#define JUCE_DISABLE_AUDIO_MIXING_WITH_OTHER_APPS 0
-#endif
-
-//==============================================================================
-// juce_audio_formats flags:
-
-#ifndef    JUCE_USE_FLAC
- //#define JUCE_USE_FLAC 1
-#endif
-
-#ifndef    JUCE_USE_OGGVORBIS
- //#define JUCE_USE_OGGVORBIS 1
-#endif
-
-#ifndef    JUCE_USE_MP3AUDIOFORMAT
- //#define JUCE_USE_MP3AUDIOFORMAT 0
-#endif
-
-#ifndef    JUCE_USE_LAME_AUDIO_FORMAT
- //#define JUCE_USE_LAME_AUDIO_FORMAT 0
-#endif
-
-#ifndef    JUCE_USE_WINDOWS_MEDIA_FORMAT
- //#define JUCE_USE_WINDOWS_MEDIA_FORMAT 1
-#endif
-
-//==============================================================================
-// juce_audio_plugin_client flags:
-
-#ifndef    JUCE_VST3_CAN_REPLACE_VST2
- //#define JUCE_VST3_CAN_REPLACE_VST2 1
-#endif
-
-#ifndef    JUCE_FORCE_USE_LEGACY_PARAM_IDS
- //#define JUCE_FORCE_USE_LEGACY_PARAM_IDS 0
-#endif
-
-#ifndef    JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE
- //#define JUCE_FORCE_LEGACY_PARAMETER_AUTOMATION_TYPE 0
-#endif
-
-#ifndef    JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS
- //#define JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS 1
-#endif
-
-#ifndef    JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES
- //#define JUCE_AU_WRAPPERS_SAVE_PROGRAM_STATES 0
-#endif
-
-#ifndef    JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE
- //#define JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE 0
-#endif
-
-//==============================================================================
-// juce_audio_processors flags:
-
-#ifndef    JUCE_PLUGINHOST_VST
- //#define JUCE_PLUGINHOST_VST 0
-#endif
-
-#ifndef    JUCE_PLUGINHOST_VST3
- //#define JUCE_PLUGINHOST_VST3 0
-#endif
-
-#ifndef    JUCE_PLUGINHOST_AU
- //#define JUCE_PLUGINHOST_AU 0
-#endif
-
-#ifndef    JUCE_PLUGINHOST_LADSPA
- //#define JUCE_PLUGINHOST_LADSPA 0
-#endif
-
-//==============================================================================
-// juce_audio_utils flags:
-
-#ifndef    JUCE_USE_CDREADER
- //#define JUCE_USE_CDREADER 0
-#endif
-
-#ifndef    JUCE_USE_CDBURNER
- //#define JUCE_USE_CDBURNER 0
-#endif
-
-//==============================================================================
-// juce_core flags:
-
-#ifndef    JUCE_FORCE_DEBUG
- //#define JUCE_FORCE_DEBUG 0
-#endif
-
-#ifndef    JUCE_LOG_ASSERTIONS
- //#define JUCE_LOG_ASSERTIONS 0
-#endif
-
-#ifndef    JUCE_CHECK_MEMORY_LEAKS
- //#define JUCE_CHECK_MEMORY_LEAKS 1
-#endif
-
-#ifndef    JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
- //#define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES 0
-#endif
-
-#ifndef    JUCE_INCLUDE_ZLIB_CODE
- //#define JUCE_INCLUDE_ZLIB_CODE 1
-#endif
-
-#ifndef    JUCE_USE_CURL
- //#define JUCE_USE_CURL 1
-#endif
-
-#ifndef    JUCE_LOAD_CURL_SYMBOLS_LAZILY
- //#define JUCE_LOAD_CURL_SYMBOLS_LAZILY 0
-#endif
-
-#ifndef    JUCE_CATCH_UNHANDLED_EXCEPTIONS
- //#define JUCE_CATCH_UNHANDLED_EXCEPTIONS 0
-#endif
-
-#ifndef    JUCE_ALLOW_STATIC_NULL_VARIABLES
- //#define JUCE_ALLOW_STATIC_NULL_VARIABLES 0
-#endif
-
-#ifndef    JUCE_STRICT_REFCOUNTEDPOINTER
- //#define JUCE_STRICT_REFCOUNTEDPOINTER 0
-#endif
-
-//==============================================================================
-// juce_events flags:
-
-#ifndef    JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK
- //#define JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK 0
-#endif
-
-//==============================================================================
-// juce_graphics flags:
-
-#ifndef    JUCE_USE_COREIMAGE_LOADER
- //#define JUCE_USE_COREIMAGE_LOADER 1
-#endif
-
-#ifndef    JUCE_USE_DIRECTWRITE
- //#define JUCE_USE_DIRECTWRITE 1
-#endif
-
-#ifndef    JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING
- //#define JUCE_DISABLE_COREGRAPHICS_FONT_SMOOTHING 0
-#endif
-
-//==============================================================================
-// juce_gui_basics flags:
-
-#ifndef    JUCE_ENABLE_REPAINT_DEBUGGING
- //#define JUCE_ENABLE_REPAINT_DEBUGGING 0
-#endif
-
-#ifndef    JUCE_USE_XRANDR
- //#define JUCE_USE_XRANDR 1
-#endif
-
-#ifndef    JUCE_USE_XINERAMA
- //#define JUCE_USE_XINERAMA 1
-#endif
-
-#ifndef    JUCE_USE_XSHM
- //#define JUCE_USE_XSHM 1
-#endif
-
-#ifndef    JUCE_USE_XRENDER
- //#define JUCE_USE_XRENDER 0
-#endif
-
-#ifndef    JUCE_USE_XCURSOR
- //#define JUCE_USE_XCURSOR 1
-#endif
-
-#ifndef    JUCE_WIN_PER_MONITOR_DPI_AWARE
- //#define JUCE_WIN_PER_MONITOR_DPI_AWARE 1
-#endif
-
-//==============================================================================
-// juce_gui_extra flags:
-
-#ifndef    JUCE_WEB_BROWSER
- //#define JUCE_WEB_BROWSER 1
-#endif
-
-#ifndef    JUCE_ENABLE_LIVE_CONSTANT_EDITOR
- //#define JUCE_ENABLE_LIVE_CONSTANT_EDITOR 0
-#endif
-
-//==============================================================================
-// juce_video flags:
-
-#ifndef    JUCE_USE_CAMERA
- //#define JUCE_USE_CAMERA 0
-#endif
-
-#ifndef    JUCE_SYNC_VIDEO_VOLUME_WITH_OS_MEDIA_VOLUME
- //#define JUCE_SYNC_VIDEO_VOLUME_WITH_OS_MEDIA_VOLUME 1
-#endif
-
-//==============================================================================
-// Audio plugin settings..
-
-#ifndef  JucePlugin_Build_VST
- #define JucePlugin_Build_VST              0
-#endif
-#ifndef  JucePlugin_Build_VST3
- #define JucePlugin_Build_VST3             0
-#endif
-#ifndef  JucePlugin_Build_AU
- #define JucePlugin_Build_AU               1
-#endif
-#ifndef  JucePlugin_Build_AUv3
- #define JucePlugin_Build_AUv3             0
-#endif
-#ifndef  JucePlugin_Build_RTAS
- #define JucePlugin_Build_RTAS             0
-#endif
-#ifndef  JucePlugin_Build_AAX
- #define JucePlugin_Build_AAX              0
-#endif
-#ifndef  JucePlugin_Build_Standalone
- #define JucePlugin_Build_Standalone       1
-#endif
-#ifndef  JucePlugin_Build_Unity
- #define JucePlugin_Build_Unity            0
-#endif
-#ifndef  JucePlugin_Enable_IAA
- #define JucePlugin_Enable_IAA             0
-#endif
-#ifndef  JucePlugin_Name
- #define JucePlugin_Name                   "LEAF"
-#endif
-#ifndef  JucePlugin_Desc
- #define JucePlugin_Desc                   "LEAF"
-#endif
-#ifndef  JucePlugin_Manufacturer
- #define JucePlugin_Manufacturer           "pumusic"
-#endif
-#ifndef  JucePlugin_ManufacturerWebsite
- #define JucePlugin_ManufacturerWebsite    ""
-#endif
-#ifndef  JucePlugin_ManufacturerEmail
- #define JucePlugin_ManufacturerEmail      "mrmulshine@gmail.com"
-#endif
-#ifndef  JucePlugin_ManufacturerCode
- #define JucePlugin_ManufacturerCode       0x4d616e75 // 'Manu'
-#endif
-#ifndef  JucePlugin_PluginCode
- #define JucePlugin_PluginCode             0x41727165 // 'Arqe'
-#endif
-#ifndef  JucePlugin_IsSynth
- #define JucePlugin_IsSynth                0
-#endif
-#ifndef  JucePlugin_WantsMidiInput
- #define JucePlugin_WantsMidiInput         1
-#endif
-#ifndef  JucePlugin_ProducesMidiOutput
- #define JucePlugin_ProducesMidiOutput     0
-#endif
-#ifndef  JucePlugin_IsMidiEffect
- #define JucePlugin_IsMidiEffect           0
-#endif
-#ifndef  JucePlugin_EditorRequiresKeyboardFocus
- #define JucePlugin_EditorRequiresKeyboardFocus  0
-#endif
-#ifndef  JucePlugin_Version
- #define JucePlugin_Version                1.0.0
-#endif
-#ifndef  JucePlugin_VersionCode
- #define JucePlugin_VersionCode            0x10000
-#endif
-#ifndef  JucePlugin_VersionString
- #define JucePlugin_VersionString          "1.0.0"
-#endif
-#ifndef  JucePlugin_VSTUniqueID
- #define JucePlugin_VSTUniqueID            JucePlugin_PluginCode
-#endif
-#ifndef  JucePlugin_VSTCategory
- #define JucePlugin_VSTCategory            kPlugCategEffect
-#endif
-#ifndef  JucePlugin_Vst3Category
- #define JucePlugin_Vst3Category           "Fx"
-#endif
-#ifndef  JucePlugin_AUMainType
- #define JucePlugin_AUMainType             'aumf'
-#endif
-#ifndef  JucePlugin_AUSubType
- #define JucePlugin_AUSubType              JucePlugin_PluginCode
-#endif
-#ifndef  JucePlugin_AUExportPrefix
- #define JucePlugin_AUExportPrefix         LEAFAU
-#endif
-#ifndef  JucePlugin_AUExportPrefixQuoted
- #define JucePlugin_AUExportPrefixQuoted   "LEAFAU"
-#endif
-#ifndef  JucePlugin_AUManufacturerCode
- #define JucePlugin_AUManufacturerCode     JucePlugin_ManufacturerCode
-#endif
-#ifndef  JucePlugin_CFBundleIdentifier
- #define JucePlugin_CFBundleIdentifier     com.pumusic.LEAF
-#endif
-#ifndef  JucePlugin_RTASCategory
- #define JucePlugin_RTASCategory           0
-#endif
-#ifndef  JucePlugin_RTASManufacturerCode
- #define JucePlugin_RTASManufacturerCode   JucePlugin_ManufacturerCode
-#endif
-#ifndef  JucePlugin_RTASProductId
- #define JucePlugin_RTASProductId          JucePlugin_PluginCode
-#endif
-#ifndef  JucePlugin_RTASDisableBypass
- #define JucePlugin_RTASDisableBypass      0
-#endif
-#ifndef  JucePlugin_RTASDisableMultiMono
- #define JucePlugin_RTASDisableMultiMono   0
-#endif
-#ifndef  JucePlugin_AAXIdentifier
- #define JucePlugin_AAXIdentifier          com.pumusic.LEAF
-#endif
-#ifndef  JucePlugin_AAXManufacturerCode
- #define JucePlugin_AAXManufacturerCode    JucePlugin_ManufacturerCode
-#endif
-#ifndef  JucePlugin_AAXProductId
- #define JucePlugin_AAXProductId           JucePlugin_PluginCode
-#endif
-#ifndef  JucePlugin_AAXCategory
- #define JucePlugin_AAXCategory            2
-#endif
-#ifndef  JucePlugin_AAXDisableBypass
- #define JucePlugin_AAXDisableBypass       0
-#endif
-#ifndef  JucePlugin_AAXDisableMultiMono
- #define JucePlugin_AAXDisableMultiMono    0
-#endif
-#ifndef  JucePlugin_IAAType
- #define JucePlugin_IAAType                0x6175726d // 'aurm'
-#endif
-#ifndef  JucePlugin_IAASubType
- #define JucePlugin_IAASubType             JucePlugin_PluginCode
-#endif
-#ifndef  JucePlugin_IAAName
- #define JucePlugin_IAAName                "pumusic: LEAF"
-#endif
-#ifndef  JucePlugin_VSTNumMidiInputs
- #define JucePlugin_VSTNumMidiInputs       16
-#endif
-#ifndef  JucePlugin_VSTNumMidiOutputs
- #define JucePlugin_VSTNumMidiOutputs      16
-#endif
-#ifndef  JucePlugin_MaxNumInputChannels
- #define JucePlugin_MaxNumInputChannels    2
-#endif
-#ifndef  JucePlugin_MaxNumOutputChannels
- #define JucePlugin_MaxNumOutputChannels   2
-#endif
-#ifndef  JucePlugin_PreferredChannelConfigurations
- #define JucePlugin_PreferredChannelConfigurations  {2,2}
-#endif
-
-//==============================================================================
-#ifndef    JUCE_STANDALONE_APPLICATION
- #if defined(JucePlugin_Name) && defined(JucePlugin_Build_Standalone)
-  #define  JUCE_STANDALONE_APPLICATION JucePlugin_Build_Standalone
- #else
-  #define  JUCE_STANDALONE_APPLICATION 0
- #endif
-#endif
--- a/LEAF_JUCEPlugin/JuceLibraryCode/JuceHeader.h
+++ /dev/null
@@ -1,57 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-    This is the header file that your files should include in order to get all the
-    JUCE library headers. You should avoid including the JUCE headers directly in
-    your own source files, because that wouldn't pick up the correct configuration
-    options for your app.
-
-*/
-
-#pragma once
-
-#include "AppConfig.h"
-
-#include <juce_audio_basics/juce_audio_basics.h>
-#include <juce_audio_devices/juce_audio_devices.h>
-#include <juce_audio_formats/juce_audio_formats.h>
-#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
-#include <juce_audio_processors/juce_audio_processors.h>
-#include <juce_audio_utils/juce_audio_utils.h>
-#include <juce_core/juce_core.h>
-#include <juce_cryptography/juce_cryptography.h>
-#include <juce_data_structures/juce_data_structures.h>
-#include <juce_events/juce_events.h>
-#include <juce_graphics/juce_graphics.h>
-#include <juce_gui_basics/juce_gui_basics.h>
-#include <juce_gui_extra/juce_gui_extra.h>
-#include <juce_opengl/juce_opengl.h>
-#include <juce_video/juce_video.h>
-
-
-#if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION
- /** If you've hit this error then the version of the Projucer that was used to generate this project is
-     older than the version of the JUCE modules being included. To fix this error, re-save your project
-     using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
-     remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file.
- */
- #error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
-#endif
-
-#if ! DONT_SET_USING_JUCE_NAMESPACE
- // If your code uses a lot of JUCE classes, then this will obviously save you
- // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE.
- using namespace juce;
-#endif
-
-#if ! JUCE_DONT_DECLARE_PROJECTINFO
-namespace ProjectInfo
-{
-    const char* const  projectName    = "LEAF";
-    const char* const  companyName    = "Princeton University";
-    const char* const  versionString  = "1.0.0";
-    const int          versionNumber  = 0x10000;
-}
-#endif
--- a/LEAF_JUCEPlugin/JuceLibraryCode/ReadMe.txt
+++ /dev/null
@@ -1,12 +1,0 @@
-
- Important Note!!
- ================
-
-The purpose of this folder is to contain files that are auto-generated by the Projucer,
-and ALL files in this folder will be mercilessly DELETED and completely re-written whenever
-the Projucer saves your project.
-
-Therefore, it's a bad idea to make any manual changes to the files in here, or to
-put any of your own files in here if you don't want to lose them. (Of course you may choose
-to add the folder's contents to your version-control system so that you can re-merge your own
-modifications after the Projucer has saved its changes).
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_basics.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_basics/juce_audio_basics.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_basics.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_basics/juce_audio_basics.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_devices.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_devices/juce_audio_devices.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_devices.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_devices/juce_audio_devices.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_formats.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_formats/juce_audio_formats.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_formats.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_formats/juce_audio_formats.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_AAX.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AU.r
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client_AU.r>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_AU_1.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_AU_2.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_AUv3.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client_RTAS.r>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_1.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_2.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_3.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_4.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_utils.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_RTAS_utils.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_Unity.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_VST2.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_VST3.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_VST_utils.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_plugin_client/juce_audio_plugin_client_utils.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_processors.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_processors/juce_audio_processors.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_processors.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_processors/juce_audio_processors.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_utils.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_utils/juce_audio_utils.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_audio_utils.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_audio_utils/juce_audio_utils.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_core.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_core/juce_core.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_core.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_core/juce_core.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_cryptography.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_cryptography/juce_cryptography.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_cryptography.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_cryptography/juce_cryptography.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_data_structures.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_data_structures/juce_data_structures.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_data_structures.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_data_structures/juce_data_structures.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_events.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_events/juce_events.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_events.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_events/juce_events.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_graphics.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_graphics/juce_graphics.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_graphics.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_graphics/juce_graphics.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_gui_basics.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_gui_basics/juce_gui_basics.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_gui_basics.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_gui_basics/juce_gui_basics.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_gui_extra.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_gui_extra/juce_gui_extra.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_gui_extra.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_gui_extra/juce_gui_extra.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_opengl.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_opengl/juce_opengl.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_opengl.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_opengl/juce_opengl.mm>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_video.cpp
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_video/juce_video.cpp>
--- a/LEAF_JUCEPlugin/JuceLibraryCode/include_juce_video.mm
+++ /dev/null
@@ -1,9 +1,0 @@
-/*
-
-    IMPORTANT! This file is auto-generated each time you save your
-    project - if you alter its contents, your changes may be overwritten!
-
-*/
-
-#include "AppConfig.h"
-#include <juce_video/juce_video.mm>
--- a/LEAF_JUCEPlugin/LEAF.jucer
+++ b/LEAF_JUCEPlugin/LEAF.jucer
@@ -19,65 +19,6 @@
       <FILE id="mVSe2h" name="basic-oscillators.h" compile="0" resource="0"
             file="../Examples/basic-oscillators.h"/>
     </GROUP>
-    <GROUP id="{C0DBCE2E-4D9F-962C-C47E-F7CB38606873}" name="leaf">
-      <GROUP id="{7B669CEF-E494-BF27-3FB1-FB4DEF70B9B7}" name="Externals">
-        <FILE id="VSPv73" name="d_fft_mayer.c" compile="1" resource="0" file="../leaf/Externals/d_fft_mayer.c"/>
-        <FILE id="aeWDeM" name="d_fft_mayer.h" compile="0" resource="0" file="../leaf/Externals/d_fft_mayer.h"/>
-        <FILE id="KdxKPj" name="trigtbl.h" compile="0" resource="0" file="../leaf/Externals/trigtbl.h"/>
-      </GROUP>
-      <GROUP id="{EC3EDB8A-0956-5284-C54A-F810600CDEC2}" name="Inc">
-        <FILE id="msTLOW" name="leaf-analysis.h" compile="0" resource="0" file="../leaf/Inc/leaf-analysis.h"/>
-        <FILE id="tKEeZE" name="leaf-delay.h" compile="0" resource="0" file="../leaf/Inc/leaf-delay.h"/>
-        <FILE id="qOzdHU" name="leaf-distortion.h" compile="0" resource="0"
-              file="../leaf/Inc/leaf-distortion.h"/>
-        <FILE id="nsWjl8" name="leaf-dynamics.h" compile="0" resource="0" file="../leaf/Inc/leaf-dynamics.h"/>
-        <FILE id="XoYynR" name="leaf-effects.h" compile="0" resource="0" file="../leaf/Inc/leaf-effects.h"/>
-        <FILE id="R9q2wU" name="leaf-electrical.h" compile="0" resource="0"
-              file="../leaf/Inc/leaf-electrical.h"/>
-        <FILE id="QU4TIw" name="leaf-envelopes.h" compile="0" resource="0"
-              file="../leaf/Inc/leaf-envelopes.h"/>
-        <FILE id="RAc5kG" name="leaf-filters.h" compile="0" resource="0" file="../leaf/Inc/leaf-filters.h"/>
-        <FILE id="ycRcSF" name="leaf-global.h" compile="0" resource="0" file="../leaf/Inc/leaf-global.h"/>
-        <FILE id="K0YJNC" name="leaf-instruments.h" compile="0" resource="0"
-              file="../leaf/Inc/leaf-instruments.h"/>
-        <FILE id="j38x1X" name="leaf-math.h" compile="0" resource="0" file="../leaf/Inc/leaf-math.h"/>
-        <FILE id="ZkrZ5C" name="leaf-mempool.h" compile="0" resource="0" file="../leaf/Inc/leaf-mempool.h"/>
-        <FILE id="zm7spT" name="leaf-midi.h" compile="0" resource="0" file="../leaf/Inc/leaf-midi.h"/>
-        <FILE id="sYGLnq" name="leaf-oscillators.h" compile="0" resource="0"
-              file="../leaf/Inc/leaf-oscillators.h"/>
-        <FILE id="XLd1j8" name="leaf-physical.h" compile="0" resource="0" file="../leaf/Inc/leaf-physical.h"/>
-        <FILE id="G04QJZ" name="leaf-reverb.h" compile="0" resource="0" file="../leaf/Inc/leaf-reverb.h"/>
-        <FILE id="ersQ3H" name="leaf-sampling.h" compile="0" resource="0" file="../leaf/Inc/leaf-sampling.h"/>
-        <FILE id="d9gT16" name="leaf-tables.h" compile="0" resource="0" file="../leaf/Inc/leaf-tables.h"/>
-      </GROUP>
-      <GROUP id="{5AC3E39D-3FB8-4DBC-E4DF-58089B39F56B}" name="Src">
-        <FILE id="mvqzWv" name="leaf-analysis.c" compile="1" resource="0" file="../leaf/Src/leaf-analysis.c"/>
-        <FILE id="GhICMu" name="leaf-delay.c" compile="1" resource="0" file="../leaf/Src/leaf-delay.c"/>
-        <FILE id="ni7IrI" name="leaf-distortion.c" compile="1" resource="0"
-              file="../leaf/Src/leaf-distortion.c"/>
-        <FILE id="m9nHyV" name="leaf-dynamics.c" compile="1" resource="0" file="../leaf/Src/leaf-dynamics.c"/>
-        <FILE id="kYyMRy" name="leaf-effects.c" compile="1" resource="0" file="../leaf/Src/leaf-effects.c"/>
-        <FILE id="RQ0UQg" name="leaf-electrical.c" compile="1" resource="0"
-              file="../leaf/Src/leaf-electrical.c"/>
-        <FILE id="wAUFsO" name="leaf-envelopes.c" compile="1" resource="0"
-              file="../leaf/Src/leaf-envelopes.c"/>
-        <FILE id="vxRnRA" name="leaf-filters.c" compile="1" resource="0" file="../leaf/Src/leaf-filters.c"/>
-        <FILE id="r9Lgbm" name="leaf-instruments.c" compile="1" resource="0"
-              file="../leaf/Src/leaf-instruments.c"/>
-        <FILE id="RGRryt" name="leaf-math.c" compile="1" resource="0" file="../leaf/Src/leaf-math.c"/>
-        <FILE id="CPYpj6" name="leaf-mempool.c" compile="1" resource="0" file="../leaf/Src/leaf-mempool.c"/>
-        <FILE id="qKY7Zo" name="leaf-midi.c" compile="1" resource="0" file="../leaf/Src/leaf-midi.c"/>
-        <FILE id="PtwEIj" name="leaf-oscillators.c" compile="1" resource="0"
-              file="../leaf/Src/leaf-oscillators.c"/>
-        <FILE id="kExe4m" name="leaf-physical.c" compile="1" resource="0" file="../leaf/Src/leaf-physical.c"/>
-        <FILE id="MzKQoB" name="leaf-reverb.c" compile="1" resource="0" file="../leaf/Src/leaf-reverb.c"/>
-        <FILE id="lNL3cQ" name="leaf-sampling.c" compile="1" resource="0" file="../leaf/Src/leaf-sampling.c"/>
-        <FILE id="itYOGw" name="leaf-tables.c" compile="1" resource="0" file="../leaf/Src/leaf-tables.c"/>
-        <FILE id="l1ISv0" name="leaf.c" compile="1" resource="0" file="../leaf/Src/leaf.c"/>
-      </GROUP>
-      <FILE id="dcLQIn" name="leaf.cpp" compile="1" resource="0" file="../leaf/leaf.cpp"/>
-      <FILE id="mFVaLG" name="leaf.h" compile="0" resource="0" file="../leaf/leaf.h"/>
-    </GROUP>
     <GROUP id="{14C5E2CD-5D51-3FD3-5677-28BECA29E95E}" name="Source">
       <GROUP id="{FFA9F0EC-F45A-74FC-5A10-9B3CAA731E7C}" name="External">
         <FILE id="ixwZea" name="Yin.h" compile="0" resource="0" file="Source/Yin.h"/>
@@ -127,6 +68,7 @@
         <MODULEPATH id="juce_audio_processors" path="../../../../JUCE/modules"/>
         <MODULEPATH id="juce_audio_plugin_client" path="../../../../JUCE/modules"/>
         <MODULEPATH id="juce_audio_utils" path="../../../../JUCE/modules"/>
+        <MODULEPATH id="leaf" path="../../LEAF"/>
       </MODULEPATHS>
     </XCODE_MAC>
     <XCODE_IPHONE targetFolder="Builds/iOS" iosScreenOrientation="portraitlandscape"
@@ -154,6 +96,7 @@
         <MODULEPATH id="juce_audio_processors" path="../../../../JUCE/modules"/>
         <MODULEPATH id="juce_audio_plugin_client" path="../../../../JUCE/modules"/>
         <MODULEPATH id="juce_audio_utils" path="../../../../JUCE/modules"/>
+        <MODULEPATH id="leaf" path="../../LEAF"/>
       </MODULEPATHS>
     </XCODE_IPHONE>
     <VS2017 targetFolder="Builds/VisualStudio2017">
@@ -181,25 +124,28 @@
         <MODULEPATH id="juce_audio_formats" path="..\..\..\JUCE\modules"/>
         <MODULEPATH id="juce_audio_devices" path="..\..\..\JUCE\modules"/>
         <MODULEPATH id="juce_audio_basics" path="..\..\..\JUCE\modules"/>
+        <MODULEPATH id="leaf" path="../../LEAF"/>
       </MODULEPATHS>
     </VS2017>
   </EXPORTFORMATS>
   <MODULES>
-    <MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_audio_devices" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_audio_formats" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_audio_plugin_client" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_audio_processors" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_audio_utils" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
-    <MODULE id="juce_core" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_cryptography" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_events" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_opengl" showAllCode="1" useLocalCopy="0"/>
-    <MODULE id="juce_video" showAllCode="1" useLocalCopy="0"/>
+    <MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_audio_devices" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_audio_formats" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_audio_plugin_client" showAllCode="1" useLocalCopy="0"
+            useGlobalPath="1"/>
+    <MODULE id="juce_audio_processors" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_audio_utils" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_core" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_cryptography" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_events" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_opengl" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="juce_video" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
+    <MODULE id="leaf" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
   </MODULES>
   <JUCEOPTIONS JUCE_QUICKTIME="disabled"/>
   <LIVE_SETTINGS>
--- a/leaf/Inc/leaf-tables.h
+++ b/leaf/Inc/leaf-tables.h
@@ -23,6 +23,7 @@
 #define USE_SQUARE_TABLE 1
 #define USE_TRIANGLE_TABLE 1
 #define USE_SHAPER_TABLE 1
+#define DECAY_TABLES_USED 1
     
 #define SINE_TABLE_SIZE 2048
 #define SAW_TABLE_SIZE 2048
--- a/leaf/leaf.cpp
+++ b/leaf/leaf.cpp
@@ -20,6 +20,8 @@
 #include ".\Src\leaf-electrical.c"
 #include ".\Src\leaf.c"
 
+#include ".\Externals\d_fft_mayer.c"
+
 #else
 
 #include "./leaf.h"
@@ -41,5 +43,7 @@
 #include "./Src/leaf-physical.c"
 #include "./Src/leaf-electrical.c"
 #include "./Src/leaf.c"
+
+#include "./Externals/d_fft_mayer.c"
 
 #endif