Skip to content

Commit

Permalink
A clap first juce based sc only standalone (#1079)
Browse files Browse the repository at this point in the history
* A clap first juce based sc only standalone

While waiting and working on clap wrapper standalone put
in place a temporary hacked version of the juce standalone
filter window specific to scxt which doesn't require an audio
processor intermediate nor juceaide.

This commit turns it on but doesn't make it a default. Stil work
to do on installer and testing on linux and windows (which partly
this PR does).
  • Loading branch information
baconpaul authored Aug 9, 2024
1 parent 35fdc8c commit b6b98bb
Show file tree
Hide file tree
Showing 10 changed files with 494 additions and 49 deletions.
17 changes: 11 additions & 6 deletions clients/clap-first/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,17 @@ if (APPLE)
endif()

set(SA_TARGET ${PROJECT_NAME}_standalone)
add_executable(${SA_TARGET} scxt-clap-entry.cpp)
target_link_libraries(${SA_TARGET} PRIVATE ${IMPL_TARGET})
target_add_standalone_wrapper(TARGET ${SA_TARGET}
OUTPUT_NAME "Shortcircuit XT Clap First"
STATICALLY_LINKED_CLAP_ENTRY True
PLUGIN_ID "org.surge-synth-team.scxt.clap-first.scxt-plugin")
add_executable(${SA_TARGET} MACOSX_BUNDLE WIN32)
target_sources(${SA_TARGET} PRIVATE scxt-juce-standalone/scxt-juce-standalone.cpp)
target_link_libraries(${SA_TARGET} PRIVATE ${IMPL_TARGET} juce::juce_audio_devices juce::juce_audio_utils)
target_compile_definitions(${SA_TARGET} PRIVATE JUCE_USE_FLAC=0)

#add_executable(${SA_TARGET} scxt-clap-entry.cpp)
#target_link_libraries(${SA_TARGET} PRIVATE ${IMPL_TARGET})
#target_add_standalone_wrapper(TARGET ${SA_TARGET}
# OUTPUT_NAME "Shortcircuit XT Clap First"
# STATICALLY_LINKED_CLAP_ENTRY True
# PLUGIN_ID "org.surge-synth-team.scxt.clap-first.scxt-plugin")

set(ALL_TARGET ${PROJECT_NAME}_all)
add_custom_target(${ALL_TARGET})
Expand Down
29 changes: 26 additions & 3 deletions clients/clap-first/clap-config.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
//
// Created by Paul Walker on 10/25/23.
//
/*
* Shortcircuit XT - a Surge Synth Team product
*
* A fully featured creative sampler, available as a standalone
* and plugin for multiple platforms.
*
* Copyright 2019 - 2024, Various authors, as described in the github
* transaction log.
*
* ShortcircuitXT is released under the Gnu General Public Licence
* V3 or later (GPL-3.0-or-later). The license is found in the file
* "LICENSE" in the root of this repository or at
* https://www.gnu.org/licenses/gpl-3.0.en.html
*
* Individual sections of code which comprises ShortcircuitXT in this
* repository may also be used under an MIT license. Please see the
* section "Licensing" in "README.md" for details.
*
* ShortcircuitXT is inspired by, and shares code with, the
* commercial product Shortcircuit 1 and 2, released by VemberTech
* in the mid 2000s. The code for Shortcircuit 2 was opensourced in
* 2020 at the outset of this project.
*
* All source for ShortcircuitXT is available at
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#include "clap-config.h"
#include "clap/helpers/plugin.hxx"
Expand Down
33 changes: 28 additions & 5 deletions clients/clap-first/clap-config.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
//
// Created by Paul Walker on 10/25/23.
//
/*
* Shortcircuit XT - a Surge Synth Team product
*
* A fully featured creative sampler, available as a standalone
* and plugin for multiple platforms.
*
* Copyright 2019 - 2024, Various authors, as described in the github
* transaction log.
*
* ShortcircuitXT is released under the Gnu General Public Licence
* V3 or later (GPL-3.0-or-later). The license is found in the file
* "LICENSE" in the root of this repository or at
* https://www.gnu.org/licenses/gpl-3.0.en.html
*
* Individual sections of code which comprises ShortcircuitXT in this
* repository may also be used under an MIT license. Please see the
* section "Licensing" in "README.md" for details.
*
* ShortcircuitXT is inspired by, and shares code with, the
* commercial product Shortcircuit 1 and 2, released by VemberTech
* in the mid 2000s. The code for Shortcircuit 2 was opensourced in
* 2020 at the outset of this project.
*
* All source for ShortcircuitXT is available at
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

#ifndef SHORTCIRCUITXT_CLAP_CONFIG_H
#define SHORTCIRCUITXT_CLAP_CONFIG_H
#ifndef CLIENTS_CLAP_FIRST_CLAP_CONFIG_H
#define CLIENTS_CLAP_FIRST_CLAP_CONFIG_H

#include <clap/helpers/plugin.hh>

Expand Down
34 changes: 20 additions & 14 deletions clients/clap-first/scxt-clap-entry.cpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
/*
* Conduit - a project highlighting CLAP-first development
* and exercising the surge synth team libraries.
* Shortcircuit XT - a Surge Synth Team product
*
* Copyright 2023 Paul Walker and authors in github
* A fully featured creative sampler, available as a standalone
* and plugin for multiple platforms.
*
* This file you are viewing now is released under the
* MIT license as described in LICENSE.md
* Copyright 2019 - 2024, Various authors, as described in the github
* transaction log.
*
* The assembled program which results from compiling this
* project has GPL3 dependencies, so if you distribute
* a binary, the combined work would be a GPL3 product.
* ShortcircuitXT is released under the Gnu General Public Licence
* V3 or later (GPL-3.0-or-later). The license is found in the file
* "LICENSE" in the root of this repository or at
* https://www.gnu.org/licenses/gpl-3.0.en.html
*
* Roughly, that means you are welcome to copy the code and
* ideas in the src/ directory, but perhaps not code from elsewhere
* if you are closed source or non-GPL3. And if you do copy this code
* you will need to replace some of the dependencies. Please see
* the discussion in README.md for further information on what this may
* mean for you.
* Individual sections of code which comprises ShortcircuitXT in this
* repository may also be used under an MIT license. Please see the
* section "Licensing" in "README.md" for details.
*
* ShortcircuitXT is inspired by, and shares code with, the
* commercial product Shortcircuit 1 and 2, released by VemberTech
* in the mid 2000s. The code for Shortcircuit 2 was opensourced in
* 2020 at the outset of this project.
*
* All source for ShortcircuitXT is available at
* https://github.com/surge-synthesizer/shortcircuit-xt
*/

/*
Expand Down
Loading

0 comments on commit b6b98bb

Please sign in to comment.