├── LICENSE ├── MyEQ ├── JuceLibraryCode │ ├── AppConfig.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_dsp.cpp │ ├── include_juce_dsp.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyEQ.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h ├── MyGain ├── JuceLibraryCode │ ├── AppConfig.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyGain.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h ├── MyGate ├── JuceLibraryCode │ ├── AppConfig.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyGate.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h ├── MyImage ├── JuceLibraryCode │ ├── AppConfig.h │ ├── BinaryData.cpp │ ├── BinaryData.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyImage.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h ├── MyOsc ├── JuceLibraryCode │ ├── AppConfig.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyOsc.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h ├── MyReverb ├── JuceLibraryCode │ ├── AppConfig.h │ ├── JuceHeader.h │ ├── ReadMe.txt │ ├── include_juce_audio_basics.cpp │ ├── include_juce_audio_basics.mm │ ├── include_juce_audio_devices.cpp │ ├── include_juce_audio_devices.mm │ ├── include_juce_audio_formats.cpp │ ├── include_juce_audio_formats.mm │ ├── include_juce_audio_plugin_client_AAX.cpp │ ├── include_juce_audio_plugin_client_AAX.mm │ ├── include_juce_audio_plugin_client_AU.r │ ├── include_juce_audio_plugin_client_AU_1.mm │ ├── include_juce_audio_plugin_client_AU_2.mm │ ├── include_juce_audio_plugin_client_AUv3.mm │ ├── include_juce_audio_plugin_client_RTAS.r │ ├── include_juce_audio_plugin_client_RTAS_1.cpp │ ├── include_juce_audio_plugin_client_RTAS_2.cpp │ ├── include_juce_audio_plugin_client_RTAS_3.cpp │ ├── include_juce_audio_plugin_client_RTAS_4.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.cpp │ ├── include_juce_audio_plugin_client_RTAS_utils.mm │ ├── include_juce_audio_plugin_client_Standalone.cpp │ ├── include_juce_audio_plugin_client_Unity.cpp │ ├── include_juce_audio_plugin_client_VST2.cpp │ ├── include_juce_audio_plugin_client_VST3.cpp │ ├── include_juce_audio_plugin_client_VST_utils.mm │ ├── include_juce_audio_plugin_client_utils.cpp │ ├── include_juce_audio_processors.cpp │ ├── include_juce_audio_processors.mm │ ├── include_juce_audio_utils.cpp │ ├── include_juce_audio_utils.mm │ ├── include_juce_core.cpp │ ├── include_juce_core.mm │ ├── include_juce_cryptography.cpp │ ├── include_juce_cryptography.mm │ ├── include_juce_data_structures.cpp │ ├── include_juce_data_structures.mm │ ├── include_juce_events.cpp │ ├── include_juce_events.mm │ ├── include_juce_graphics.cpp │ ├── include_juce_graphics.mm │ ├── include_juce_gui_basics.cpp │ ├── include_juce_gui_basics.mm │ ├── include_juce_gui_extra.cpp │ ├── include_juce_gui_extra.mm │ ├── include_juce_opengl.cpp │ └── include_juce_opengl.mm ├── MyReverb.jucer └── Source │ ├── PluginEditor.cpp │ ├── PluginEditor.h │ ├── PluginProcessor.cpp │ └── PluginProcessor.h └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 David Jang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | 34 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 35 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 36 | older than the version of the JUCE modules being included. To fix this error, re-save your project 37 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 38 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 39 | */ 40 | #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." 41 | #endif 42 | 43 | #if ! DONT_SET_USING_JUCE_NAMESPACE 44 | // If your code uses a lot of JUCE classes, then this will obviously save you 45 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 46 | using namespace juce; 47 | #endif 48 | 49 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 50 | namespace ProjectInfo 51 | { 52 | const char* const projectName = "MyEQ"; 53 | const char* const companyName = ""; 54 | const char* const versionString = "1.0.0"; 55 | const int versionNumber = 0x10000; 56 | } 57 | #endif 58 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_dsp.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_dsp.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyEQ/MyEQ.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /MyEQ/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyEqAudioProcessorEditor::MyEqAudioProcessorEditor (MyEqAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | HF_Vol.setRange(0.01, 1, 0.01); 19 | HF_Vol.setBounds(0, 0, 100, 50); 20 | HF_Vol.setSliderStyle(Slider::SliderStyle::LinearHorizontal); 21 | HF_Vol.setTextBoxStyle(Slider::TextBoxBelow, true, 100, 30);; 22 | addAndMakeVisible(HF_Vol); 23 | 24 | HF_Vol.onValueChange = [this] 25 | { 26 | *(processor.myFilter.state) = *(dsp::IIR::Coefficients::makePeakFilter(processor.getSampleRate(),2400.0f,0.7f,HF_Vol.getValue())); 27 | }; 28 | 29 | setSize (400, 300); 30 | 31 | *(processor.myFilter.state) = *(dsp::IIR::Coefficients::makePeakFilter(processor.getSampleRate(), 2400.0f, 0.7f, HF_Vol.getValue())); 32 | } 33 | 34 | MyEqAudioProcessorEditor::~MyEqAudioProcessorEditor() 35 | { 36 | } 37 | 38 | //============================================================================== 39 | void MyEqAudioProcessorEditor::paint (Graphics& g) 40 | { 41 | // (Our component is opaque, so we must completely fill the background with a solid colour) 42 | g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 43 | 44 | g.setColour (Colours::white); 45 | g.setFont (15.0f); 46 | g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1); 47 | } 48 | 49 | void MyEqAudioProcessorEditor::resized() 50 | { 51 | // This is generally where you'll want to lay out the positions of any 52 | // subcomponents in your editor.. 53 | } 54 | -------------------------------------------------------------------------------- /MyEQ/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | class MyEqAudioProcessorEditor : public AudioProcessorEditor 20 | { 21 | public: 22 | MyEqAudioProcessorEditor (MyEqAudioProcessor&); 23 | ~MyEqAudioProcessorEditor(); 24 | 25 | //============================================================================== 26 | void paint (Graphics&) override; 27 | void resized() override; 28 | 29 | private: 30 | // This reference is provided as a quick way for your editor to 31 | // access the processor object that created it. 32 | MyEqAudioProcessor& processor; 33 | Slider HF_Vol; 34 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyEqAudioProcessorEditor) 35 | }; 36 | -------------------------------------------------------------------------------- /MyEQ/Source/PluginProcessor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyEqAudioProcessor::MyEqAudioProcessor() 16 | #ifndef JucePlugin_PreferredChannelConfigurations 17 | : AudioProcessor (BusesProperties() 18 | #if ! JucePlugin_IsMidiEffect 19 | #if ! JucePlugin_IsSynth 20 | .withInput ("Input", AudioChannelSet::stereo(), true) 21 | #endif 22 | .withOutput ("Output", AudioChannelSet::stereo(), true) 23 | #endif 24 | ) 25 | #endif 26 | { 27 | } 28 | 29 | MyEqAudioProcessor::~MyEqAudioProcessor() 30 | { 31 | } 32 | 33 | //============================================================================== 34 | const String MyEqAudioProcessor::getName() const 35 | { 36 | return JucePlugin_Name; 37 | } 38 | 39 | bool MyEqAudioProcessor::acceptsMidi() const 40 | { 41 | #if JucePlugin_WantsMidiInput 42 | return true; 43 | #else 44 | return false; 45 | #endif 46 | } 47 | 48 | bool MyEqAudioProcessor::producesMidi() const 49 | { 50 | #if JucePlugin_ProducesMidiOutput 51 | return true; 52 | #else 53 | return false; 54 | #endif 55 | } 56 | 57 | bool MyEqAudioProcessor::isMidiEffect() const 58 | { 59 | #if JucePlugin_IsMidiEffect 60 | return true; 61 | #else 62 | return false; 63 | #endif 64 | } 65 | 66 | double MyEqAudioProcessor::getTailLengthSeconds() const 67 | { 68 | return 0.0; 69 | } 70 | 71 | int MyEqAudioProcessor::getNumPrograms() 72 | { 73 | return 1; // NB: some hosts don't cope very well if you tell them there are 0 programs, 74 | // so this should be at least 1, even if you're not really implementing programs. 75 | } 76 | 77 | int MyEqAudioProcessor::getCurrentProgram() 78 | { 79 | return 0; 80 | } 81 | 82 | void MyEqAudioProcessor::setCurrentProgram (int index) 83 | { 84 | } 85 | 86 | const String MyEqAudioProcessor::getProgramName (int index) 87 | { 88 | return {}; 89 | } 90 | 91 | void MyEqAudioProcessor::changeProgramName (int index, const String& newName) 92 | { 93 | } 94 | 95 | //============================================================================== 96 | void MyEqAudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock) 97 | { 98 | dsp::ProcessSpec ps; 99 | ps.maximumBlockSize = samplesPerBlock; 100 | ps.numChannels = getTotalNumOutputChannels(); 101 | ps.sampleRate = sampleRate; 102 | 103 | myFilter.prepare(ps); 104 | 105 | } 106 | 107 | void MyEqAudioProcessor::releaseResources() 108 | { 109 | myFilter.reset(); 110 | } 111 | 112 | #ifndef JucePlugin_PreferredChannelConfigurations 113 | bool MyEqAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const 114 | { 115 | #if JucePlugin_IsMidiEffect 116 | ignoreUnused (layouts); 117 | return true; 118 | #else 119 | // This is the place where you check if the layout is supported. 120 | // In this template code we only support mono or stereo. 121 | if (layouts.getMainOutputChannelSet() != AudioChannelSet::mono() 122 | && layouts.getMainOutputChannelSet() != AudioChannelSet::stereo()) 123 | return false; 124 | 125 | // This checks if the input layout matches the output layout 126 | #if ! JucePlugin_IsSynth 127 | if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet()) 128 | return false; 129 | #endif 130 | 131 | return true; 132 | #endif 133 | } 134 | #endif 135 | 136 | void MyEqAudioProcessor::processBlock (AudioBuffer& buffer, MidiBuffer& midiMessages) 137 | { 138 | ScopedNoDenormals noDenormals; 139 | 140 | myFilter.process(dsp::ProcessContextReplacing(dsp::AudioBlock(buffer))); 141 | } 142 | 143 | //============================================================================== 144 | bool MyEqAudioProcessor::hasEditor() const 145 | { 146 | return true; // (change this to false if you choose to not supply an editor) 147 | } 148 | 149 | AudioProcessorEditor* MyEqAudioProcessor::createEditor() 150 | { 151 | return new MyEqAudioProcessorEditor (*this); 152 | } 153 | 154 | //============================================================================== 155 | void MyEqAudioProcessor::getStateInformation (MemoryBlock& destData) 156 | { 157 | // You should use this method to store your parameters in the memory block. 158 | // You could do that either as raw data, or use the XML or ValueTree classes 159 | // as intermediaries to make it easy to save and load complex data. 160 | } 161 | 162 | void MyEqAudioProcessor::setStateInformation (const void* data, int sizeInBytes) 163 | { 164 | // You should use this method to restore your parameters from this memory block, 165 | // whose contents will have been created by the getStateInformation() call. 166 | } 167 | 168 | //============================================================================== 169 | // This creates new instances of the plugin.. 170 | AudioProcessor* JUCE_CALLTYPE createPluginFilter() 171 | { 172 | return new MyEqAudioProcessor(); 173 | } 174 | -------------------------------------------------------------------------------- /MyEQ/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyEqAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyEqAudioProcessor(); 23 | ~MyEqAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | dsp::ProcessorDuplicator, dsp::IIR::Coefficients> myFilter; 58 | private: 59 | //============================================================================== 60 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyEqAudioProcessor) 61 | }; 62 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | 33 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 34 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 35 | older than the version of the JUCE modules being included. To fix this error, re-save your project 36 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 37 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 38 | */ 39 | #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." 40 | #endif 41 | 42 | #if ! DONT_SET_USING_JUCE_NAMESPACE 43 | // If your code uses a lot of JUCE classes, then this will obviously save you 44 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 45 | using namespace juce; 46 | #endif 47 | 48 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 49 | namespace ProjectInfo 50 | { 51 | const char* const projectName = "MyGain"; 52 | const char* const companyName = ""; 53 | const char* const versionString = "1.0.0"; 54 | const int versionNumber = 0x10000; 55 | } 56 | #endif 57 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGain/MyGain.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyGain/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyGainAudioProcessorEditor::MyGainAudioProcessorEditor (MyGainAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | // Make sure that before the constructor has finished, you've set the 19 | // editor's size to whatever you need it to be. 20 | setSize (400, 300); 21 | mySlider.setBounds(0, 0, 200, 30); 22 | mySlider.setSliderStyle(Slider::SliderStyle::LinearHorizontal); 23 | mySlider.setTextBoxStyle(Slider::NoTextBox, true, 0, 0); 24 | mySlider.setRange(0, 1, 0.01); 25 | 26 | mySlider.onValueChange = [this]() { processor.myVolume = mySlider.getValue(); }; 27 | 28 | addAndMakeVisible(mySlider); 29 | } 30 | 31 | MyGainAudioProcessorEditor::~MyGainAudioProcessorEditor() 32 | { 33 | 34 | } 35 | 36 | //============================================================================== 37 | void MyGainAudioProcessorEditor::paint (Graphics& g) 38 | { 39 | // (Our component is opaque, so we must completely fill the background with a solid colour) 40 | g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 41 | 42 | g.setColour (Colours::white); 43 | g.setFont (15.0f); 44 | g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1); 45 | } 46 | 47 | void MyGainAudioProcessorEditor::resized() 48 | { 49 | // This is generally where you'll want to lay out the positions of any 50 | // subcomponents in your editor.. 51 | } 52 | -------------------------------------------------------------------------------- /MyGain/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | class MyGainAudioProcessorEditor : public AudioProcessorEditor 20 | { 21 | public: 22 | MyGainAudioProcessorEditor (MyGainAudioProcessor&); 23 | ~MyGainAudioProcessorEditor(); 24 | 25 | //============================================================================== 26 | void paint (Graphics&) override; 27 | void resized() override; 28 | 29 | private: 30 | // This reference is provided as a quick way for your editor to 31 | // access the processor object that created it. 32 | MyGainAudioProcessor& processor; 33 | Slider mySlider; 34 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyGainAudioProcessorEditor) 35 | }; 36 | -------------------------------------------------------------------------------- /MyGain/Source/PluginProcessor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyGainAudioProcessor::MyGainAudioProcessor() 16 | #ifndef JucePlugin_PreferredChannelConfigurations 17 | : AudioProcessor (BusesProperties() 18 | #if ! JucePlugin_IsMidiEffect 19 | #if ! JucePlugin_IsSynth 20 | .withInput ("Input", AudioChannelSet::stereo(), true) 21 | #endif 22 | .withOutput ("Output", AudioChannelSet::stereo(), true) 23 | #endif 24 | ) 25 | #endif 26 | { 27 | } 28 | 29 | MyGainAudioProcessor::~MyGainAudioProcessor() 30 | { 31 | } 32 | 33 | //============================================================================== 34 | const String MyGainAudioProcessor::getName() const 35 | { 36 | return JucePlugin_Name; 37 | } 38 | 39 | bool MyGainAudioProcessor::acceptsMidi() const 40 | { 41 | #if JucePlugin_WantsMidiInput 42 | return true; 43 | #else 44 | return false; 45 | #endif 46 | } 47 | 48 | bool MyGainAudioProcessor::producesMidi() const 49 | { 50 | #if JucePlugin_ProducesMidiOutput 51 | return true; 52 | #else 53 | return false; 54 | #endif 55 | } 56 | 57 | bool MyGainAudioProcessor::isMidiEffect() const 58 | { 59 | #if JucePlugin_IsMidiEffect 60 | return true; 61 | #else 62 | return false; 63 | #endif 64 | } 65 | 66 | double MyGainAudioProcessor::getTailLengthSeconds() const 67 | { 68 | return 0.0; 69 | } 70 | 71 | int MyGainAudioProcessor::getNumPrograms() 72 | { 73 | return 1; // NB: some hosts don't cope very well if you tell them there are 0 programs, 74 | // so this should be at least 1, even if you're not really implementing programs. 75 | } 76 | 77 | int MyGainAudioProcessor::getCurrentProgram() 78 | { 79 | return 0; 80 | } 81 | 82 | void MyGainAudioProcessor::setCurrentProgram (int index) 83 | { 84 | } 85 | 86 | const String MyGainAudioProcessor::getProgramName (int index) 87 | { 88 | return {}; 89 | } 90 | 91 | void MyGainAudioProcessor::changeProgramName (int index, const String& newName) 92 | { 93 | } 94 | 95 | //============================================================================== 96 | void MyGainAudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock) 97 | { 98 | // Use this method as the place to do any pre-playback 99 | // initialisation that you need.. 100 | } 101 | 102 | void MyGainAudioProcessor::releaseResources() 103 | { 104 | // When playback stops, you can use this as an opportunity to free up any 105 | // spare memory, etc. 106 | } 107 | 108 | #ifndef JucePlugin_PreferredChannelConfigurations 109 | bool MyGainAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const 110 | { 111 | #if JucePlugin_IsMidiEffect 112 | ignoreUnused (layouts); 113 | return true; 114 | #else 115 | // This is the place where you check if the layout is supported. 116 | // In this template code we only support mono or stereo. 117 | if (layouts.getMainOutputChannelSet() != AudioChannelSet::mono() 118 | && layouts.getMainOutputChannelSet() != AudioChannelSet::stereo()) 119 | return false; 120 | 121 | // This checks if the input layout matches the output layout 122 | #if ! JucePlugin_IsSynth 123 | if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet()) 124 | return false; 125 | #endif 126 | 127 | return true; 128 | #endif 129 | } 130 | #endif 131 | 132 | void MyGainAudioProcessor::processBlock (AudioBuffer& buffer, MidiBuffer& midiMessages) 133 | { 134 | buffer.applyGain(myVolume); 135 | } 136 | 137 | //============================================================================== 138 | bool MyGainAudioProcessor::hasEditor() const 139 | { 140 | return true; // (change this to false if you choose to not supply an editor) 141 | } 142 | 143 | AudioProcessorEditor* MyGainAudioProcessor::createEditor() 144 | { 145 | return new MyGainAudioProcessorEditor (*this); 146 | } 147 | 148 | //============================================================================== 149 | void MyGainAudioProcessor::getStateInformation (MemoryBlock& destData) 150 | { 151 | // You should use this method to store your parameters in the memory block. 152 | // You could do that either as raw data, or use the XML or ValueTree classes 153 | // as intermediaries to make it easy to save and load complex data. 154 | } 155 | 156 | void MyGainAudioProcessor::setStateInformation (const void* data, int sizeInBytes) 157 | { 158 | // You should use this method to restore your parameters from this memory block, 159 | // whose contents will have been created by the getStateInformation() call. 160 | } 161 | 162 | //============================================================================== 163 | // This creates new instances of the plugin.. 164 | AudioProcessor* JUCE_CALLTYPE createPluginFilter() 165 | { 166 | return new MyGainAudioProcessor(); 167 | } 168 | -------------------------------------------------------------------------------- /MyGain/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyGainAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyGainAudioProcessor(); 23 | ~MyGainAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | 58 | float myVolume; 59 | 60 | private: 61 | //============================================================================== 62 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyGainAudioProcessor) 63 | }; 64 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | 33 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 34 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 35 | older than the version of the JUCE modules being included. To fix this error, re-save your project 36 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 37 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 38 | */ 39 | #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." 40 | #endif 41 | 42 | #if ! DONT_SET_USING_JUCE_NAMESPACE 43 | // If your code uses a lot of JUCE classes, then this will obviously save you 44 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 45 | using namespace juce; 46 | #endif 47 | 48 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 49 | namespace ProjectInfo 50 | { 51 | const char* const projectName = "MyGate"; 52 | const char* const companyName = ""; 53 | const char* const versionString = "1.0.0"; 54 | const int versionNumber = 0x10000; 55 | } 56 | #endif 57 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyGate/MyGate.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyGate/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyGateAudioProcessorEditor::MyGateAudioProcessorEditor (MyGateAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | Threshold.setBounds(0, 0, 300, 100); 19 | Threshold.setRange(0, 1, 0.01); 20 | Threshold.setSliderStyle(Slider::SliderStyle::LinearHorizontal); 21 | Threshold.setTextBoxStyle(Slider::TextBoxBelow,true,100,50); 22 | // Threshold.onValueChange = [this] {processor._threshold = Threshold.getValue(); }; 23 | Threshold.onValueChange = [this] {*(processor._threshold) = Threshold.getValue(); }; 24 | Threshold.setValue(*(processor._threshold)); 25 | addAndMakeVisible(Threshold); 26 | setSize (400, 300); 27 | } 28 | 29 | MyGateAudioProcessorEditor::~MyGateAudioProcessorEditor() 30 | { 31 | } 32 | 33 | //============================================================================== 34 | void MyGateAudioProcessorEditor::paint (Graphics& g) 35 | { 36 | // (Our component is opaque, so we must completely fill the background with a solid colour) 37 | g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 38 | 39 | g.setColour (Colours::white); 40 | g.setFont (15.0f); 41 | g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1); 42 | } 43 | 44 | void MyGateAudioProcessorEditor::resized() 45 | { 46 | // This is generally where you'll want to lay out the positions of any 47 | // subcomponents in your editor.. 48 | } 49 | -------------------------------------------------------------------------------- /MyGate/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | class MyGateAudioProcessorEditor : public AudioProcessorEditor 20 | { 21 | public: 22 | MyGateAudioProcessorEditor (MyGateAudioProcessor&); 23 | ~MyGateAudioProcessorEditor(); 24 | 25 | //============================================================================== 26 | void paint (Graphics&) override; 27 | void resized() override; 28 | 29 | private: 30 | // This reference is provided as a quick way for your editor to 31 | // access the processor object that created it. 32 | MyGateAudioProcessor& processor; 33 | Slider Threshold; 34 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyGateAudioProcessorEditor) 35 | }; 36 | -------------------------------------------------------------------------------- /MyGate/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyGateAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyGateAudioProcessor(); 23 | ~MyGateAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | // double _threshold = 0.0; 58 | AudioParameterFloat* _threshold; 59 | private: 60 | //============================================================================== 61 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyGateAudioProcessor) 62 | }; 63 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/BinaryData.h: -------------------------------------------------------------------------------- 1 | /* ========================================================================================= 2 | 3 | This is an auto-generated file: Any edits you make may be overwritten! 4 | 5 | */ 6 | 7 | #pragma once 8 | 9 | namespace BinaryData 10 | { 11 | extern const char* knob2_png; 12 | const int knob2_pngSize = 43142; 13 | 14 | extern const char* background_png; 15 | const int background_pngSize = 301910; 16 | 17 | extern const char* Knob_png; 18 | const int Knob_pngSize = 55937; 19 | 20 | // Number of elements in the namedResourceList and originalFileNames arrays. 21 | const int namedResourceListSize = 3; 22 | 23 | // Points to the start of a list of resource names. 24 | extern const char* namedResourceList[]; 25 | 26 | // Points to the start of a list of resource filenames. 27 | extern const char* originalFilenames[]; 28 | 29 | // If you provide the name of one of the binary resource variables above, this function will 30 | // return the corresponding data and its size (or a null pointer if the name isn't found). 31 | const char* getNamedResource (const char* resourceNameUTF8, int& dataSizeInBytes); 32 | 33 | // If you provide the name of one of the binary resource variables above, this function will 34 | // return the corresponding original, non-mangled filename (or a null pointer if the name isn't found). 35 | const char* getNamedResourceOriginalFilename (const char* resourceNameUTF8); 36 | } 37 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | #include "BinaryData.h" 33 | 34 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 35 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 36 | older than the version of the JUCE modules being included. To fix this error, re-save your project 37 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 38 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 39 | */ 40 | #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." 41 | #endif 42 | 43 | #if ! DONT_SET_USING_JUCE_NAMESPACE 44 | // If your code uses a lot of JUCE classes, then this will obviously save you 45 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 46 | using namespace juce; 47 | #endif 48 | 49 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 50 | namespace ProjectInfo 51 | { 52 | const char* const projectName = "MyImage"; 53 | const char* const companyName = ""; 54 | const char* const versionString = "1.0.0"; 55 | const int versionNumber = 0x10000; 56 | } 57 | #endif 58 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyImage/MyImage.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /MyImage/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyImageAudioProcessorEditor::MyImageAudioProcessorEditor (MyImageAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | myImageComponent.setImage(ImageCache::getFromMemory(BinaryData::background_png, BinaryData::background_pngSize)); 19 | 20 | myImageComponent.setImagePlacement(RectanglePlacement(RectanglePlacement::stretchToFit)); 21 | 22 | addAndMakeVisible(myImageComponent); 23 | 24 | myImageComponent.setBounds(getLocalBounds()); 25 | 26 | setSize (837, 526); 27 | 28 | mySlider.setBounds(0, 0, 837, 526); 29 | mySlider.setSliderStyle(Slider::SliderStyle::RotaryVerticalDrag); 30 | mySlider.setTextBoxStyle(Slider::NoTextBox, false, 0, 0); 31 | mySlider.setRange(0, 1,0.01); 32 | 33 | myLookAndFeel = new MyLookAndFeel(); 34 | mySlider.setLookAndFeel(myLookAndFeel); 35 | addAndMakeVisible(mySlider); 36 | } 37 | 38 | MyImageAudioProcessorEditor::~MyImageAudioProcessorEditor() 39 | { 40 | } 41 | 42 | //============================================================================== 43 | void MyImageAudioProcessorEditor::paint (Graphics& g) 44 | { 45 | // (Our component is opaque, so we must completely fill the background with a solid colour) 46 | // g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 47 | // 48 | // g.setColour (Colours::white); 49 | // g.setFont (15.0f); 50 | // g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1); 51 | } 52 | 53 | void MyImageAudioProcessorEditor::resized() 54 | { 55 | myImageComponent.setBounds(getLocalBounds()); 56 | // This is generally where you'll want to lay out the positions of any 57 | // subcomponents in your editor.. 58 | } 59 | -------------------------------------------------------------------------------- /MyImage/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | 20 | class MyLookAndFeel : public LookAndFeel_V3 21 | { 22 | public: 23 | void drawRotarySlider (Graphics &g, int x, int y, int width, int height, float sliderPosProportional, const float rotaryStartAngle, const float rotaryEndAngle, Slider &slider) 24 | { 25 | auto img1 =ImageCache::getFromMemory(BinaryData::Knob_png, BinaryData::Knob_pngSize); 26 | 27 | g.drawImageTransformed(img1, AffineTransform::rotation (rotaryEndAngle*slider.getValue(), img1.getWidth()/2, img1.getHeight()/2)); 28 | 29 | } 30 | }; 31 | 32 | class MyImageAudioProcessorEditor : public AudioProcessorEditor 33 | { 34 | public: 35 | MyImageAudioProcessorEditor (MyImageAudioProcessor&); 36 | ~MyImageAudioProcessorEditor(); 37 | 38 | //============================================================================== 39 | void paint (Graphics&) override; 40 | void resized() override; 41 | 42 | private: 43 | // This reference is provided as a quick way for your editor to 44 | // access the processor object that created it. 45 | MyImageAudioProcessor& processor; 46 | ImageComponent myImageComponent; 47 | Slider mySlider; 48 | MyLookAndFeel* myLookAndFeel; 49 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyImageAudioProcessorEditor) 50 | }; 51 | 52 | 53 | -------------------------------------------------------------------------------- /MyImage/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyImageAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyImageAudioProcessor(); 23 | ~MyImageAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | 58 | private: 59 | //============================================================================== 60 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyImageAudioProcessor) 61 | }; 62 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | 33 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 34 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 35 | older than the version of the JUCE modules being included. To fix this error, re-save your project 36 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 37 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 38 | */ 39 | #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." 40 | #endif 41 | 42 | #if ! DONT_SET_USING_JUCE_NAMESPACE 43 | // If your code uses a lot of JUCE classes, then this will obviously save you 44 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 45 | using namespace juce; 46 | #endif 47 | 48 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 49 | namespace ProjectInfo 50 | { 51 | const char* const projectName = "MyOsc"; 52 | const char* const companyName = ""; 53 | const char* const versionString = "1.0.0"; 54 | const int versionNumber = 0x10000; 55 | } 56 | #endif 57 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyOsc/MyOsc.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 9 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /MyOsc/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyOscAudioProcessorEditor::MyOscAudioProcessorEditor (MyOscAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | // Make sure that before the constructor has finished, you've set the 19 | // editor's size to whatever you need it to be. 20 | setSize (400, 300); 21 | } 22 | 23 | MyOscAudioProcessorEditor::~MyOscAudioProcessorEditor() 24 | { 25 | } 26 | 27 | //============================================================================== 28 | void MyOscAudioProcessorEditor::paint (Graphics& g) 29 | { 30 | // (Our component is opaque, so we must completely fill the background with a solid colour) 31 | g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 32 | 33 | g.setColour (Colours::white); 34 | g.setFont (15.0f); 35 | g.drawFittedText ("Hello World", getLocalBounds(), Justification::centred, 1); 36 | } 37 | 38 | void MyOscAudioProcessorEditor::resized() 39 | { 40 | // This is generally where you'll want to lay out the positions of any 41 | // subcomponents in your editor.. 42 | } 43 | -------------------------------------------------------------------------------- /MyOsc/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | class MyOscAudioProcessorEditor : public AudioProcessorEditor 20 | { 21 | public: 22 | MyOscAudioProcessorEditor (MyOscAudioProcessor&); 23 | ~MyOscAudioProcessorEditor(); 24 | 25 | //============================================================================== 26 | void paint (Graphics&) override; 27 | void resized() override; 28 | 29 | private: 30 | // This reference is provided as a quick way for your editor to 31 | // access the processor object that created it. 32 | MyOscAudioProcessor& processor; 33 | 34 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyOscAudioProcessorEditor) 35 | }; 36 | -------------------------------------------------------------------------------- /MyOsc/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyOscAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyOscAudioProcessor(); 23 | ~MyOscAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | 58 | 59 | private: 60 | //============================================================================== 61 | double currentAngle = 0.0, volume = 0.1, frequency = -1; 62 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyOscAudioProcessor) 63 | }; 64 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/JuceHeader.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | This is the header file that your files should include in order to get all the 7 | JUCE library headers. You should avoid including the JUCE headers directly in 8 | your own source files, because that wouldn't pick up the correct configuration 9 | options for your app. 10 | 11 | */ 12 | 13 | #pragma once 14 | 15 | #include "AppConfig.h" 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | 32 | 33 | #if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION 34 | /** If you've hit this error then the version of the Projucer that was used to generate this project is 35 | older than the version of the JUCE modules being included. To fix this error, re-save your project 36 | using the latest version of the Projucer or, if you aren't using the Projucer to manage your project, 37 | remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file. 38 | */ 39 | #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." 40 | #endif 41 | 42 | #if ! DONT_SET_USING_JUCE_NAMESPACE 43 | // If your code uses a lot of JUCE classes, then this will obviously save you 44 | // a lot of typing, but can be disabled by setting DONT_SET_USING_JUCE_NAMESPACE. 45 | using namespace juce; 46 | #endif 47 | 48 | #if ! JUCE_DONT_DECLARE_PROJECTINFO 49 | namespace ProjectInfo 50 | { 51 | const char* const projectName = "MyReverb"; 52 | const char* const companyName = ""; 53 | const char* const versionString = "1.0.0"; 54 | const int versionNumber = 0x10000; 55 | } 56 | #endif 57 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_devices.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_devices.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_formats.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_formats.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AAX.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AAX.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AU.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AU_1.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AU_2.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_AUv3.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS.r: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_1.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_4.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_RTAS_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_Standalone.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_Unity.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_VST3.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_VST_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_plugin_client_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_processors.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_processors.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_utils.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_audio_utils.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_cryptography.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_cryptography.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_gui_extra.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_gui_extra.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_opengl.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/JuceLibraryCode/include_juce_opengl.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /MyReverb/MyReverb.jucer: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /MyReverb/Source/PluginEditor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyReverbAudioProcessorEditor::MyReverbAudioProcessorEditor (MyReverbAudioProcessor& p) 16 | : AudioProcessorEditor (&p), processor (p) 17 | { 18 | RoomSize.setRange(0, 1, 0.01); 19 | RoomSize.setBounds(0, 0, 300, 50); 20 | RoomSize.setSliderStyle(Slider::SliderStyle::LinearHorizontal); 21 | RoomSize.setTextBoxStyle(Slider::TextBoxBelow,true,100,50); 22 | 23 | RoomSize.setValue(processor.reverbParameters.roomSize); 24 | RoomSize.onValueChange = [this] 25 | { 26 | processor.reverbParameters.roomSize = RoomSize.getValue(); 27 | processor.reverbInstance.setParameters(processor.reverbParameters); 28 | }; 29 | 30 | addAndMakeVisible(RoomSize); 31 | setSize (400, 300); 32 | } 33 | 34 | MyReverbAudioProcessorEditor::~MyReverbAudioProcessorEditor() 35 | { 36 | } 37 | 38 | //============================================================================== 39 | void MyReverbAudioProcessorEditor::paint (Graphics& g) 40 | { 41 | // (Our component is opaque, so we must completely fill the background with a solid colour) 42 | g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); 43 | 44 | g.setColour (Colours::white); 45 | g.setFont (15.0f); 46 | g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1); 47 | } 48 | 49 | void MyReverbAudioProcessorEditor::resized() 50 | { 51 | // This is generally where you'll want to lay out the positions of any 52 | // subcomponents in your editor.. 53 | } 54 | -------------------------------------------------------------------------------- /MyReverb/Source/PluginEditor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin editor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | #include "PluginProcessor.h" 15 | 16 | //============================================================================== 17 | /** 18 | */ 19 | class MyReverbAudioProcessorEditor : public AudioProcessorEditor 20 | { 21 | public: 22 | MyReverbAudioProcessorEditor (MyReverbAudioProcessor&); 23 | ~MyReverbAudioProcessorEditor(); 24 | 25 | //============================================================================== 26 | void paint (Graphics&) override; 27 | void resized() override; 28 | 29 | private: 30 | // This reference is provided as a quick way for your editor to 31 | // access the processor object that created it. 32 | MyReverbAudioProcessor& processor; 33 | Slider RoomSize; 34 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyReverbAudioProcessorEditor) 35 | }; 36 | -------------------------------------------------------------------------------- /MyReverb/Source/PluginProcessor.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #include "PluginProcessor.h" 12 | #include "PluginEditor.h" 13 | 14 | //============================================================================== 15 | MyReverbAudioProcessor::MyReverbAudioProcessor() 16 | #ifndef JucePlugin_PreferredChannelConfigurations 17 | : AudioProcessor (BusesProperties() 18 | #if ! JucePlugin_IsMidiEffect 19 | #if ! JucePlugin_IsSynth 20 | .withInput ("Input", AudioChannelSet::stereo(), true) 21 | #endif 22 | .withOutput ("Output", AudioChannelSet::stereo(), true) 23 | #endif 24 | ) 25 | #endif 26 | { 27 | } 28 | 29 | MyReverbAudioProcessor::~MyReverbAudioProcessor() 30 | { 31 | } 32 | 33 | //============================================================================== 34 | const String MyReverbAudioProcessor::getName() const 35 | { 36 | return JucePlugin_Name; 37 | } 38 | 39 | bool MyReverbAudioProcessor::acceptsMidi() const 40 | { 41 | #if JucePlugin_WantsMidiInput 42 | return true; 43 | #else 44 | return false; 45 | #endif 46 | } 47 | 48 | bool MyReverbAudioProcessor::producesMidi() const 49 | { 50 | #if JucePlugin_ProducesMidiOutput 51 | return true; 52 | #else 53 | return false; 54 | #endif 55 | } 56 | 57 | bool MyReverbAudioProcessor::isMidiEffect() const 58 | { 59 | #if JucePlugin_IsMidiEffect 60 | return true; 61 | #else 62 | return false; 63 | #endif 64 | } 65 | 66 | double MyReverbAudioProcessor::getTailLengthSeconds() const 67 | { 68 | return 0.0; 69 | } 70 | 71 | int MyReverbAudioProcessor::getNumPrograms() 72 | { 73 | return 1; // NB: some hosts don't cope very well if you tell them there are 0 programs, 74 | // so this should be at least 1, even if you're not really implementing programs. 75 | } 76 | 77 | int MyReverbAudioProcessor::getCurrentProgram() 78 | { 79 | return 0; 80 | } 81 | 82 | void MyReverbAudioProcessor::setCurrentProgram (int index) 83 | { 84 | } 85 | 86 | const String MyReverbAudioProcessor::getProgramName (int index) 87 | { 88 | return {}; 89 | } 90 | 91 | void MyReverbAudioProcessor::changeProgramName (int index, const String& newName) 92 | { 93 | } 94 | 95 | //============================================================================== 96 | void MyReverbAudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock) 97 | { 98 | reverbInstance.setSampleRate(sampleRate); 99 | } 100 | 101 | void MyReverbAudioProcessor::releaseResources() 102 | { 103 | // When playback stops, you can use this as an opportunity to free up any 104 | // spare memory, etc. 105 | } 106 | 107 | #ifndef JucePlugin_PreferredChannelConfigurations 108 | bool MyReverbAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const 109 | { 110 | #if JucePlugin_IsMidiEffect 111 | ignoreUnused (layouts); 112 | return true; 113 | #else 114 | // This is the place where you check if the layout is supported. 115 | // In this template code we only support mono or stereo. 116 | if (layouts.getMainOutputChannelSet() != AudioChannelSet::mono() 117 | && layouts.getMainOutputChannelSet() != AudioChannelSet::stereo()) 118 | return false; 119 | 120 | // This checks if the input layout matches the output layout 121 | #if ! JucePlugin_IsSynth 122 | if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet()) 123 | return false; 124 | #endif 125 | 126 | return true; 127 | #endif 128 | } 129 | #endif 130 | 131 | void MyReverbAudioProcessor::processBlock (AudioBuffer& buffer, MidiBuffer& midiMessages) 132 | { 133 | ScopedNoDenormals noDenormals; 134 | 135 | 136 | reverbInstance.processStereo(buffer.getWritePointer(0), buffer.getWritePointer(1), buffer.getNumSamples()); 137 | 138 | } 139 | 140 | //============================================================================== 141 | bool MyReverbAudioProcessor::hasEditor() const 142 | { 143 | return true; // (change this to false if you choose to not supply an editor) 144 | } 145 | 146 | AudioProcessorEditor* MyReverbAudioProcessor::createEditor() 147 | { 148 | return new MyReverbAudioProcessorEditor (*this); 149 | } 150 | 151 | //============================================================================== 152 | void MyReverbAudioProcessor::getStateInformation (MemoryBlock& destData) 153 | { 154 | // You should use this method to store your parameters in the memory block. 155 | // You could do that either as raw data, or use the XML or ValueTree classes 156 | // as intermediaries to make it easy to save and load complex data. 157 | } 158 | 159 | void MyReverbAudioProcessor::setStateInformation (const void* data, int sizeInBytes) 160 | { 161 | // You should use this method to restore your parameters from this memory block, 162 | // whose contents will have been created by the getStateInformation() call. 163 | } 164 | 165 | //============================================================================== 166 | // This creates new instances of the plugin.. 167 | AudioProcessor* JUCE_CALLTYPE createPluginFilter() 168 | { 169 | return new MyReverbAudioProcessor(); 170 | } 171 | -------------------------------------------------------------------------------- /MyReverb/Source/PluginProcessor.h: -------------------------------------------------------------------------------- 1 | /* 2 | ============================================================================== 3 | 4 | This file was auto-generated! 5 | 6 | It contains the basic framework code for a JUCE plugin processor. 7 | 8 | ============================================================================== 9 | */ 10 | 11 | #pragma once 12 | 13 | #include 14 | 15 | //============================================================================== 16 | /** 17 | */ 18 | class MyReverbAudioProcessor : public AudioProcessor 19 | { 20 | public: 21 | //============================================================================== 22 | MyReverbAudioProcessor(); 23 | ~MyReverbAudioProcessor(); 24 | 25 | //============================================================================== 26 | void prepareToPlay (double sampleRate, int samplesPerBlock) override; 27 | void releaseResources() override; 28 | 29 | #ifndef JucePlugin_PreferredChannelConfigurations 30 | bool isBusesLayoutSupported (const BusesLayout& layouts) const override; 31 | #endif 32 | 33 | void processBlock (AudioBuffer&, MidiBuffer&) override; 34 | 35 | //============================================================================== 36 | AudioProcessorEditor* createEditor() override; 37 | bool hasEditor() const override; 38 | 39 | //============================================================================== 40 | const String getName() const override; 41 | 42 | bool acceptsMidi() const override; 43 | bool producesMidi() const override; 44 | bool isMidiEffect() const override; 45 | double getTailLengthSeconds() const override; 46 | 47 | //============================================================================== 48 | int getNumPrograms() override; 49 | int getCurrentProgram() override; 50 | void setCurrentProgram (int index) override; 51 | const String getProgramName (int index) override; 52 | void changeProgramName (int index, const String& newName) override; 53 | 54 | //============================================================================== 55 | void getStateInformation (MemoryBlock& destData) override; 56 | void setStateInformation (const void* data, int sizeInBytes) override; 57 | 58 | 59 | Reverb reverbInstance ; 60 | Reverb::Parameters reverbParameters; 61 | private: 62 | //============================================================================== 63 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MyReverbAudioProcessor) 64 | }; 65 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Juce_Audio_Tutorial 2 | Tutorials for JUCE Audio Development. 3 | 4 | 音频开发系列教程源码,[点击这里查看教程](http://www.zhangxinhao.com/) 5 | --------------------------------------------------------------------------------