diff --git a/CMakeLists.txt b/CMakeLists.txt index bbe8ebc..2e2e39e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ cmake_minimum_required(VERSION 3.11) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) +set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") ################################################################################ # Paths @@ -33,6 +34,8 @@ endif() option(SYSTEM_BOOST "Use boost libraries from system. If your SC was built with this enabled, so should FluCoMa-sc" OFF) +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/scripts") + ################################################################################ # Main project project (flucoma-sc LANGUAGES CXX) @@ -55,21 +58,8 @@ endif() set_property(GLOBAL PROPERTY USE_FOLDERS ON) set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY ON) -MACRO(SUBDIRLIST result curdir) - FILE(GLOB children RELATIVE ${curdir} ${curdir}/*) - SET(dirlist "") - FOREACH(child ${children}) - IF(IS_DIRECTORY ${curdir}/${child}) - LIST(APPEND dirlist ${child}) - ENDIF() - ENDFOREACH() - SET(${result} ${dirlist}) -ENDMACRO() - include(FetchContent) -set(FETCHCONTENT_QUIET FALSE) - FetchContent_Declare( flucoma-core GIT_REPOSITORY https://github.com/flucoma/flucoma-core.git @@ -90,14 +80,14 @@ if(FLUID_PATH) ) endif() -FetchContent_GetProperties(flucoma-core) -if(NOT flucoma-core_POPULATED) - FetchContent_Populate(flucoma-core) - add_subdirectory(${flucoma-core_SOURCE_DIR} ${flucoma-core_BINARY_DIR}) - include(flucoma_version) - include(flucoma-buildtools) - include(flucoma-buildtype) -endif() +FetchContent_MakeAvailable(flucoma-core) +# if(NOT flucoma-core_POPULATED) +# FetchContent_Populate(flucoma-core) +# add_subdirectory(${flucoma-core_SOURCE_DIR} ${flucoma-core_BINARY_DIR}) +include(flucoma_version) +include(flucoma-buildtools) +include(flucoma-buildtype) +# endif() option(DOCS "Generate scdocs" OFF) set(FLUID_DOCS_PATH "" CACHE PATH "Optional path to flucoma-docs (needed for docs); will download if absent") @@ -111,15 +101,17 @@ if(DOCS) FETCHCONTENT_SOURCE_DIR_FLUCOMA-DOCS ${FLUID_DOCS_PATH} ABSOLUTE ) endif() - - FetchContent_GetProperties(flucoma-docs) - if(NOT flucoma-docs_POPULATED) - FetchContent_Populate(flucoma-docs) - file(GLOB_RECURSE DOC_SOURCE RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${flucoma-docs_SOURCE_DIR}/**/*.cpp" ) - source_group("\\SC Doc Gen" FILES ${DOC_SOURCE}) - add_subdirectory(${flucoma-docs_SOURCE_DIR} ${flucoma-docs_BINARY_DIR}) - endif() - + FetchContent_MakeAvailable(flucoma-docs) + # FetchContent_GetProperties(flucoma-docs) + # if(NOT flucoma-docs_POPULATED) + # FetchContent_Populate(flucoma-docs) + # file(GLOB_RECURSE DOC_SOURCE RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${flucoma-docs_SOURCE_DIR}/**/*.cpp" ) + # source_group("\\SC Doc Gen" FILES ${DOC_SOURCE}) + # add_subdirectory(${flucoma-docs_SOURCE_DIR} ${flucoma-docs_BINARY_DIR}) + # endif() + include(FlucomaDocs) + set(SC_DOC_OUT "${CMAKE_BINARY_DIR}/sc_ref") + add_ref_target(sc "Making SC docs") add_custom_target(SC_MAKE_DOCS ALL DEPENDS MAKE_SC_REF) endif() @@ -133,6 +125,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_LIBRARY_OUTPUT_DIRECT set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_TEST "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}") set(CMAKE_SHARED_MODULE_PREFIX "") +set(CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/pdbtmp") +set(CMAKE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/pdbtmp") + if(APPLE OR WIN32) set(CMAKE_SHARED_MODULE_SUFFIX ".scx") endif() @@ -192,8 +187,8 @@ if(APPLE) target_compile_options(FLUID_SC_COPYREPLYADDR PRIVATE -stdlib=libc++) endif() -target_compile_definitions(FLUID_SC_COPYREPLYADDR PRIVATE BOOST_ALL_NO_LIB BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE) - +target_compile_definitions(FLUID_SC_COPYREPLYADDR PRIVATE BOOST_ALL_NO_LIB PUBLIC BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE) + add_library(FLUID_SC_WRAPPER INTERFACE) target_include_directories(FLUID_SC_WRAPPER INTERFACE @@ -208,18 +203,39 @@ target_sources(FLUID_SC_WRAPPER target_link_libraries(FLUID_SC_WRAPPER INTERFACE FLUID_SC_COPYREPLYADDR) -SUBDIRLIST(PROJECT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src") -foreach (project_dir ${PROJECT_DIRS}) - if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/${project_dir}/CMakeLists.txt") - message("Generating: ${project_dir}") - add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/src/${project_dir}") - endif () -endforeach () +include(MakePluginSources) +# generate targets for standalone clients +get_client_group(NONE client_list) +foreach(client ${client_list}) + get_core_client_header(${client} header) + get_core_client_class(${client} class) + generate_sc_source( + CLIENTS ${client} + HEADERS ${header} + CLASSES ${class} + ) +endforeach() +add_client(DataSetWr clients/rt/FluidDataSetWr.hpp CLASS NRTThreadedDataSetWriter GROUP MANIPULATION) +#generate target for MANIPULATION group +get_client_group(MANIPULATION client_list) +foreach(client ${client_list}) + get_core_client_header(${client} header) + get_core_client_class(${client} class) + list(APPEND MANIPULATION_CLIENTS ${client}) + list(APPEND MANIPULATION_HEADERS ${header}) + list(APPEND MANIPULATION_CLASSES ${class}) +endforeach() -#install bits. +generate_sc_source( + CLIENTS ${MANIPULATION_CLIENTS} + HEADERS ${MANIPULATION_HEADERS} + CLASSES ${MANIPULATION_CLASSES} + FILENAME FluidManipulation +) +#install bits. set(SC_INSTALL_PREFIX "." CACHE PATH "Prefix for assembling SC packages") set(FLUID_PACKAGE_NAME FluidCorpusManipulation CACHE STRING "Name for published package") set(SC_PACKAGE_ROOT ${SC_INSTALL_PREFIX}/${FLUID_PACKAGE_NAME}) diff --git a/scripts/MakeDevTree.cmake b/scripts/MakeDevTree.cmake new file mode 100644 index 0000000..e883f7c --- /dev/null +++ b/scripts/MakeDevTree.cmake @@ -0,0 +1,28 @@ +# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) +# Copyright 2017-2019 University of Huddersfield. +# Licensed under the BSD-3 License. +# See license.md file in the project root for full license information. +# This project has received funding from the European Research Council (ERC) +# under the European Union’s Horizon 2020 research and innovation programme +# (grant agreement No 725899). + +cmake_minimum_required(VERSION 3.18) + +file(GLOB helpfiles "${ROOT}/help/*") +file(GLOB abstractions "${ROOT}/abstractions/*") +file(GLOB externals "${ROOT}/pd_objects/*") + +set(devfolder "${ROOT}/dev") +file(REMOVE_RECURSE ${devfolder}) +file(MAKE_DIRECTORY ${devfolder}) + +foreach(item IN LISTS helpfiles abstractions externals) + get_filename_component(item_name "${item}" NAME) + file(CREATE_LINK "${item}" "${devfolder}/${item_name}" SYMBOLIC) +endforeach() + +file(CREATE_LINK "${CORE_SRC}/Resources/" "${devfolder}/Resources" SYMBOLIC) +file(CREATE_LINK "${BINARIES}/Resources/" "${devfolder}/Resources" SYMBOLIC) +file(CREATE_LINK "${CORE_SRC}/Resources/" "${devfolder}/Resources" SYMBOLIC) +file(CREATE_LINK "${CORE_SRC}/Resources/" "${devfolder}/Resources" SYMBOLIC) +file(CREATE_LINK "${CORE_SRC}/Resources/" "${devfolder}/Resources" SYMBOLIC) diff --git a/scripts/MakePluginSources.cmake b/scripts/MakePluginSources.cmake new file mode 100644 index 0000000..bde37e5 --- /dev/null +++ b/scripts/MakePluginSources.cmake @@ -0,0 +1,129 @@ +# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) +# Copyright 2017-2019 University of Huddersfield. +# Licensed under the BSD-3 License. +# See license.md file in the project root for full license information. +# This project has received funding from the European Research Council (ERC) +# under the European Union’s Horizon 2020 research and innovation programme +# (grant agreement No 725899). + +include(FLuidClientStub) + +function(make_external_name client header var) + set(${var} Fluid${client} PARENT_SCOPE) +endfunction() + +function(add_sc_extension PLUGIN FILENAME) + + add_library(${PLUGIN} MODULE ${FILENAME}) + + if(MSVC) + target_compile_options(${PLUGIN} PRIVATE /external:W0 /W3 /bigobj) + else() + target_compile_options(${PLUGIN} PRIVATE + -Wall -Wextra -Wpedantic -Wreturn-type -Wconversion + ) + + #GCC doesn't have Wno-c++11-narrowing + if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + target_compile_options(${PLUGIN} PRIVATE -Wno-c++11-narrowing) + endif() + endif() + + if(APPLE) + set_target_properties(${PLUGIN} PROPERTIES + XCODE_GENERATE_SCHEME ON + ) + #If we target 10.7 (actually < 10.9), we have to manually include this: + target_compile_options(${PLUGIN} PRIVATE -stdlib=libc++) + endif() + + target_link_libraries( + ${PLUGIN} + PRIVATE + FLUID_DECOMPOSITION + FLUID_SC_WRAPPER + HISSTools_FFT + ) + + target_include_directories( + ${PLUGIN} + PRIVATE + "${LOCAL_INCLUDES}" + "${FLUID_VERSION_PATH}" + ) + + file(GLOB_RECURSE FLUID_SC_HEADERS CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/include/wrapper/*.hpp") + + target_sources( + ${PLUGIN} PUBLIC ${FLUID_SC_HEADERS} + ) + + target_include_directories( + ${PLUGIN} + SYSTEM PRIVATE + "${SC_PATH}/include/plugin_interface" + "${SC_PATH}/include/common" + "${SC_PATH}/common" + "${SC_PATH}/external_libraries/boost" #we need boost::align for deallocating buffer memory :-( + ) + + get_property(HEADERS TARGET FLUID_DECOMPOSITION PROPERTY INTERFACE_SOURCES) + source_group(TREE "${flucoma-core_SOURCE_DIR}/include" FILES ${HEADERS}) + source_group(TREE "${CMAKE_SOURCE_DIR}/include/wrapper" PREFIX wrapper FILES ${FLUID_SC_HEADERS}) + + if(MINGW) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign") + endif() + + if(DEFINED FLUID_ARCH) + target_compile_options(${PLUGIN} PRIVATE ${FLUID_ARCH}) + endif() + + if(MSVC) + target_compile_options(${PLUGIN} PRIVATE -D_USE_MATH_DEFINES) + else() + target_compile_options(${PLUGIN} PRIVATE -fvisibility=hidden) + endif() + + #optional extra build settings (e.g for /bigobj with MSVC) + include( + "${CMAKE_CURRENT_SOURCE_DIR}/scripts/build-settings/${PLUGIN}.cmake" + OPTIONAL + ) +endfunction() + +function(generate_sc_source) + # # Define the supported set of keywords + set(noValues "") + set(singleValues FILENAME EXTERNALS_OUT FILE_OUT) + set(multiValues CLIENTS HEADERS CLASSES) + # # Process the arguments passed in + include(CMakeParseArguments) + cmake_parse_arguments(ARG + "${noValues}" + "${singleValues}" + "${multiValues}" + ${ARGN}) + + set(CCE_WRAPPER "#include ") + set(ENTRY_POINT "PluginLoad(FlucomaPlugin)") + set(WRAPPER_TEMPLATE [=[makeSCWrapper<${class}>("${external}", inTable);]=]) + + set(EXTRA_SOURCE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/src/extra/${ARG_FILENAME}.cpp.in") + + if(EXISTS ${EXTRA_SOURCE_FILE}) + generate_source(${ARGN} EXTRA_SOURCE ${EXTRA_SOURCE_FILE} EXTERNALS_OUT external FILE_OUT outfile) + else() + generate_source(${ARGN} EXTERNALS_OUT external FILE_OUT outfile) + endif() + + if(ARG_FILENAME) + set(external_filename ${ARG_FILENAME}) + else() + list(GET external 0 external_filename) + endif() + + message(STATUS "Generating: ${external_filename}") + add_sc_extension(${external_filename} ${outfile}) +endfunction() diff --git a/scripts/target_post.cmake b/scripts/target_post.cmake deleted file mode 100644 index 487c4ac..0000000 --- a/scripts/target_post.cmake +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -# target_compile_features(${PLUGIN} PRIVATE cxx_std_14) - -if(MSVC) - target_compile_options(${PLUGIN} PRIVATE /W3) -else() - target_compile_options(${PLUGIN} PRIVATE - -Wall -Wextra -Wpedantic -Wreturn-type -Wconversion - ) - - #GCC doesn't have Wno-c++11-narrowing - if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - target_compile_options(${PLUGIN} PRIVATE -Wno-c++11-narrowing) - endif() -endif() - -# set_target_properties(${PLUGIN} PROPERTIES -# CXX_STANDARD 14 -# CXX_STANDARD_REQUIRED YES -# CXX_EXTENSIONS NO -# ) - -if(APPLE) - set_target_properties(${PLUGIN} PROPERTIES - XCODE_GENERATE_SCHEME ON - ) - #If we target 10.7 (actually < 10.9), we have to manually include this: - target_compile_options(${PLUGIN} PRIVATE -stdlib=libc++) -endif() - -target_link_libraries( - ${PLUGIN} - PRIVATE - FLUID_DECOMPOSITION - FLUID_SC_WRAPPER - HISSTools_FFT -) - -target_include_directories( - ${PLUGIN} - PRIVATE - "${LOCAL_INCLUDES}" - "${FLUID_VERSION_PATH}" -) - -file(GLOB_RECURSE FLUID_SC_HEADERS CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/include/wrapper/*.hpp") - -target_sources( - ${PLUGIN} PUBLIC ${FLUID_SC_HEADERS} -) - -target_include_directories( - ${PLUGIN} - SYSTEM PRIVATE - "${SC_PATH}/include/plugin_interface" - "${SC_PATH}/include/common" - "${SC_PATH}/common" - "${SC_PATH}/external_libraries/boost" #we need boost::align for deallocating buffer memory :-( -) - -get_property(HEADERS TARGET FLUID_DECOMPOSITION PROPERTY INTERFACE_SOURCES) -source_group(TREE "${flucoma-core_SOURCE_DIR}/include" FILES ${HEADERS}) -source_group(TREE "${CMAKE_SOURCE_DIR}/include/wrapper" PREFIX wrapper FILES ${FLUID_SC_HEADERS}) - - -# if (SUPERNOVA) -# target_include_directories( -# ${PLUGIN} -# SYSTEM PRIVATE -# "${SC_PATH}/external_libraries/nova-tt" -# "${SC_PATH}/external_libraries/boost_lockfree" -# "${SC_PATH}/external_libraries/boost-lockfree" -# ) -# endif() - -if(MINGW) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mstackrealign") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mstackrealign") -endif() - -if(DEFINED FLUID_ARCH) - target_compile_options(${PLUGIN} PRIVATE ${FLUID_ARCH}) -endif() - -if(MSVC) - target_compile_options(${PLUGIN} PRIVATE -D_USE_MATH_DEFINES) -else() - target_compile_options(${PLUGIN} PRIVATE -fvisibility=hidden) -endif() diff --git a/src/FluidAmpFeature/CMakeLists.txt b/src/FluidAmpFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidAmpFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidAmpFeature/FluidAmpFeature.cpp b/src/FluidAmpFeature/FluidAmpFeature.cpp deleted file mode 100644 index 1abb2c8..0000000 --- a/src/FluidAmpFeature/FluidAmpFeature.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidAmpFeature", ft); -} diff --git a/src/FluidAmpGate/CMakeLists.txt b/src/FluidAmpGate/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidAmpGate/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidAmpGate/FluidAmpGate.cpp b/src/FluidAmpGate/FluidAmpGate.cpp deleted file mode 100644 index d8a0c9b..0000000 --- a/src/FluidAmpGate/FluidAmpGate.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidAmpGate", ft); -} diff --git a/src/FluidAmpSlice/CMakeLists.txt b/src/FluidAmpSlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidAmpSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidAmpSlice/FluidAmpSlice.cpp b/src/FluidAmpSlice/FluidAmpSlice.cpp deleted file mode 100644 index c5ceaa0..0000000 --- a/src/FluidAmpSlice/FluidAmpSlice.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidAmpSlice", ft); -} diff --git a/src/FluidAudioTransport/CMakeLists.txt b/src/FluidAudioTransport/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidAudioTransport/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidAudioTransport/FluidAudioTransport.cpp b/src/FluidAudioTransport/FluidAudioTransport.cpp deleted file mode 100644 index 1815e8b..0000000 --- a/src/FluidAudioTransport/FluidAudioTransport.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidAudioTransport",ft); -} diff --git a/src/FluidBufAmpFeature/CMakeLists.txt b/src/FluidBufAmpFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufAmpFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufAmpFeature/FluidBufAmpFeature.cpp b/src/FluidBufAmpFeature/FluidBufAmpFeature.cpp deleted file mode 100644 index 2ce6e12..0000000 --- a/src/FluidBufAmpFeature/FluidBufAmpFeature.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufAmpFeature", ft); -} diff --git a/src/FluidBufAmpGate/CMakeLists.txt b/src/FluidBufAmpGate/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufAmpGate/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufAmpGate/FluidBufAmpGate.cpp b/src/FluidBufAmpGate/FluidBufAmpGate.cpp deleted file mode 100644 index 9e25548..0000000 --- a/src/FluidBufAmpGate/FluidBufAmpGate.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufAmpGate", ft); -} diff --git a/src/FluidBufAmpSlice/CMakeLists.txt b/src/FluidBufAmpSlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufAmpSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufAmpSlice/FluidBufAmpSlice.cpp b/src/FluidBufAmpSlice/FluidBufAmpSlice.cpp deleted file mode 100644 index 78a5100..0000000 --- a/src/FluidBufAmpSlice/FluidBufAmpSlice.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufAmpSlice", ft); -} diff --git a/src/FluidBufAudioTransport/CMakeLists.txt b/src/FluidBufAudioTransport/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufAudioTransport/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufAudioTransport/FluidBufAudioTransport.cpp b/src/FluidBufAudioTransport/FluidBufAudioTransport.cpp deleted file mode 100644 index 2e84204..0000000 --- a/src/FluidBufAudioTransport/FluidBufAudioTransport.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufAudioTransport",ft); -} diff --git a/src/FluidBufChroma/CMakeLists.txt b/src/FluidBufChroma/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufChroma/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufChroma/FluidBufChroma.cpp b/src/FluidBufChroma/FluidBufChroma.cpp deleted file mode 100644 index 448e5dd..0000000 --- a/src/FluidBufChroma/FluidBufChroma.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufChroma", ft); -} diff --git a/src/FluidBufCompose/CMakeLists.txt b/src/FluidBufCompose/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufCompose/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufCompose/FluidBufCompose.cpp b/src/FluidBufCompose/FluidBufCompose.cpp deleted file mode 100644 index 8ba836d..0000000 --- a/src/FluidBufCompose/FluidBufCompose.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufCompose", ft); -} diff --git a/src/FluidBufCompose/tests.scd b/src/FluidBufCompose/tests.scd deleted file mode 100644 index 0185a0e..0000000 --- a/src/FluidBufCompose/tests.scd +++ /dev/null @@ -1,67 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-SA-UprightPianoPedalWide.wav".resolveRelative); -d = Buffer.new(s); -) - -( -// with basic params (basic summing of each full buffer in all dimensions) -Routine{ - t = Main.elapsedTime; - FluidBufCompose.process(s, srcBufNumA: b.bufnum, srcBufNumB: c.bufnum, dstBufNum: d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play; -) - -d.query; -d.play; -d.plot - -//constructing a mono buffer, with a quiet punch from the synth, with a choked piano resonance from the left channel -( -Routine{ - t = Main.elapsedTime; - FluidBufCompose.process(s, srcBufNumA: b.bufnum, nFramesA: 9000, srcGainA: 0.5, srcBufNumB: c.bufnum, startAtB:30000, nFramesB:44100, nChansB:1, srcGainB:0.9, dstBufNum: d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play; -) - -//constructing a stereo buffer, with the end of the mono synth in both channels, with a piano resonance in swapped stereo -( -Routine{ - t = Main.elapsedTime; - FluidBufCompose.process(s, srcBufNumA: b.bufnum, startAtA: 441000, nChansA: 2, srcGainA: 0.6, srcBufNumB: c.bufnum, nFramesB: 80000, startChanB: 1, nChansB: 2, srcGainB: 0.5, dstStartAtB: 22050, dstStartChanB: 0, dstBufNum: d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play; -) - -//constructing a one second buffer: the first second of each buffer, the mono synth on the right, the piano on the left -( -Routine{ - t = Main.elapsedTime; - FluidBufCompose.process(s, srcBufNumA: b.bufnum, nFramesA: 44100, nChansA: 1, dstStartChanA: 1, srcBufNumB: c.bufnum, nFramesB:44100, nChansB:1, dstBufNum: d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play; -) - -// trying to grow a buffer on itself -e = Buffer.alloc(s,1,1); -( -Routine { - FluidBufCompose.process(s,srcBufNumA: b.bufnum, srcBufNumB: e.bufnum, dstBufNum: e.bufnum); - s.sync; - FluidBufCompose.process(s,srcBufNumA: c.bufnum, nChansA: 1, srcBufNumB: e.bufnum, dstBufNum: e.bufnum); - s.sync; -}.play; -) - -e.plot -e.play \ No newline at end of file diff --git a/src/FluidBufFlatten/CMakeLists.txt b/src/FluidBufFlatten/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufFlatten/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufFlatten/FluidBufFlatten.cpp b/src/FluidBufFlatten/FluidBufFlatten.cpp deleted file mode 100644 index 0a6746c..0000000 --- a/src/FluidBufFlatten/FluidBufFlatten.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufFlatten", ft); -} diff --git a/src/FluidBufHPSS/CMakeLists.txt b/src/FluidBufHPSS/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufHPSS/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufHPSS/FluidBufHPSS.cpp b/src/FluidBufHPSS/FluidBufHPSS.cpp deleted file mode 100644 index 36e609a..0000000 --- a/src/FluidBufHPSS/FluidBufHPSS.cpp +++ /dev/null @@ -1,23 +0,0 @@ - -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufHPSS", ft); -} diff --git a/src/FluidBufHPSS/tests.scd b/src/FluidBufHPSS/tests.scd deleted file mode 100644 index 249e5c6..0000000 --- a/src/FluidBufHPSS/tests.scd +++ /dev/null @@ -1,51 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.new(s); -d = Buffer.new(s); -e = Buffer.new(s); -) - -( -// with basic params -Routine{ - t = Main.elapsedTime; - FluidBufHPSS.process(s, b.bufnum, harmBufNum: c.bufnum, percBufNum: d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - -c.query; -c.play; -d.query; -d.play; -e.query; -e.play; - -//nullsumming tests -{(PlayBuf.ar(1,c.bufnum))+(PlayBuf.ar(1,d.bufnum))+(-1*PlayBuf.ar(1,b.bufnum,doneAction:2))}.play - - -// with everything changed to make it much faster -( -Routine{ - t = Main.elapsedTime; - FluidBufHPSS.process(s,b.bufnum, 44100, 44100, 0, 0, c.bufnum, d.bufnum, e.bufnum, 51, 31, 2); // need to change these for something sensible - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - - -// owen's sexy example (The world's most expensive stereoizer) - -( -{ - var hpss = FluidHPSS.ar(PlayBuf.ar(1,b.bufnum,loop:1),modeFlag:2,hta1:SinOsc.kr(1.5,mul:20,add:20),hta2:SinOsc.kr(3,mul:25,add:25), pta1:SinOsc.kr(1.6,0,mul:30,add:30),pta2:SinOsc.kr(1.7,0,mul:17,add:24)); - [hpss[2] + 0.5 * hpss[0], hpss[1] + 0.5 * hpss[0]]; -}.play; -) \ No newline at end of file diff --git a/src/FluidBufLoudness/CMakeLists.txt b/src/FluidBufLoudness/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufLoudness/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufLoudness/FluidBufLoudness.cpp b/src/FluidBufLoudness/FluidBufLoudness.cpp deleted file mode 100644 index 44abbd4..0000000 --- a/src/FluidBufLoudness/FluidBufLoudness.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufLoudness", ft); -} diff --git a/src/FluidBufMFCC/CMakeLists.txt b/src/FluidBufMFCC/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufMFCC/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufMFCC/FluidBufMFCC.cpp b/src/FluidBufMFCC/FluidBufMFCC.cpp deleted file mode 100644 index f985016..0000000 --- a/src/FluidBufMFCC/FluidBufMFCC.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufMFCC", ft); -} diff --git a/src/FluidBufMelBands/CMakeLists.txt b/src/FluidBufMelBands/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufMelBands/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufMelBands/FluidBufMelBands.cpp b/src/FluidBufMelBands/FluidBufMelBands.cpp deleted file mode 100644 index dcb39fc..0000000 --- a/src/FluidBufMelBands/FluidBufMelBands.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufMelBands", ft); -} diff --git a/src/FluidBufNMF/CMakeLists.txt b/src/FluidBufNMF/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufNMF/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufNMF/FluidBufNMF.cpp b/src/FluidBufNMF/FluidBufNMF.cpp deleted file mode 100644 index e74cd2a..0000000 --- a/src/FluidBufNMF/FluidBufNMF.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufNMF", ft); -} diff --git a/src/FluidBufNMF/tests.scd b/src/FluidBufNMF/tests.scd deleted file mode 100644 index 4a3d811..0000000 --- a/src/FluidBufNMF/tests.scd +++ /dev/null @@ -1,214 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.new(s); -x = Buffer.new(s); -y = Buffer.new(s); -~fft_size = 1024; -~frame_size = 512; -~hop_size = 256; -~which_rank = 0; -) - -( -// without sources -Routine{ - t = Main.elapsedTime; - FluidBufNMF.process(s,b.bufnum,0,-1,0,-1,nil,x.bufnum,0,y.bufnum,0,5,100,0,~frame_size,~hop_size,~fft_size); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - -// with sources only -( -Routine{ - t = Main.elapsedTime; - FluidBufNMF.process(s,b.bufnum, 0,-1,0,-1,c.bufnum,nil,0,nil,0,5,100,0,~frame_size,~hop_size,~fft_size); - s.sync; - (Main.elapsedTime - t).postln; -}.play -) - -// with everything -( -Routine{ - t = Main.elapsedTime; - FluidBufNMF.process(s,b.bufnum, 0,-1,0,-1,c.bufnum,x.bufnum,0,y.bufnum,0,5,100,0,~frame_size,~hop_size,~fft_size); - s.sync; - (Main.elapsedTime - t).postln; -}.play -) - - -//look at the dictionaries and activations -c.plot;x.plot; y.plot; -//null test of the sum of sources -{(PlayBuf.ar(5,c.bufnum,doneAction:2).sum)+(-1*PlayBuf.ar(1,b.bufnum,doneAction:2))}.play - -// play around -{Splay.ar(PlayBuf.ar(5,c.bufnum,doneAction:2))}.play - -//play a single source -{PlayBuf.ar(5,c.bufnum,doneAction:2)[~which_rank].dup}.play - -//play noise through a filter -( -{ - var chain; - chain = FFT(LocalBuf(~fft_size), WhiteNoise.ar()); - - chain = chain.pvcollect(~fft_size, {|mag, phase, index| - [mag * BufRd.kr(5,x.bufnum,DC.kr(index),0,1)[~which_rank]]; - }); - - IFFT(chain); -}.play -) - -//play noise through an activation -{WhiteNoise.ar(BufRd.kr(5,y.bufnum,Phasor.ar(1,1/~hop_size,0,(b.numFrames / ~hop_size + 1)),0,1)[~which_rank])*0.5}.play - -//play noise through both activation and filter -( -{ - var chain; - chain = FFT(LocalBuf(~fft_size), WhiteNoise.ar(BufRd.kr(5,y.bufnum,Phasor.ar(1,1/~hop_size,0,(b.numFrames / ~hop_size + 1)),0,1)[~which_rank]*12),0.5,1); - - chain = chain.pvcollect(~fft_size, {|mag, phase, index| - [mag * BufRd.kr(5,x.bufnum,DC.kr(index),0,1)[~which_rank]]; - }); - - [0,IFFT(chain)]; -}.play -) - -// test with stereo input (dual mono for best segregation) -Buffer.freeAll(s) - -( -Routine{ - b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); - c = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-AcousticStrums-M.wav".resolveRelative); - d = Buffer.new(s); - e = Buffer.new(s); - x = Buffer.new(s); - y = Buffer.new(s); - ~fft_size = 1024; - ~frame_size = 512; - ~hop_size = 256; - s.sync; - FluidBufCompose.process(s,b.bufnum,srcBufNumB:c.bufnum, srcGainB:0.6, dstStartChanB:1, dstBufNum:d.bufnum); - s.sync; - d.query; -}.play; -) - -d.play - -( -Routine{ - t = Main.elapsedTime; - FluidBufNMF.process(s,d.bufnum,0,-1,0,-1,e.bufnum,x.bufnum,0,y.bufnum,0,5,100,0,~frame_size,~hop_size,~fft_size); - s.sync; - (Main.elapsedTime - t).postln; -}.play; -) - -e.query -x.query -y.query - -//test a single rank -{PlayBuf.ar(10,e.bufnum,doneAction:2)[9].dup}.play - -// play them all across in a sort of upmixed stereo... -{Splay.ar(PlayBuf.ar(10,e.bufnum,doneAction:2))}.play - -//test process on a segment -( -Routine{ - t = Main.elapsedTime; - FluidBufNMF.process(s,d.bufnum,44100,44100,0,1,c.bufnum,rank:2); - s.sync; - (Main.elapsedTime - t).postln; - t = Main.elapsedTime; - FluidBufNMF.process(s,d.bufnum,8810,44100,1,1,b.bufnum,rank:2); - s.sync; - (Main.elapsedTime - t).postln; -}.play -) -c.query -c.play -b.query -b.play - - -// nmf on empty buffer -Buffer.freeAll; -( -Routine({ - b = Buffer.alloc(s,44100); - c = Buffer.new(s); - s.sync; - FluidBufNMF.process(s,b.bufnum,dstBufNum:c.bufnum); - s.sync; - c.getn(0,100,{|x| x.postln}); -}).play; -) - -// fixed dictionaries experiment -Buffer.freeAll; - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-AcousticStrums-M.wav".resolveRelative); -c = Buffer.new(s); -x = Buffer.new(s); -e = Buffer.alloc(s,1,1); -y = Buffer.alloc(s,1,1); -) - -( -Routine { - FluidBufNMF.process(s,b.bufnum,0,88200,0,1, c.bufnum, x.bufnum, rank:10); - s.sync; - c.query; -}.play; -) - -// test nullsum array -(0..9).do({|chan|FluidBufCompose.process(s,srcBufNumA: c.bufnum, startChanA:chan, nChansA: 1, srcBufNumB: y.bufnum, dstBufNum: y.bufnum)}); -{(PlayBuf.ar(10,c.bufnum).sum)+(-1*PlayBuf.ar(1,y.bufnum))}.play - -// find the picking -{PlayBuf.ar(10,c.bufnum)[2]}.play - -// copy all the other ranks on itself (the 2 above is omited from the array and is in the 2nd compose -( -Routine{ - [ 0, 1, 3, 4, 5, 6, 7, 8, 9 ].do({|chan|FluidBufCompose.process(s,srcBufNumA: x.bufnum, startChanA:chan, nChansA: 1, srcBufNumB: e.bufnum, dstBufNum: e.bufnum)}); - s.sync; - e.query; - s.sync; - FluidBufCompose.process(s,srcBufNumA: x.bufnum, startChanA: 2, nChansA: 1, srcBufNumB: e.bufnum, dstStartChanB: 1, dstBufNum: e.bufnum); - s.sync; - e.query; -}.play; -) - -//process -( -Routine{ - FluidBufNMF.process(s, b.bufnum, dstBufNum: c.bufnum, dictBufNum: e.bufnum, dictFlag: 2, actBufNum:y.bufnum, rank:2); - s.sync; - c.query; -}.play; -) - -c.play -e.plot -y.query -y.plot diff --git a/src/FluidBufNNDSVD/CMakeLists.txt b/src/FluidBufNNDSVD/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufNNDSVD/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufNNDSVD/FluidBufNNDSVD.cpp b/src/FluidBufNNDSVD/FluidBufNNDSVD.cpp deleted file mode 100644 index 2f4e47f..0000000 --- a/src/FluidBufNNDSVD/FluidBufNNDSVD.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufNNDSVD", ft); -} diff --git a/src/FluidBufNoveltyFeature/CMakeLists.txt b/src/FluidBufNoveltyFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufNoveltyFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufNoveltyFeature/FluidBufNoveltyFeature.cpp b/src/FluidBufNoveltyFeature/FluidBufNoveltyFeature.cpp deleted file mode 100644 index 841970f..0000000 --- a/src/FluidBufNoveltyFeature/FluidBufNoveltyFeature.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufNoveltyFeature", ft); -} diff --git a/src/FluidBufNoveltySlice/CMakeLists.txt b/src/FluidBufNoveltySlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufNoveltySlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufNoveltySlice/FluidBufNoveltySlice.cpp b/src/FluidBufNoveltySlice/FluidBufNoveltySlice.cpp deleted file mode 100644 index 039db41..0000000 --- a/src/FluidBufNoveltySlice/FluidBufNoveltySlice.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufNoveltySlice", ft); -} diff --git a/src/FluidBufOnsetFeature/CMakeLists.txt b/src/FluidBufOnsetFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufOnsetFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufOnsetFeature/FluidBufOnsetFeature.cpp b/src/FluidBufOnsetFeature/FluidBufOnsetFeature.cpp deleted file mode 100644 index 6d338c3..0000000 --- a/src/FluidBufOnsetFeature/FluidBufOnsetFeature.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufOnsetFeature", ft); -} diff --git a/src/FluidBufOnsetSlice/CMakeLists.txt b/src/FluidBufOnsetSlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufOnsetSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufOnsetSlice/FluidBufOnsetSlice.cpp b/src/FluidBufOnsetSlice/FluidBufOnsetSlice.cpp deleted file mode 100644 index 7ff5eef..0000000 --- a/src/FluidBufOnsetSlice/FluidBufOnsetSlice.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufOnsetSlice", ft); -} diff --git a/src/FluidBufPitch/CMakeLists.txt b/src/FluidBufPitch/CMakeLists.txt deleted file mode 100644 index 711f3d3..0000000 --- a/src/FluidBufPitch/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufPitch/FluidBufPitch.cpp b/src/FluidBufPitch/FluidBufPitch.cpp deleted file mode 100644 index 41bd762..0000000 --- a/src/FluidBufPitch/FluidBufPitch.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufPitch", ft); -} diff --git a/src/FluidBufSTFT/CMakeLists.txt b/src/FluidBufSTFT/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufSTFT/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufSTFT/FluidBufSTFT.cpp b/src/FluidBufSTFT/FluidBufSTFT.cpp deleted file mode 100644 index ecd1001..0000000 --- a/src/FluidBufSTFT/FluidBufSTFT.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufSTFT", ft); -} diff --git a/src/FluidBufScale/CMakeLists.txt b/src/FluidBufScale/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufScale/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufScale/FluidBufScale.cpp b/src/FluidBufScale/FluidBufScale.cpp deleted file mode 100644 index 12ffeba..0000000 --- a/src/FluidBufScale/FluidBufScale.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufScale", ft); -} diff --git a/src/FluidBufSelect/CMakeLists.txt b/src/FluidBufSelect/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufSelect/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufSelect/FluidBufSelect.cpp b/src/FluidBufSelect/FluidBufSelect.cpp deleted file mode 100644 index 43fc58a..0000000 --- a/src/FluidBufSelect/FluidBufSelect.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufSelect", ft); -} diff --git a/src/FluidBufSelectEvery/CMakeLists.txt b/src/FluidBufSelectEvery/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufSelectEvery/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufSelectEvery/FluidBufSelectEvery.cpp b/src/FluidBufSelectEvery/FluidBufSelectEvery.cpp deleted file mode 100644 index 87c1d9b..0000000 --- a/src/FluidBufSelectEvery/FluidBufSelectEvery.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufSelectEvery", ft); -} diff --git a/src/FluidBufSines/CMakeLists.txt b/src/FluidBufSines/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufSines/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufSines/FluidBufSines.cpp b/src/FluidBufSines/FluidBufSines.cpp deleted file mode 100644 index f230694..0000000 --- a/src/FluidBufSines/FluidBufSines.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufSines", ft); -} diff --git a/src/FluidBufSines/tests.scd b/src/FluidBufSines/tests.scd deleted file mode 100644 index 51e47c4..0000000 --- a/src/FluidBufSines/tests.scd +++ /dev/null @@ -1,38 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.new(s); -d = Buffer.new(s); -) - -( -// with basic params -Routine{ - t = Main.elapsedTime; - FluidBufSines.process(s, b.bufnum, sineBufNum: c.bufnum, resBufNum:d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - -c.query; -c.play; -d.query; -d.play; - -//nullsumming tests -{(PlayBuf.ar(1,c.bufnum))+(PlayBuf.ar(1,d.bufnum))+(-1*PlayBuf.ar(1,b.bufnum,doneAction:2))}.play - - -// with everything changed to make it much faster -( -Routine{ - t = Main.elapsedTime; - FluidBufSines.process(s,b.bufnum, 44100, 88200, 0, 0, c.bufnum, d.bufnum, 30,0.3,3,0.1,0.9,2048,512,4096); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); diff --git a/src/FluidBufSpectralShape/CMakeLists.txt b/src/FluidBufSpectralShape/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufSpectralShape/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufSpectralShape/FluidBufSpectralShape.cpp b/src/FluidBufSpectralShape/FluidBufSpectralShape.cpp deleted file mode 100644 index adda5b1..0000000 --- a/src/FluidBufSpectralShape/FluidBufSpectralShape.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufSpectralShape", ft); -} diff --git a/src/FluidBufStats/CMakeLists.txt b/src/FluidBufStats/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufStats/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufStats/FluidBufStats.cpp b/src/FluidBufStats/FluidBufStats.cpp deleted file mode 100644 index b5f902c..0000000 --- a/src/FluidBufStats/FluidBufStats.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufStats", ft); -} diff --git a/src/FluidBufThreadDemo/CMakeLists.txt b/src/FluidBufThreadDemo/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufThreadDemo/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufThreadDemo/FluidBufThreadDemo.cpp b/src/FluidBufThreadDemo/FluidBufThreadDemo.cpp deleted file mode 100644 index a702bc5..0000000 --- a/src/FluidBufThreadDemo/FluidBufThreadDemo.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufThreadDemo", ft); -} diff --git a/src/FluidBufThresh/CMakeLists.txt b/src/FluidBufThresh/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidBufThresh/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufThresh/FluidBufThresh.cpp b/src/FluidBufThresh/FluidBufThresh.cpp deleted file mode 100644 index bd6c0a2..0000000 --- a/src/FluidBufThresh/FluidBufThresh.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufThresh", ft); -} diff --git a/src/FluidBufTransientSlice/CMakeLists.txt b/src/FluidBufTransientSlice/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidBufTransientSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufTransientSlice/FluidBufTransientSlice.cpp b/src/FluidBufTransientSlice/FluidBufTransientSlice.cpp deleted file mode 100644 index 520b066..0000000 --- a/src/FluidBufTransientSlice/FluidBufTransientSlice.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable* ft; - -PluginLoad(OfflineFluidDecompositionUGens) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufTransientSlice", ft); -} diff --git a/src/FluidBufTransientSlice/tests.scd b/src/FluidBufTransientSlice/tests.scd deleted file mode 100644 index a934ca0..0000000 --- a/src/FluidBufTransientSlice/tests.scd +++ /dev/null @@ -1,71 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.new(s); -) - -( -// with basic params -Routine{ - t = Main.elapsedTime; - FluidBufTransientSlice.process(s,b.bufnum, transBufNum:c.bufnum, order:80, debounce:4410); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - -//check the number of slices -c.query; - -//loops over a splice -( -{ - BufRd.ar( - 1, - b.bufnum, - Phasor.ar( - 0, - 1, - BufRd.kr( - 1, - c.bufnum, - MouseX.kr( - 0, - BufFrames.kr(c.bufnum) - 1), - 0, - 1), - BufRd.kr( - 1, - c.bufnum, - MouseX.kr( - 1, - BufFrames.kr(c.bufnum)), - 0, - 1), - BufRd.kr( - 1, - c.bufnum, - MouseX.kr( - 0, - BufFrames.kr(c.bufnum) - 1), - 0, - 1)), - 0, - 1) -}.play; -) - - -// with everything changed to make it much faster -( -Routine{ - t = Main.elapsedTime; - FluidBufTransients.process(s,b.bufnum, 44100, 44100, 0, 0, c.bufnum, d.bufnum, 100, 512,256,1,2,1,12,20); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - diff --git a/src/FluidBufTransients/CMakeLists.txt b/src/FluidBufTransients/CMakeLists.txt deleted file mode 100755 index 711f3d3..0000000 --- a/src/FluidBufTransients/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidBufTransients/FluidBufTransients.cpp b/src/FluidBufTransients/FluidBufTransients.cpp deleted file mode 100644 index 6cd9f6d..0000000 --- a/src/FluidBufTransients/FluidBufTransients.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufTransients", ft); -} diff --git a/src/FluidBufTransients/tests.scd b/src/FluidBufTransients/tests.scd deleted file mode 100644 index afefd3f..0000000 --- a/src/FluidBufTransients/tests.scd +++ /dev/null @@ -1,39 +0,0 @@ -s.reboot -//////////////////////////// -// test for efficiency - -( -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -c = Buffer.new(s); -d = Buffer.new(s); -) - -( -// without basic params -Routine{ - t = Main.elapsedTime; - FluidBufTransients.process(s,b.bufnum, transBufNum:c.bufnum, resBufNum:d.bufnum); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - -c.query; -c.play; -d.query; -d.play; - -//nullsumming tests -{(PlayBuf.ar(1,c.bufnum))+(PlayBuf.ar(1,d.bufnum))+(-1*PlayBuf.ar(1,b.bufnum,doneAction:2))}.play - - -// with everything changed to make it much faster -( -Routine{ - t = Main.elapsedTime; - FluidBufTransients.process(s,b.bufnum, 0, 88200, 0, 0, c.bufnum, d.bufnum, 100, 512,256,1,2,1,12,20); - s.sync; - (Main.elapsedTime - t).postln; -}.play -); - diff --git a/src/FluidChroma/CMakeLists.txt b/src/FluidChroma/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidChroma/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidChroma/FluidChroma.cpp b/src/FluidChroma/FluidChroma.cpp deleted file mode 100644 index a42135a..0000000 --- a/src/FluidChroma/FluidChroma.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidChroma", ft); -} diff --git a/src/FluidGain/CMakeLists.txt b/src/FluidGain/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidGain/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidGain/FluidGain.cpp b/src/FluidGain/FluidGain.cpp deleted file mode 100644 index 0dcb164..0000000 --- a/src/FluidGain/FluidGain.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidGainUgen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidGain", ft); -} diff --git a/src/FluidHPSS/CMakeLists.txt b/src/FluidHPSS/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidHPSS/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidHPSS/FluidHPSS.cpp b/src/FluidHPSS/FluidHPSS.cpp deleted file mode 100644 index d6c8288..0000000 --- a/src/FluidHPSS/FluidHPSS.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidHPSS", ft); -} diff --git a/src/FluidHPSS/test.scd b/src/FluidHPSS/test.scd deleted file mode 100644 index ca26e26..0000000 --- a/src/FluidHPSS/test.scd +++ /dev/null @@ -1,33 +0,0 @@ -s.reboot; - -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -b.play - -// basic param -{FluidHPSS.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play - -// params in mode 1 -{FluidHPSS.ar(PlayBuf.ar(1,b.bufnum,loop:1),17,31,1,0.05,40,0.1,-40)}.play - -// params in mode 2 -{FluidHPSS.ar(PlayBuf.ar(1,b.bufnum,loop:1),17,31,2,0.05,40,0.1,-40, 0.1, -10, 0.2, 10)[2].dup}.play - - - -// null test (the process add a latency of ((harmFiltSize + (winSize / hopSize) - 1) * hopSize) samples -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,31, winSize:1024,hopSize:512,fftSize:2048).sum - DelayN.ar(sig, 1, ((31 + 1) * 512 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,21, winSize:1024,hopSize:512,fftSize:2048).sum - DelayN.ar(sig, 1, ((21 + 1) * 512 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,29, winSize:1024,hopSize:512,fftSize:2048).sum - DelayN.ar(sig, 1, ((29 + 1) * 512 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,29, winSize:1024,hopSize:256,fftSize:2048).sum - DelayN.ar(sig, 1, ((29 + 3) * 256 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,11,29, winSize:2048,hopSize:512,fftSize:4096).sum - DelayN.ar(sig, 1, ((29 + 3) * 512 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,21, winSize:2048,hopSize:256,fftSize:4096).sum - DelayN.ar(sig, 1, ((21 + 7) * 256 / s.sampleRate))]}.play - - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,21,1,1,winSize:1024,hopSize:512,fftSize:2048).sum - DelayN.ar(sig, 1, ((21 + 1) * 512 / s.sampleRate))]}.play - -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidHPSS.ar(sig,17,21,1,2,winSize:1024,hopSize:512,fftSize:2048).sum - DelayN.ar(sig, 1, ((21 + 1) * 512 / s.sampleRate))]}.play diff --git a/src/FluidLoudness/CMakeLists.txt b/src/FluidLoudness/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidLoudness/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidLoudness/FluidLoudness.cpp b/src/FluidLoudness/FluidLoudness.cpp deleted file mode 100644 index ccf0300..0000000 --- a/src/FluidLoudness/FluidLoudness.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidLoudness", ft); -} diff --git a/src/FluidMFCC/CMakeLists.txt b/src/FluidMFCC/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidMFCC/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidMFCC/FluidMFCC.cpp b/src/FluidMFCC/FluidMFCC.cpp deleted file mode 100644 index 79cc90f..0000000 --- a/src/FluidMFCC/FluidMFCC.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidMFCC", ft); -} diff --git a/src/FluidManipulation/CMakeLists.txt b/src/FluidManipulation/CMakeLists.txt deleted file mode 100644 index 66790e5..0000000 --- a/src/FluidManipulation/CMakeLists.txt +++ /dev/null @@ -1,24 +0,0 @@ -cmake_minimum_required(VERSION 3.3) -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -target_include_directories( - ${PLUGIN} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../include -) - -target_link_libraries( - ${PLUGIN} PRIVATE FLUID_DECOMPOSITION -) - -if(WIN32) - target_compile_options(${PLUGIN} PUBLIC /bigobj) -endif() - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidManipulation/FluidManipulation.cpp b/src/FluidManipulation/FluidManipulation.cpp deleted file mode 100644 index 241a2aa..0000000 --- a/src/FluidManipulation/FluidManipulation.cpp +++ /dev/null @@ -1,71 +0,0 @@ - -// A tool from the FluCoMa project, funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No 725899) - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidDataSet",ft); - makeSCWrapper("FluidDataSetQuery",ft); - makeSCWrapper("FluidLabelSet",ft); - - makeSCWrapper("FluidKDTree",ft); - makeSCWrapper("FluidKDTreeQuery",ft); - - makeSCWrapper("FluidKMeans",ft); - makeSCWrapper("FluidKMeansQuery",ft); - - makeSCWrapper("FluidKNNClassifier",ft); - makeSCWrapper("FluidKNNClassifierQuery",ft); - - makeSCWrapper("FluidKNNRegressor",ft); - makeSCWrapper("FluidKNNRegressorQuery",ft); - - makeSCWrapper("FluidNormalize",ft); - makeSCWrapper("FluidNormalizeQuery",ft); - - makeSCWrapper("FluidRobustScale",ft); - makeSCWrapper("FluidRobustScaleQuery",ft); - - makeSCWrapper("FluidStandardize",ft); - makeSCWrapper("FluidStandardizeQuery",ft); - - makeSCWrapper("FluidPCA",ft); - makeSCWrapper("FluidPCAQuery",ft); - - makeSCWrapper("FluidMDS",ft); - - makeSCWrapper("FluidUMAP",ft); - makeSCWrapper("FluidUMAPQuery",ft); - - makeSCWrapper("FluidDataSetWr", ft); - - makeSCWrapper("FluidMLPRegressor",ft); - makeSCWrapper("FluidMLPRegressorQuery",ft); - - makeSCWrapper("FluidMLPClassifier",ft); - makeSCWrapper("FluidMLPClassifierQuery",ft); - - makeSCWrapper("FluidGrid",ft); -} diff --git a/src/FluidMelBands/CMakeLists.txt b/src/FluidMelBands/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidMelBands/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidMelBands/FluidMelBands.cpp b/src/FluidMelBands/FluidMelBands.cpp deleted file mode 100644 index 01aeff1..0000000 --- a/src/FluidMelBands/FluidMelBands.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidMelBands", ft); -} diff --git a/src/FluidNMFCross/CMakeLists.txt b/src/FluidNMFCross/CMakeLists.txt deleted file mode 100644 index 3693881..0000000 --- a/src/FluidNMFCross/CMakeLists.txt +++ /dev/null @@ -1,20 +0,0 @@ -cmake_minimum_required(VERSION 3.3) -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -target_include_directories( - ${PLUGIN} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../include -) - -target_link_libraries( - ${PLUGIN} PRIVATE FLUID_DECOMPOSITION -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNMFCross/FluidNMFCross.cpp b/src/FluidNMFCross/FluidNMFCross.cpp deleted file mode 100644 index 5749fa5..0000000 --- a/src/FluidNMFCross/FluidNMFCross.cpp +++ /dev/null @@ -1,12 +0,0 @@ - -#include -#include - -static InterfaceTable *ft; - -PluginLoad(OfflineFluidDecompositionUGens) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidBufNMFCross", ft); -} diff --git a/src/FluidNMFFilter/CMakeLists.txt b/src/FluidNMFFilter/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidNMFFilter/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNMFFilter/FluidNMFFilter.cpp b/src/FluidNMFFilter/FluidNMFFilter.cpp deleted file mode 100644 index 9324f20..0000000 --- a/src/FluidNMFFilter/FluidNMFFilter.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidNMFFilter", ft); -} diff --git a/src/FluidNMFMatch/CMakeLists.txt b/src/FluidNMFMatch/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidNMFMatch/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNMFMatch/FluidNMFMatch.cpp b/src/FluidNMFMatch/FluidNMFMatch.cpp deleted file mode 100644 index e84b0e8..0000000 --- a/src/FluidNMFMatch/FluidNMFMatch.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidNMFMatch", ft); -} diff --git a/src/FluidNMFMatch/test.scd b/src/FluidNMFMatch/test.scd deleted file mode 100644 index a4bfc7e..0000000 --- a/src/FluidNMFMatch/test.scd +++ /dev/null @@ -1,40 +0,0 @@ -s.reboot; - - //from Fixed NMF example: -( -b = Buffer.read(s,FluidFilesPath("Tremblay-AaS-AcousticStrums-M.wav")); -c = Buffer.new(s); -x = Buffer.new(s); -e = Buffer.alloc(s,1,1); -y = Buffer.alloc(s,1,1); -) - - // train only 2 seconds -( -Routine { - FluidBufNMF.process(s,b.bufnum,0,88200,0,1, c.bufnum, x.bufnum, rank:10); - s.sync; - c.query; -}.play; -) - -// find the rank that has the picking sound by changing which channel to listen to -( - ~element = 9; - {PlayBuf.ar(10,c.bufnum)[~element]}.play -) - -// copy all the other ranks on itself and the picking dictionnary as the sole component of the 1st channel -( -Routine{ - (0..9).remove(~element).do({|chan|FluidBufCompose.process(s,srcBufNumA: x.bufnum, startChanA:chan, nChansA: 1, srcBufNumB: e.bufnum, dstBufNum: e.bufnum)}); - s.sync; - e.query; - s.sync; - FluidBufCompose.process(s,srcBufNumA: x.bufnum, startChanA: ~element, nChansA: 1, srcBufNumB: e.bufnum, dstStartChanB: 1, dstBufNum: e.bufnum); - s.sync; - e.query; -}.play; -) - -{DelayN.ar(PlayBuf.ar(1,b.bufnum),0.1,1024/44100, FluidNMFMatch.kr(PlayBuf.ar(1,b.bufnum),e.bufnum,2))}.play diff --git a/src/FluidNMFMorph/CMakeLists.txt b/src/FluidNMFMorph/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidNMFMorph/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNMFMorph/FluidNMFMorph.cpp b/src/FluidNMFMorph/FluidNMFMorph.cpp deleted file mode 100644 index fa38d8f..0000000 --- a/src/FluidNMFMorph/FluidNMFMorph.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidNMFMorph", ft); -} diff --git a/src/FluidNoveltyFeature/CMakeLists.txt b/src/FluidNoveltyFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidNoveltyFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNoveltyFeature/FluidNoveltyFeature.cpp b/src/FluidNoveltyFeature/FluidNoveltyFeature.cpp deleted file mode 100644 index 3051b5c..0000000 --- a/src/FluidNoveltyFeature/FluidNoveltyFeature.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidNoveltyFeature", ft); -} diff --git a/src/FluidNoveltySlice/CMakeLists.txt b/src/FluidNoveltySlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidNoveltySlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidNoveltySlice/FluidNoveltySlice.cpp b/src/FluidNoveltySlice/FluidNoveltySlice.cpp deleted file mode 100644 index 4044310..0000000 --- a/src/FluidNoveltySlice/FluidNoveltySlice.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidNoveltySlice", ft); -} diff --git a/src/FluidOnsetFeature/CMakeLists.txt b/src/FluidOnsetFeature/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidOnsetFeature/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidOnsetFeature/FluidOnsetFeature.cpp b/src/FluidOnsetFeature/FluidOnsetFeature.cpp deleted file mode 100644 index e839151..0000000 --- a/src/FluidOnsetFeature/FluidOnsetFeature.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidOnsetFeature", ft); -} diff --git a/src/FluidOnsetSlice/CMakeLists.txt b/src/FluidOnsetSlice/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidOnsetSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidOnsetSlice/FluidOnsetSlice.cpp b/src/FluidOnsetSlice/FluidOnsetSlice.cpp deleted file mode 100644 index aec600f..0000000 --- a/src/FluidOnsetSlice/FluidOnsetSlice.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidOnsetSlice", ft); -} diff --git a/src/FluidPitch/CMakeLists.txt b/src/FluidPitch/CMakeLists.txt deleted file mode 100644 index 711f3d3..0000000 --- a/src/FluidPitch/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidPitch/FluidPitch.cpp b/src/FluidPitch/FluidPitch.cpp deleted file mode 100644 index b1d8a87..0000000 --- a/src/FluidPitch/FluidPitch.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidPitch", ft); -} diff --git a/src/FluidSTFTPass/CMakeLists.txt b/src/FluidSTFTPass/CMakeLists.txt deleted file mode 100755 index 711f3d3..0000000 --- a/src/FluidSTFTPass/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidSTFTPass/FluidSTFTPass.cpp b/src/FluidSTFTPass/FluidSTFTPass.cpp deleted file mode 100644 index 9fff5e4..0000000 --- a/src/FluidSTFTPass/FluidSTFTPass.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidSTFTPass", ft); -} diff --git a/src/FluidSines/CMakeLists.txt b/src/FluidSines/CMakeLists.txt deleted file mode 100755 index 711f3d3..0000000 --- a/src/FluidSines/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidSines/FluidSines.cpp b/src/FluidSines/FluidSines.cpp deleted file mode 100644 index 93ac2a7..0000000 --- a/src/FluidSines/FluidSines.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidSines", ft); -} diff --git a/src/FluidSines/test.scd b/src/FluidSines/test.scd deleted file mode 100644 index dfaffef..0000000 --- a/src/FluidSines/test.scd +++ /dev/null @@ -1,13 +0,0 @@ -s.reboot; - -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); -b.play - -// basic param -{FluidSines.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play - -// sexier params -{FluidSines.ar(PlayBuf.ar(1,b.bufnum,loop:1),30,MouseX.kr(),5)}.play - -// null test (the process add a latency of (( hopSize * minTrackLen) + windowSize) samples -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidSines.ar(sig).sum - DelayN.ar(sig, 1, ((( 512 * 15) + 2048)/ s.sampleRate))]}.play diff --git a/src/FluidSpectralShape/CMakeLists.txt b/src/FluidSpectralShape/CMakeLists.txt deleted file mode 100644 index 9646a4e..0000000 --- a/src/FluidSpectralShape/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidSpectralShape/FluidSpectralShape.cpp b/src/FluidSpectralShape/FluidSpectralShape.cpp deleted file mode 100644 index 7c6b19b..0000000 --- a/src/FluidSpectralShape/FluidSpectralShape.cpp +++ /dev/null @@ -1,21 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) { - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidSpectralShape", ft); -} diff --git a/src/FluidStats/CMakeLists.txt b/src/FluidStats/CMakeLists.txt deleted file mode 100644 index 711f3d3..0000000 --- a/src/FluidStats/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidStats/FluidStats.cpp b/src/FluidStats/FluidStats.cpp deleted file mode 100644 index 6442231..0000000 --- a/src/FluidStats/FluidStats.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidStatsUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidStats", ft); -} diff --git a/src/FluidTransientSlice/CMakeLists.txt b/src/FluidTransientSlice/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidTransientSlice/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidTransientSlice/FluidTransientSlice.cpp b/src/FluidTransientSlice/FluidTransientSlice.cpp deleted file mode 100644 index 987097d..0000000 --- a/src/FluidTransientSlice/FluidTransientSlice.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidTransientSlice", ft); -} diff --git a/src/FluidTransientSlice/test.scd b/src/FluidTransientSlice/test.scd deleted file mode 100644 index b82344e..0000000 --- a/src/FluidTransientSlice/test.scd +++ /dev/null @@ -1,21 +0,0 @@ -s.reboot; - -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); - -// basic param (the process add a latency of (blockSize + padding - order) samples -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransientSlice.ar(sig)*0.5, DelayN.ar(sig, 1, ((256 + 128 - 20)/ s.sampleRate))]}.play - -// sexier params -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransientSlice.ar(sig,order:80,debounce:2205)*0.5, DelayN.ar(sig, 1, ((256 + 128 - 80)/ s.sampleRate))]}.play - -// more musical trans-trigged autopan -( -{ - var sig, trig, syncd, pan; - sig = PlayBuf.ar(1,b.bufnum,loop:1); - trig = FluidTransientSlice.ar(sig,order:10,debounce:2205); - syncd = DelayN.ar(sig, 1, ((256 + 128 - 10)/ s.sampleRate)); - pan = TRand.ar(-1,1,trig); - Pan2.ar(syncd,pan); -}.play -) \ No newline at end of file diff --git a/src/FluidTransients/CMakeLists.txt b/src/FluidTransients/CMakeLists.txt deleted file mode 100755 index 9646a4e..0000000 --- a/src/FluidTransients/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -# Copyright 2017-2019 University of Huddersfield. -# Licensed under the BSD-3 License. -# See license.md file in the project root for full license information. -# This project has received funding from the European Research Council (ERC) -# under the European Union’s Horizon 2020 research and innovation programme -# (grant agreement No 725899). - -cmake_minimum_required(VERSION 3.11) - -get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE) -message("Configuring ${PLUGIN}") -set(FILENAME ${PLUGIN}.cpp) - -add_library( - ${PLUGIN} - MODULE - ${FILENAME} -) - -include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake) diff --git a/src/FluidTransients/FluidTransients.cpp b/src/FluidTransients/FluidTransients.cpp deleted file mode 100644 index be7816f..0000000 --- a/src/FluidTransients/FluidTransients.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* -Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/) -Copyright 2017-2019 University of Huddersfield. -Licensed under the BSD-3 License. -See license.md file in the project root for full license information. -This project has received funding from the European Research Council (ERC) -under the European Union’s Horizon 2020 research and innovation programme -(grant agreement No 725899). -*/ - -#include - -#include - -static InterfaceTable *ft; - -PluginLoad(FluidSTFTUGen) -{ - ft = inTable; - using namespace fluid::client; - makeSCWrapper("FluidTransients", ft); -} diff --git a/src/FluidTransients/test.scd b/src/FluidTransients/test.scd deleted file mode 100644 index 363a719..0000000 --- a/src/FluidTransients/test.scd +++ /dev/null @@ -1,14 +0,0 @@ -s.reboot; -s.quit - -b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative); - -// basic param -{FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play - -// sexier params -{FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1),80,threshFwd:MouseX.kr(0,5),threshBack:MouseY.kr(0,2))}.play - -// null test (the process add a latency of (blockSize + padding - order) samples -{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransients.ar(sig).sum - DelayN.ar(sig, 1, ((256 + 128 - 20)/ s.sampleRate))]}.play -