Skip to content

Commit

Permalink
converted to pamplejuce. Some images, like the app image, aren't bein…
Browse files Browse the repository at this point in the history
…g used, and cannot include dwmapi.h on win
  • Loading branch information
vberthiaume committed Jun 7, 2024
1 parent 3b31550 commit 697fcec
Show file tree
Hide file tree
Showing 50 changed files with 38 additions and 325 deletions.
15 changes: 9 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ include(PamplejuceMacOS)
# This is the internal name of the project and the name of JUCE's shared code target
# Note: This cannot have spaces (it may be 2024, but you can't have it all!)
# Worry not, JUCE's PRODUCT_NAME can have spaces (and is what DAWs display)
set(PROJECT_NAME "Pamplejuce")
set(PROJECT_NAME "ProPhat")

# Worry not, JUCE's PRODUCT_NAME can have spaces (and is what DAWs will display)
# You can also just have it be the same thing as PROJECT_NAME
# You may want to append the major version on the end of this (and PROJECT_NAME) ala:
# set(PROJECT_NAME "MyPlugin_v${MAJOR_VERSION}")
# Doing so enables major versions to show up in IDEs and DAWs as separate plugins
# allowing you to change parameters and behavior without breaking existing user projects
set(PRODUCT_NAME "Pamplejuce Demo")
set(PRODUCT_NAME "ProPhat")

# Change me! Used for the MacOS bundle name and Installers
set(COMPANY_NAME "Pamplejuce Company")
set(COMPANY_NAME "BMP4")

# Change me! Used for the MacOS bundle identifier (and signing)
set(BUNDLE_ID "com.pamplejuce.pamplejuce")
set(BUNDLE_ID "com.BMP4.ProPhat")

# Change me! Set the plugin formats you want built
# Valid choices: AAX Unity VST VST3 AU AUv3 Standalone
Expand Down Expand Up @@ -66,12 +66,12 @@ juce_add_plugin("${PROJECT_NAME}"
# Change me!
# A four-character plugin id
# First character MUST be uppercase for AU formats
PLUGIN_MANUFACTURER_CODE Pamp
PLUGIN_MANUFACTURER_CODE BMP4

# Change me!
# A unique four-character plugin id
# Note: this must have at least one upper-case character
PLUGIN_CODE P001
PLUGIN_CODE Bvql
FORMATS "${FORMATS}"

# The name of your final executable
Expand Down Expand Up @@ -154,3 +154,6 @@ include(Benchmarks)

# Pass some config to GA (like our PRODUCT_NAME)
include(GitHubENV)

# add_compile_definitions(_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS=1) #This silences a bunch of warnings shown by MSVC when building juce with c++23
add_compile_definitions(JUCE_USE_CUSTOM_PLUGIN_STANDALONE_APP=1)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/images/icon.xcf
Binary file not shown.
File renamed without changes
Binary file removed assets/images/pamplejuce.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions benchmarks/Benchmarks.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "PluginEditor.h"
#include "UI/ProPhatEditor.h"
#include "catch2/benchmark/catch_benchmark_all.hpp"
#include "catch2/catch_test_macros.hpp"

Expand All @@ -8,15 +8,15 @@ TEST_CASE ("Boot performance")
(Catch::Benchmark::Chronometer meter)
{
auto gui = juce::ScopedJuceInitialiser_GUI {};
std::vector<Catch::Benchmark::storage_for<PluginProcessor>> storage (size_t (meter.runs()));
std::vector<Catch::Benchmark::storage_for<ProPhatProcessor>> storage (size_t (meter.runs()));
meter.measure ([&] (int i) { storage[(size_t) i].construct(); });
};

BENCHMARK_ADVANCED ("Processor destructor")
(Catch::Benchmark::Chronometer meter)
{
auto gui = juce::ScopedJuceInitialiser_GUI {};
std::vector<Catch::Benchmark::destructable_object<PluginProcessor>> storage (size_t (meter.runs()));
std::vector<Catch::Benchmark::destructable_object<ProPhatProcessor>> storage (size_t (meter.runs()));
for (auto& s : storage)
s.construct();
meter.measure ([&] (int i) { storage[(size_t) i].destruct(); });
Expand All @@ -27,7 +27,7 @@ TEST_CASE ("Boot performance")
{
auto gui = juce::ScopedJuceInitialiser_GUI {};

PluginProcessor plugin;
ProPhatProcessor plugin;

// due to complex construction logic of the editor, let's measure open/close together
meter.measure ([&] (int /* i */) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 0 additions & 48 deletions source/PluginEditor.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions source/PluginEditor.h

This file was deleted.

186 changes: 0 additions & 186 deletions source/PluginProcessor.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions source/PluginProcessor.h

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 697fcec

Please sign in to comment.