pd4web 2.3.0.dev1__tar.gz → 2.3.0rc2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/PKG-INFO +1 -1
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/Libraries.yaml +7 -7
- pd4web-2.3.0rc2/Sources/Libraries/else.cmake +4 -0
- pd4web-2.3.0rc2/Sources/Libraries/fftease.cmake +6 -0
- pd4web-2.3.0rc2/Sources/Libraries/pdlua.cmake +16 -0
- pd4web-2.3.0rc2/Sources/Libraries/timbreIDLib.cmake +142 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/index.html +0 -13
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Builder.py +1 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.cpp +11 -2
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.gui.js +12 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.hpp +3 -4
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/pyproject.toml +1 -1
- pd4web-2.3.0.dev1/Sources/Libraries/else.cmake +0 -517
- pd4web-2.3.0.dev1/Sources/Libraries/timbreIDLib.cmake +0 -33
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/LICENSE +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/README.md +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/.clang-format +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/.prettierrc +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/.yamlftm +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/ambi~.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/cyclone.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/earplug~.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/extra.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/libpd.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/o.scofo~.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/partialtrack~.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/.git +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/.github/workflows/c-cpp.yml +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/.gitignore +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/CMakeLists.txt +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/.clang-format +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/CMakeLists.txt +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/fft~/fft~-help.pd +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/fft~/fft~.cpp +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple/simple-help.pd +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple/simple-patch.pd +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple/simple.cpp +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~-help.pd +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~.cpp +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/LICENSE +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/README.md +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Tests/01.Deprecated-Functions/CMakeLists.txt +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Tests/CMakeLists.txt +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/pd.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pmpd.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/soundtouch~.cmake +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/1/bula.md +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/1/index.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/2/index.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/2/sketch.js +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/3/index.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/4/index.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/4/sketch.js +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/5/index.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Templates/5/tutorial.md +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/__init__.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/cmake-format.yaml +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/config.h +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/externals.cpp +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/favicon.ico +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/nogui.html +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Compilers.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Libraries.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Objects.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Patch.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/Pd4Web.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web/__init__.py +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.gitignore +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.midi.js +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.style.css +0 -0
- {pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/pd4web.threads.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pd4web
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.0rc2
|
|
4
4
|
Summary: pd4web compiles PureData patches with external objects for Wasm, allowing to run entire patches in web browsers.
|
|
5
5
|
Author: Charles K. Neimog
|
|
6
6
|
Author-email: charlesneimog@outlook.com
|
|
@@ -9,6 +9,12 @@ Sources:
|
|
|
9
9
|
#│ Libraries │
|
|
10
10
|
#╰──────────────────────────────────────╯
|
|
11
11
|
Libraries:
|
|
12
|
+
# ─────────────── pd-fftease ───────────────
|
|
13
|
+
- Name: fftease
|
|
14
|
+
Source: GITHUB
|
|
15
|
+
Developer: charlesneimog
|
|
16
|
+
Repository: pd-fftease
|
|
17
|
+
Version: 1de285dc870e041fb63911bae1100735563f64dd
|
|
12
18
|
# ─────────────── soundtouch~ ───────────────
|
|
13
19
|
- Name: soundtouch~
|
|
14
20
|
Source: GITHUB
|
|
@@ -21,12 +27,6 @@ Libraries:
|
|
|
21
27
|
Developer: pd-externals
|
|
22
28
|
Repository: earplug
|
|
23
29
|
Version: d7c9bb8528c7fc583fb0d2e9181aa510af87f165
|
|
24
|
-
# ───────────── pdlua ─────────────
|
|
25
|
-
- Name: pdlua
|
|
26
|
-
Source: GITHUB
|
|
27
|
-
Developer: agraef
|
|
28
|
-
Repository: pd-lua
|
|
29
|
-
Version: 4301f744a9023ea77b6fe0ba35918ad18e19276f
|
|
30
30
|
|
|
31
31
|
# ───────────── partialtrack ─────────────
|
|
32
32
|
- Name: partialtrack~
|
|
@@ -96,7 +96,7 @@ Libraries:
|
|
|
96
96
|
Unsupported:
|
|
97
97
|
# Need implementation
|
|
98
98
|
- sfz~
|
|
99
|
-
- sfont~
|
|
99
|
+
# - sfont~
|
|
100
100
|
- play.file~
|
|
101
101
|
- sfload
|
|
102
102
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.25)
|
|
2
|
+
project(pdlua)
|
|
3
|
+
set(LIB_DIR ${PD4WEB_EXTERNAL_DIR}/${PROJECT_NAME})
|
|
4
|
+
|
|
5
|
+
# ╭──────────────────────────────────────╮
|
|
6
|
+
# │ OBJECTS │
|
|
7
|
+
# ╰──────────────────────────────────────╯
|
|
8
|
+
|
|
9
|
+
add_library(lua STATIC ${LIB_DIR}/lua/onelua.c)
|
|
10
|
+
if(EMSCRIPTEN)
|
|
11
|
+
target_compile_definitions(lua PRIVATE LUA_USE_LINUX)
|
|
12
|
+
endif()
|
|
13
|
+
|
|
14
|
+
pd_add_external(pdlua ${LIB_DIR}/pdlua.c)
|
|
15
|
+
target_include_directories(pdlua PRIVATE ${LIB_DIR}/lua)
|
|
16
|
+
target_link_libraries(pdlua PRIVATE lua)
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.25)
|
|
2
|
+
project(timbreIDLib)
|
|
3
|
+
set(LIB_DIR ${PD4WEB_EXTERNAL_DIR}/${PROJECT_NAME})
|
|
4
|
+
|
|
5
|
+
include_directories(${LIB_DIR}/include)
|
|
6
|
+
|
|
7
|
+
# ╭──────────────────────────────────────╮
|
|
8
|
+
# │ FFTW │
|
|
9
|
+
# ╰──────────────────────────────────────╯
|
|
10
|
+
cmake_policy(SET CMP0135 NEW)
|
|
11
|
+
option(BUILD_SHARED_LIBS OFF)
|
|
12
|
+
option(BUILD_TESTS OFF)
|
|
13
|
+
set(ENABLE_FLOAT ON)
|
|
14
|
+
set(FFTW3_FILE ${CMAKE_BINARY_DIR}/fftw-3.3.10.tar.gz)
|
|
15
|
+
if(NOT EXISTS ${FFTW3_FILE})
|
|
16
|
+
message(STATUS "Downloading FFTW3")
|
|
17
|
+
file(DOWNLOAD https://www.fftw.org/fftw-3.3.10.tar.gz ${FFTW3_FILE})
|
|
18
|
+
endif()
|
|
19
|
+
|
|
20
|
+
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/fftw-3.3.10.tar.gz DESTINATION
|
|
21
|
+
${CMAKE_BINARY_DIR}/)
|
|
22
|
+
add_subdirectory("${CMAKE_BINARY_DIR}/fftw-3.3.10" EXCLUDE_FROM_ALL)
|
|
23
|
+
set_target_properties(fftw3f PROPERTIES LIBRARY_OUTPUT_DIRECTORY
|
|
24
|
+
${CMAKE_SOURCE_DIR})
|
|
25
|
+
set_target_properties(fftw3f PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
26
|
+
include_directories("${CMAKE_BINARY_DIR}/fftw-3.3.10/api")
|
|
27
|
+
|
|
28
|
+
# ╭──────────────────────────────────────╮
|
|
29
|
+
# │ OBJECTS │
|
|
30
|
+
# ╰──────────────────────────────────────╯
|
|
31
|
+
|
|
32
|
+
add_library(tIDLib STATIC "${LIB_DIR}/src/tIDLib.c")
|
|
33
|
+
|
|
34
|
+
pd_add_external(attackTime "${LIB_DIR}/src/attackTime.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
35
|
+
pd_add_external(attackTime~ "${LIB_DIR}/src/attackTime~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
36
|
+
pd_add_external(autoCorrPitch "${LIB_DIR}/src/autoCorrPitch.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
37
|
+
pd_add_external(autoCorrPitch~ "${LIB_DIR}/src/autoCorrPitch~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
38
|
+
pd_add_external(bark "${LIB_DIR}/src/bark.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
39
|
+
pd_add_external(bark2freq "${LIB_DIR}/src/bark2freq.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
40
|
+
pd_add_external(barkSpec "${LIB_DIR}/src/barkSpec.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
41
|
+
pd_add_external(barkSpecBrightness "${LIB_DIR}/src/barkSpecBrightness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
42
|
+
pd_add_external(barkSpecBrightness~ "${LIB_DIR}/src/barkSpecBrightness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
43
|
+
pd_add_external(barkSpecCentroid "${LIB_DIR}/src/barkSpecCentroid.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
44
|
+
pd_add_external(barkSpecCentroid~ "${LIB_DIR}/src/barkSpecCentroid~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
45
|
+
pd_add_external(barkSpecFlatness "${LIB_DIR}/src/barkSpecFlatness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
46
|
+
pd_add_external(barkSpecFlatness~ "${LIB_DIR}/src/barkSpecFlatness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
47
|
+
pd_add_external(barkSpecFlux "${LIB_DIR}/src/barkSpecFlux.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
48
|
+
pd_add_external(barkSpecFlux~ "${LIB_DIR}/src/barkSpecFlux~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
49
|
+
pd_add_external(barkSpecIrregularity "${LIB_DIR}/src/barkSpecIrregularity.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
50
|
+
pd_add_external(barkSpecIrregularity~ "${LIB_DIR}/src/barkSpecIrregularity~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
51
|
+
pd_add_external(barkSpecKurtosis "${LIB_DIR}/src/barkSpecKurtosis.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
52
|
+
pd_add_external(barkSpecKurtosis~ "${LIB_DIR}/src/barkSpecKurtosis~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
53
|
+
pd_add_external(barkSpecRolloff "${LIB_DIR}/src/barkSpecRolloff.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
54
|
+
pd_add_external(barkSpecRolloff~ "${LIB_DIR}/src/barkSpecRolloff~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
55
|
+
pd_add_external(barkSpecSkewness "${LIB_DIR}/src/barkSpecSkewness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
56
|
+
pd_add_external(barkSpecSkewness~ "${LIB_DIR}/src/barkSpecSkewness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
57
|
+
pd_add_external(barkSpecSlope "${LIB_DIR}/src/barkSpecSlope.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
58
|
+
pd_add_external(barkSpecSlope~ "${LIB_DIR}/src/barkSpecSlope~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
59
|
+
pd_add_external(barkSpecSpread "${LIB_DIR}/src/barkSpecSpread.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
60
|
+
pd_add_external(barkSpecSpread~ "${LIB_DIR}/src/barkSpecSpread~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
61
|
+
pd_add_external(barkSpec~ "${LIB_DIR}/src/barkSpec~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
62
|
+
pd_add_external(bark~ "${LIB_DIR}/src/bark~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
63
|
+
pd_add_external(bfcc "${LIB_DIR}/src/bfcc.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
64
|
+
pd_add_external(bfcc~ "${LIB_DIR}/src/bfcc~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
65
|
+
pd_add_external(bin2freq "${LIB_DIR}/src/bin2freq.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
66
|
+
pd_add_external(binWrangler "${LIB_DIR}/src/binWrangler.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
67
|
+
pd_add_external(cepstrum "${LIB_DIR}/src/cepstrum.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
68
|
+
pd_add_external(cepstrum~ "${LIB_DIR}/src/cepstrum~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
69
|
+
pd_add_external(cepstrumPitch "${LIB_DIR}/src/cepstrumPitch.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
70
|
+
pd_add_external(cepstrumPitch~ "${LIB_DIR}/src/cepstrumPitch~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
71
|
+
pd_add_external(chroma "${LIB_DIR}/src/chroma.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
72
|
+
pd_add_external(chroma~ "${LIB_DIR}/src/chroma~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
73
|
+
pd_add_external(dct "${LIB_DIR}/src/dct.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
74
|
+
pd_add_external(dct~ "${LIB_DIR}/src/dct~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
75
|
+
pd_add_external(energy "${LIB_DIR}/src/energy.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
76
|
+
pd_add_external(energy~ "${LIB_DIR}/src/energy~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
77
|
+
pd_add_external(energyEntropy "${LIB_DIR}/src/energyEntropy.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
78
|
+
pd_add_external(energyEntropy~ "${LIB_DIR}/src/energyEntropy~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
79
|
+
pd_add_external(mel2freq "${LIB_DIR}/src/mel2freq.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
80
|
+
pd_add_external(melSpec "${LIB_DIR}/src/melSpec.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
81
|
+
pd_add_external(melSpec~ "${LIB_DIR}/src/melSpec~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
82
|
+
pd_add_external(mfcc "${LIB_DIR}/src/mfcc.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
83
|
+
pd_add_external(mfcc~ "${LIB_DIR}/src/mfcc~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
84
|
+
pd_add_external(minSample "${LIB_DIR}/src/minSample.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
85
|
+
pd_add_external(minSample~ "${LIB_DIR}/src/minSample~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
86
|
+
pd_add_external(minSampleDelta "${LIB_DIR}/src/minSampleDelta.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
87
|
+
pd_add_external(minSampleDelta~ "${LIB_DIR}/src/minSampleDelta~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
88
|
+
pd_add_external(nearestPoint "${LIB_DIR}/src/nearestPoint.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
89
|
+
pd_add_external(peakSample "${LIB_DIR}/src/peakSample.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
90
|
+
pd_add_external(peakSample~ "${LIB_DIR}/src/peakSample~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
91
|
+
pd_add_external(phaseSpec "${LIB_DIR}/src/phaseSpec.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
92
|
+
pd_add_external(phaseSpec~ "${LIB_DIR}/src/phaseSpec~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
93
|
+
pd_add_external(sampleBuffer~ "${LIB_DIR}/src/sampleBuffer~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
94
|
+
pd_add_external(specBrightness "${LIB_DIR}/src/specBrightness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
95
|
+
pd_add_external(specBrightness~ "${LIB_DIR}/src/specBrightness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
96
|
+
pd_add_external(specCentroid "${LIB_DIR}/src/specCentroid.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
97
|
+
pd_add_external(specCentroid~ "${LIB_DIR}/src/specCentroid~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
98
|
+
pd_add_external(specFlatness "${LIB_DIR}/src/specFlatness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
99
|
+
pd_add_external(featureAccum "${LIB_DIR}/src/featureAccum.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
100
|
+
pd_add_external(featureDelta "${LIB_DIR}/src/featureDelta.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
101
|
+
pd_add_external(featureNorm "${LIB_DIR}/src/featureNorm.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
102
|
+
pd_add_external(freq2bark "${LIB_DIR}/src/freq2bark.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
103
|
+
pd_add_external(freq2bin "${LIB_DIR}/src/freq2bin.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
104
|
+
pd_add_external(freq2mel "${LIB_DIR}/src/freq2mel.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
105
|
+
pd_add_external(harmonicRatio "${LIB_DIR}/src/harmonicRatio.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
106
|
+
pd_add_external(harmonicRatio~ "${LIB_DIR}/src/harmonicRatio~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
107
|
+
pd_add_external(magSpec "${LIB_DIR}/src/magSpec.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
108
|
+
pd_add_external(magSpec~ "${LIB_DIR}/src/magSpec~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
109
|
+
pd_add_external(maxSample "${LIB_DIR}/src/maxSample.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
110
|
+
pd_add_external(maxSample~ "${LIB_DIR}/src/maxSample~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
111
|
+
pd_add_external(maxSampleDelta "${LIB_DIR}/src/maxSampleDelta.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
112
|
+
pd_add_external(maxSampleDelta~ "${LIB_DIR}/src/maxSampleDelta~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
113
|
+
pd_add_external(specFlatness~ "${LIB_DIR}/src/specFlatness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
114
|
+
pd_add_external(specFlux "${LIB_DIR}/src/specFlux.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
115
|
+
pd_add_external(specFlux~ "${LIB_DIR}/src/specFlux~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
116
|
+
pd_add_external(specHarmonicity "${LIB_DIR}/src/specHarmonicity.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
117
|
+
pd_add_external(specHarmonicity~ "${LIB_DIR}/src/specHarmonicity~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
118
|
+
pd_add_external(specIrregularity "${LIB_DIR}/src/specIrregularity.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
119
|
+
pd_add_external(specIrregularity~ "${LIB_DIR}/src/specIrregularity~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
120
|
+
pd_add_external(specKurtosis "${LIB_DIR}/src/specKurtosis.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
121
|
+
pd_add_external(specKurtosis~ "${LIB_DIR}/src/specKurtosis~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
122
|
+
pd_add_external(specRolloff "${LIB_DIR}/src/specRolloff.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
123
|
+
pd_add_external(specRolloff~ "${LIB_DIR}/src/specRolloff~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
124
|
+
pd_add_external(specSkewness "${LIB_DIR}/src/specSkewness.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
125
|
+
pd_add_external(specSkewness~ "${LIB_DIR}/src/specSkewness~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
126
|
+
pd_add_external(specSlope "${LIB_DIR}/src/specSlope.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
127
|
+
pd_add_external(specSlope~ "${LIB_DIR}/src/specSlope~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
128
|
+
pd_add_external(specSpread "${LIB_DIR}/src/specSpread.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
129
|
+
pd_add_external(specSpread~ "${LIB_DIR}/src/specSpread~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
130
|
+
pd_add_external(tempo~ "${LIB_DIR}/src/tempo~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
131
|
+
pd_add_external(tID_fft "${LIB_DIR}/src/tID_fft.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
132
|
+
pd_add_external(tID_fft~ "${LIB_DIR}/src/tID_fft~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
133
|
+
pd_add_external(tID_mean "${LIB_DIR}/src/tID_mean.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
134
|
+
pd_add_external(tID_std "${LIB_DIR}/src/tID_std.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
135
|
+
pd_add_external(timbreID "${LIB_DIR}/src/timbreID.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
136
|
+
pd_add_external(tabletool "${LIB_DIR}/src/tabletool.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
137
|
+
pd_add_external(waveSlope "${LIB_DIR}/src/waveSlope.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
138
|
+
pd_add_external(waveSlope~ "${LIB_DIR}/src/waveSlope~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
139
|
+
pd_add_external(waveNoise "${LIB_DIR}/src/waveNoise.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
140
|
+
pd_add_external(waveNoise~ "${LIB_DIR}/src/waveNoise~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
141
|
+
pd_add_external(zeroCrossing "${LIB_DIR}/src/zeroCrossing.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
142
|
+
pd_add_external(zeroCrossing~ "${LIB_DIR}/src/zeroCrossing~.c" LINK_LIBRARIES fftw3 tIDLib)
|
|
@@ -20,19 +20,6 @@
|
|
|
20
20
|
Pd4Web = new Pd4WebModulePromise.Pd4Web();
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
window.addEventListener("load", function () {
|
|
24
|
-
setTimeout(function () {
|
|
25
|
-
if (typeof SharedArrayBuffer !== "undefined") {
|
|
26
|
-
console.log("SharedArrayBuffer is defined:", SharedArrayBuffer);
|
|
27
|
-
} else {
|
|
28
|
-
console.log("SharedArrayBuffer is not defined");
|
|
29
|
-
alert(
|
|
30
|
-
"Pd4Web could not load. Please try reloading the page. If the issue persists, contact pd4web developers.",
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
}, 3000);
|
|
34
|
-
});
|
|
35
|
-
|
|
36
23
|
document.getElementById("Pd4WebAudioSwitch").addEventListener(
|
|
37
24
|
"click",
|
|
38
25
|
async () => {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#include "pd4web.hpp"
|
|
2
2
|
|
|
3
|
+
int PD4WEB_INSTANCES = 0;
|
|
3
4
|
Pd4WebGuiReceiverList Pd4WebGuiReceivers;
|
|
4
5
|
Pd4WebGuiReceiverList Pd4WebGuiSenders;
|
|
5
6
|
|
|
7
|
+
std::vector<Pd4Web *> Pd4WebInstances;
|
|
8
|
+
|
|
6
9
|
// t_pdinstance *Pd4WebPdInstance;
|
|
7
10
|
|
|
8
11
|
// ╭─────────────────────────────────────╮
|
|
@@ -820,7 +823,10 @@ void Pd4Web::unbindReceiver() {
|
|
|
820
823
|
|
|
821
824
|
EM_BOOL Pd4Web::process(int numInputs, const AudioSampleFrame *In, int numOutputs,
|
|
822
825
|
AudioSampleFrame *Out, int numParams, const AudioParamFrame *params,
|
|
823
|
-
void *
|
|
826
|
+
void *data) {
|
|
827
|
+
|
|
828
|
+
UserData *userData = (UserData *)data;
|
|
829
|
+
int instance = userData->instance;
|
|
824
830
|
|
|
825
831
|
for (auto &GuiSender : Pd4WebGuiSenders) {
|
|
826
832
|
if (GuiSender.Updated) {
|
|
@@ -994,6 +1000,7 @@ void Pd4Web::soundToggle() {
|
|
|
994
1000
|
// │ Init Function │
|
|
995
1001
|
// ╰─────────────────────────────────────╯
|
|
996
1002
|
void Pd4Web::init() {
|
|
1003
|
+
PD4WEB_INSTANCES++;
|
|
997
1004
|
LOG("Pd4Web::init");
|
|
998
1005
|
|
|
999
1006
|
if (PD4WEB_GUI) {
|
|
@@ -1017,6 +1024,8 @@ void Pd4Web::init() {
|
|
|
1017
1024
|
_JS_alert("libpd_init() failed, please report!");
|
|
1018
1025
|
return;
|
|
1019
1026
|
}
|
|
1027
|
+
UserData *userData = new UserData();
|
|
1028
|
+
userData->instance = PD4WEB_INSTANCES;
|
|
1020
1029
|
|
|
1021
1030
|
libpd_set_banghook(&Pd4Web::receivedBang);
|
|
1022
1031
|
libpd_set_floathook(&Pd4Web::receivedFloat);
|
|
@@ -1030,7 +1039,7 @@ void Pd4Web::init() {
|
|
|
1030
1039
|
EMSCRIPTEN_WEBAUDIO_T AudioContext = emscripten_create_audio_context(&attrs);
|
|
1031
1040
|
emscripten_start_wasm_audio_worklet_thread_async(AudioContext, WasmAudioWorkletStack,
|
|
1032
1041
|
sizeof(WasmAudioWorkletStack),
|
|
1033
|
-
Pd4Web::audioWorkletInit,
|
|
1042
|
+
Pd4Web::audioWorkletInit, (void *)userData);
|
|
1034
1043
|
m_Context = AudioContext;
|
|
1035
1044
|
|
|
1036
1045
|
// After load, it defines some extra functions
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
// GNU General Public License v3.0
|
|
3
3
|
// For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "LICENSE" in this distribution.
|
|
4
4
|
// Code From: https://github.com/cuinjune/PdWebParty
|
|
5
|
+
|
|
6
|
+
window.addEventListener("load", function () {
|
|
7
|
+
setTimeout(function () {
|
|
8
|
+
if (typeof SharedArrayBuffer === "undefined") {
|
|
9
|
+
console.log("SharedArrayBuffer is not defined");
|
|
10
|
+
alert(
|
|
11
|
+
"Pd4Web could not load. Please try reloading the page. If the issue persists, contact pd4web developers. (pd4web does not work on private tabs).",
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
}, 3000);
|
|
15
|
+
});
|
|
16
|
+
|
|
5
17
|
//╭─────────────────────────────────────╮
|
|
6
18
|
//│ Auto Theming │
|
|
7
19
|
//╰─────────────────────────────────────╯
|
|
@@ -37,9 +37,8 @@ struct Pd4WebGuiConnector {
|
|
|
37
37
|
t_atom *Atoms;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
struct
|
|
41
|
-
int
|
|
42
|
-
bool wait;
|
|
40
|
+
struct UserData {
|
|
41
|
+
int instance;
|
|
43
42
|
};
|
|
44
43
|
|
|
45
44
|
using Pd4WebGuiReceiverList = std::vector<Pd4WebGuiConnector>;
|
|
@@ -68,7 +67,7 @@ class Pd4Web {
|
|
|
68
67
|
|
|
69
68
|
// Gui
|
|
70
69
|
static void guiLoop();
|
|
71
|
-
|
|
70
|
+
UserData *m_SharedData;
|
|
72
71
|
bool _busyWaiter();
|
|
73
72
|
|
|
74
73
|
// Receivers
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pd4web"
|
|
3
|
-
version = "2.3.0.
|
|
3
|
+
version = "2.3.0.rc2"
|
|
4
4
|
description = "pd4web compiles PureData patches with external objects for Wasm, allowing to run entire patches in web browsers."
|
|
5
5
|
authors = ["Charles K. Neimog <charlesneimog@outlook.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -1,517 +0,0 @@
|
|
|
1
|
-
cmake_minimum_required(VERSION 3.25)
|
|
2
|
-
project(else)
|
|
3
|
-
set(LIB_DIR ${PD4WEB_EXTERNAL_DIR}/${PROJECT_NAME})
|
|
4
|
-
|
|
5
|
-
include_directories(${LIB_DIR}/Source/Shared/aubio/src)
|
|
6
|
-
include_directories(${LIB_DIR}/Source/Shared)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# ╭──────────────────────────────────────╮
|
|
10
|
-
# │ GUI INTERFACE │
|
|
11
|
-
# ╰──────────────────────────────────────╯
|
|
12
|
-
pd_add_external(knob "${LIB_DIR}/Source/Control/knob.c")
|
|
13
|
-
pd_add_external(button "${LIB_DIR}/Source/Control/button.c")
|
|
14
|
-
pd_add_external(pic "${LIB_DIR}/Source/Control/pic.c")
|
|
15
|
-
pd_add_external(keyboard "${LIB_DIR}/Source/Control/keyboard.c")
|
|
16
|
-
pd_add_external(pad "${LIB_DIR}/Source/Control/pad.c")
|
|
17
|
-
pd_add_external(openfile "${LIB_DIR}/Source/Control/openfile.c")
|
|
18
|
-
pd_add_external(colors "${LIB_DIR}/Source/Control/colors.c")
|
|
19
|
-
|
|
20
|
-
# ╭──────────────────────────────────────╮
|
|
21
|
-
# │ CONTROL │
|
|
22
|
-
# ╰──────────────────────────────────────╯
|
|
23
|
-
pd_add_external(args "${LIB_DIR}/Source/Control/args.c")
|
|
24
|
-
pd_add_external(ctl.in "${LIB_DIR}/Source/Control/ctl.in.c")
|
|
25
|
-
pd_add_external(ctl.out "${LIB_DIR}/Source/Control/ctl.out.c")
|
|
26
|
-
pd_add_external(ceil "${LIB_DIR}/Source/Control/ceil.c")
|
|
27
|
-
pd_add_external(suspedal "${LIB_DIR}/Source/Control/suspedal.c")
|
|
28
|
-
pd_add_external(voices "${LIB_DIR}/Source/Control/voices.c")
|
|
29
|
-
pd_add_external(buffer "${LIB_DIR}/Source/Control/buffer.c")
|
|
30
|
-
pd_add_external(bicoeff "${LIB_DIR}/Source/Control/bicoeff.c")
|
|
31
|
-
pd_add_external(bicoeff2 "${LIB_DIR}/Source/Control/bicoeff2.c")
|
|
32
|
-
pd_add_external(click "${LIB_DIR}/Source/Control/click.c")
|
|
33
|
-
pd_add_external(canvas.active "${LIB_DIR}/Source/Control/canvas.active.c")
|
|
34
|
-
pd_add_external(canvas.bounds "${LIB_DIR}/Source/Control/canvas.bounds.c")
|
|
35
|
-
pd_add_external(canvas.edit "${LIB_DIR}/Source/Control/canvas.edit.c")
|
|
36
|
-
pd_add_external(canvas.gop "${LIB_DIR}/Source/Control/canvas.gop.c")
|
|
37
|
-
pd_add_external(canvas.mouse "${LIB_DIR}/Source/Control/canvas.mouse.c")
|
|
38
|
-
pd_add_external(canvas.name "${LIB_DIR}/Source/Control/canvas.name.c")
|
|
39
|
-
pd_add_external(canvas.pos "${LIB_DIR}/Source/Control/canvas.pos.c")
|
|
40
|
-
pd_add_external(canvas.setname "${LIB_DIR}/Source/Control/canvas.setname.c")
|
|
41
|
-
pd_add_external(canvas.vis "${LIB_DIR}/Source/Control/canvas.vis.c")
|
|
42
|
-
pd_add_external(canvas.zoom "${LIB_DIR}/Source/Control/canvas.zoom.c")
|
|
43
|
-
pd_add_external(properties "${LIB_DIR}/Source/Control/properties.c")
|
|
44
|
-
pd_add_external(break "${LIB_DIR}/Source/Control/break.c")
|
|
45
|
-
pd_add_external(cents2ratio "${LIB_DIR}/Source/Control/cents2ratio.c")
|
|
46
|
-
pd_add_external(changed "${LIB_DIR}/Source/Control/changed.c")
|
|
47
|
-
pd_add_external(gcd "${LIB_DIR}/Source/Control/gcd.c")
|
|
48
|
-
pd_add_external(dir "${LIB_DIR}/Source/Control/dir.c")
|
|
49
|
-
pd_add_external(datetime "${LIB_DIR}/Source/Control/datetime.c")
|
|
50
|
-
pd_add_external(default "${LIB_DIR}/Source/Control/default.c")
|
|
51
|
-
pd_add_external(dollsym "${LIB_DIR}/Source/Control/dollsym.c")
|
|
52
|
-
pd_add_external(floor "${LIB_DIR}/Source/Control/floor.c")
|
|
53
|
-
pd_add_external(fold "${LIB_DIR}/Source/Control/fold.c")
|
|
54
|
-
pd_add_external(hot "${LIB_DIR}/Source/Control/hot.c")
|
|
55
|
-
pd_add_external(hz2rad "${LIB_DIR}/Source/Control/hz2rad.c")
|
|
56
|
-
pd_add_external(initmess "${LIB_DIR}/Source/Control/initmess.c")
|
|
57
|
-
pd_add_external(keycode "${LIB_DIR}/Source/Control/keycode.c")
|
|
58
|
-
pd_add_external(lb "${LIB_DIR}/Source/Extra/Aliases/lb.c")
|
|
59
|
-
pd_add_external(limit "${LIB_DIR}/Source/Control/limit.c")
|
|
60
|
-
pd_add_external(loadbanger "${LIB_DIR}/Source/Control/loadbanger.c")
|
|
61
|
-
pd_add_external(merge "${LIB_DIR}/Source/Control/merge.c")
|
|
62
|
-
pd_add_external(fontsize "${LIB_DIR}/Source/Control/fontsize.c")
|
|
63
|
-
pd_add_external(format "${LIB_DIR}/Source/Control/format.c")
|
|
64
|
-
pd_add_external(message "${LIB_DIR}/Source/Control/message.c")
|
|
65
|
-
pd_add_external(messbox "${LIB_DIR}/Source/Control/messbox.c")
|
|
66
|
-
pd_add_external(metronome "${LIB_DIR}/Source/Control/metronome.c")
|
|
67
|
-
pd_add_external(mouse "${LIB_DIR}/Source/Control/mouse.c")
|
|
68
|
-
pd_add_external(mpe.in "${LIB_DIR}/Source/Control/mpe.in.c")
|
|
69
|
-
pd_add_external(noteinfo "${LIB_DIR}/Source/Control/noteinfo.c")
|
|
70
|
-
pd_add_external(note.in "${LIB_DIR}/Source/Control/note.in.c")
|
|
71
|
-
pd_add_external(note.out "${LIB_DIR}/Source/Control/note.out.c")
|
|
72
|
-
pd_add_external(order "${LIB_DIR}/Source/Control/order.c")
|
|
73
|
-
pd_add_external(osc.route "${LIB_DIR}/Source/Control/osc.route.c")
|
|
74
|
-
pd_add_external(osc.parse "${LIB_DIR}/Source/Control/osc.parse.c")
|
|
75
|
-
pd_add_external(osc.format "${LIB_DIR}/Source/Control/osc.format.c")
|
|
76
|
-
pd_add_external(factor "${LIB_DIR}/Source/Control/factor.c")
|
|
77
|
-
pd_add_external(float2bits "${LIB_DIR}/Source/Control/float2bits.c")
|
|
78
|
-
pd_add_external(panic "${LIB_DIR}/Source/Control/panic.c")
|
|
79
|
-
pd_add_external(pgm.in "${LIB_DIR}/Source/Control/pgm.in.c")
|
|
80
|
-
pd_add_external(pgm.out "${LIB_DIR}/Source/Control/pgm.out.c")
|
|
81
|
-
pd_add_external(pipe2 "${LIB_DIR}/Source/Control/pipe2.c")
|
|
82
|
-
pd_add_external(bend.in "${LIB_DIR}/Source/Control/bend.in.c")
|
|
83
|
-
pd_add_external(bend.out "${LIB_DIR}/Source/Control/bend.out.c")
|
|
84
|
-
pd_add_external(pack2 "${LIB_DIR}/Source/Control/pack2.c")
|
|
85
|
-
pd_add_external(quantizer "${LIB_DIR}/Source/Control/quantizer.c")
|
|
86
|
-
pd_add_external(rad2hz "${LIB_DIR}/Source/Control/rad2hz.c")
|
|
87
|
-
pd_add_external(ratio2cents "${LIB_DIR}/Source/Control/ratio2cents.c")
|
|
88
|
-
pd_add_external(rescale "${LIB_DIR}/Source/Control/rescale.c")
|
|
89
|
-
pd_add_external(rint "${LIB_DIR}/Source/Control/rint.c")
|
|
90
|
-
pd_add_external(router "${LIB_DIR}/Source/Control/router.c")
|
|
91
|
-
pd_add_external(route2 "${LIB_DIR}/Source/Control/route2.c")
|
|
92
|
-
pd_add_external(routeall "${LIB_DIR}/Source/Control/routeall.c")
|
|
93
|
-
pd_add_external(routetype "${LIB_DIR}/Source/Control/routetype.c")
|
|
94
|
-
pd_add_external(receiver "${LIB_DIR}/Source/Control/receiver.c")
|
|
95
|
-
pd_add_external(retrieve "${LIB_DIR}/Source/Control/retrieve.c")
|
|
96
|
-
pd_add_external(selector "${LIB_DIR}/Source/Control/selector.c")
|
|
97
|
-
pd_add_external(sender "${LIB_DIR}/Source/Control/sender.c")
|
|
98
|
-
pd_add_external(separate "${LIB_DIR}/Source/Control/separate.c")
|
|
99
|
-
pd_add_external(symbol2any "${LIB_DIR}/Source/Control/symbol2any.c")
|
|
100
|
-
pd_add_external(slice "${LIB_DIR}/Source/Control/slice.c")
|
|
101
|
-
pd_add_external(sort "${LIB_DIR}/Source/Control/sort.c")
|
|
102
|
-
pd_add_external(spread "${LIB_DIR}/Source/Control/spread.c")
|
|
103
|
-
pd_add_external(touch.in "${LIB_DIR}/Source/Control/touch.in.c")
|
|
104
|
-
pd_add_external(touch.out "${LIB_DIR}/Source/Control/touch.out.c")
|
|
105
|
-
pd_add_external(ptouch.in "${LIB_DIR}/Source/Control/ptouch.in.c")
|
|
106
|
-
pd_add_external(ptouch.out "${LIB_DIR}/Source/Control/ptouch.out.c")
|
|
107
|
-
pd_add_external(trunc "${LIB_DIR}/Source/Control/trunc.c")
|
|
108
|
-
pd_add_external(unmerge "${LIB_DIR}/Source/Control/unmerge.c")
|
|
109
|
-
pd_add_external(var "${LIB_DIR}/Source/Control/var.c")
|
|
110
|
-
|
|
111
|
-
# ╭──────────────────────────────────────╮
|
|
112
|
-
# │ SIGNAL │
|
|
113
|
-
# ╰──────────────────────────────────────╯
|
|
114
|
-
pd_add_external(above~ "${LIB_DIR}/Source/Audio/above~.c")
|
|
115
|
-
pd_add_external(add~ "${LIB_DIR}/Source/Audio/add~.c")
|
|
116
|
-
pd_add_external(allpass.2nd~ "${LIB_DIR}/Source/Audio/allpass.2nd~.c")
|
|
117
|
-
pd_add_external(allpass.rev~ "${LIB_DIR}/Source/Audio/allpass.rev~.c")
|
|
118
|
-
pd_add_external(bitnormal~ "${LIB_DIR}/Source/Audio/bitnormal~.c")
|
|
119
|
-
pd_add_external(comb.rev~ "${LIB_DIR}/Source/Audio/comb.rev~.c")
|
|
120
|
-
pd_add_external(comb.filt~ "${LIB_DIR}/Source/Audio/comb.filt~.c")
|
|
121
|
-
pd_add_external(adsr~ "${LIB_DIR}/Source/Audio/adsr~.c")
|
|
122
|
-
pd_add_external(asr~ "${LIB_DIR}/Source/Audio/asr~.c")
|
|
123
|
-
pd_add_external(bandpass~ "${LIB_DIR}/Source/Audio/bandpass~.c")
|
|
124
|
-
pd_add_external(bandstop~ "${LIB_DIR}/Source/Audio/bandstop~.c")
|
|
125
|
-
pd_add_external(bl.imp~ "${LIB_DIR}/Source/Audio/bl.imp~.c")
|
|
126
|
-
pd_add_external(bl.imp2~ "${LIB_DIR}/Source/Audio/bl.imp2~.c")
|
|
127
|
-
pd_add_external(bl.saw~ "${LIB_DIR}/Source/Audio/bl.saw~.c")
|
|
128
|
-
pd_add_external(bl.saw2~ "${LIB_DIR}/Source/Audio/bl.saw2~.c")
|
|
129
|
-
pd_add_external(bl.square~ "${LIB_DIR}/Source/Audio/bl.square~.c")
|
|
130
|
-
pd_add_external(bl.tri~ "${LIB_DIR}/Source/Audio/bl.tri~.c")
|
|
131
|
-
pd_add_external(bl.vsaw~ "${LIB_DIR}/Source/Audio/bl.vsaw~.c")
|
|
132
|
-
pd_add_external(blocksize~ "${LIB_DIR}/Source/Audio/blocksize~.c")
|
|
133
|
-
pd_add_external(biquads~ "${LIB_DIR}/Source/Audio/biquads~.c")
|
|
134
|
-
pd_add_external(car2pol~ "${LIB_DIR}/Source/Audio/car2pol~.c")
|
|
135
|
-
pd_add_external(ceil~ "${LIB_DIR}/Source/Audio/ceil~.c")
|
|
136
|
-
pd_add_external(cents2ratio~ "${LIB_DIR}/Source/Audio/cents2ratio~.c")
|
|
137
|
-
pd_add_external(changed~ "${LIB_DIR}/Source/Audio/changed~.c")
|
|
138
|
-
pd_add_external(changed2~ "${LIB_DIR}/Source/Audio/changed2~.c")
|
|
139
|
-
pd_add_external(conv~ "${LIB_DIR}/Source/Audio/conv~.c")
|
|
140
|
-
pd_add_external(crackle~ "${LIB_DIR}/Source/Audio/crackle~.c")
|
|
141
|
-
pd_add_external(crossover~ "${LIB_DIR}/Source/Audio/crossover~.c")
|
|
142
|
-
pd_add_external(cusp~ "${LIB_DIR}/Source/Audio/cusp~.c")
|
|
143
|
-
pd_add_external(db2lin~ "${LIB_DIR}/Source/Audio/db2lin~.c")
|
|
144
|
-
pd_add_external(decay~ "${LIB_DIR}/Source/Audio/decay~.c")
|
|
145
|
-
pd_add_external(decay2~ "${LIB_DIR}/Source/Audio/decay2~.c")
|
|
146
|
-
pd_add_external(downsample~ "${LIB_DIR}/Source/Audio/downsample~.c")
|
|
147
|
-
pd_add_external(drive~ "${LIB_DIR}/Source/Audio/drive~.c")
|
|
148
|
-
pd_add_external(detect~ "${LIB_DIR}/Source/Audio/detect~.c")
|
|
149
|
-
pd_add_external(envgen~ "${LIB_DIR}/Source/Audio/envgen~.c")
|
|
150
|
-
pd_add_external(eq~ "${LIB_DIR}/Source/Audio/eq~.c")
|
|
151
|
-
pd_add_external(fbsine2~ "${LIB_DIR}/Source/Audio/fbsine2~.c")
|
|
152
|
-
pd_add_external(fdn.rev~ "${LIB_DIR}/Source/Audio/fdn.rev~.c")
|
|
153
|
-
pd_add_external(floor~ "${LIB_DIR}/Source/Audio/floor~.c")
|
|
154
|
-
pd_add_external(fold~ "${LIB_DIR}/Source/Audio/fold~.c")
|
|
155
|
-
pd_add_external(freq.shift~ "${LIB_DIR}/Source/Audio/freq.shift~.c")
|
|
156
|
-
pd_add_external(gbman~ "${LIB_DIR}/Source/Audio/gbman~.c")
|
|
157
|
-
pd_add_external(gate2imp~ "${LIB_DIR}/Source/Audio/gate2imp~.c")
|
|
158
|
-
pd_add_external(get~ "${LIB_DIR}/Source/Audio/get~.c")
|
|
159
|
-
pd_add_external(giga.rev~ "${LIB_DIR}/Source/Audio/giga.rev~.c")
|
|
160
|
-
pd_add_external(glide~ "${LIB_DIR}/Source/Audio/glide~.c")
|
|
161
|
-
pd_add_external(glide2~ "${LIB_DIR}/Source/Audio/glide2~.c")
|
|
162
|
-
pd_add_external(henon~ "${LIB_DIR}/Source/Audio/henon~.c")
|
|
163
|
-
pd_add_external(highpass~ "${LIB_DIR}/Source/Audio/highpass~.c")
|
|
164
|
-
pd_add_external(highshelf~ "${LIB_DIR}/Source/Audio/highshelf~.c")
|
|
165
|
-
pd_add_external(ikeda~ "${LIB_DIR}/Source/Audio/ikeda~.c")
|
|
166
|
-
pd_add_external(impseq~ "${LIB_DIR}/Source/Audio/impseq~.c")
|
|
167
|
-
pd_add_external(trunc~ "${LIB_DIR}/Source/Audio/trunc~.c")
|
|
168
|
-
pd_add_external(lastvalue~ "${LIB_DIR}/Source/Audio/lastvalue~.c")
|
|
169
|
-
pd_add_external(latoocarfian~ "${LIB_DIR}/Source/Audio/latoocarfian~.c")
|
|
170
|
-
pd_add_external(lorenz~ "${LIB_DIR}/Source/Audio/lorenz~.c")
|
|
171
|
-
pd_add_external(lincong~ "${LIB_DIR}/Source/Audio/lincong~.c")
|
|
172
|
-
pd_add_external(lin2db~ "${LIB_DIR}/Source/Audio/lin2db~.c")
|
|
173
|
-
pd_add_external(logistic~ "${LIB_DIR}/Source/Audio/logistic~.c")
|
|
174
|
-
pd_add_external(loop "${LIB_DIR}/Source/Control/loop.c")
|
|
175
|
-
pd_add_external(lop2~ "${LIB_DIR}/Source/Audio/lop2~.c")
|
|
176
|
-
pd_add_external(lowpass~ "${LIB_DIR}/Source/Audio/lowpass~.c")
|
|
177
|
-
pd_add_external(lowshelf~ "${LIB_DIR}/Source/Audio/lowshelf~.c")
|
|
178
|
-
pd_add_external(mov.rms~ "${LIB_DIR}/Source/Audio/mov.rms~.c")
|
|
179
|
-
pd_add_external(mtx~ "${LIB_DIR}/Source/Audio/mtx~.c")
|
|
180
|
-
pd_add_external(mtx.mc~ "${LIB_DIR}/Source/Audio/mtx.mc~.c")
|
|
181
|
-
pd_add_external(match~ "${LIB_DIR}/Source/Audio/match~.c")
|
|
182
|
-
pd_add_external(mov.avg~ "${LIB_DIR}/Source/Audio/mov.avg~.c")
|
|
183
|
-
pd_add_external(median~ "${LIB_DIR}/Source/Audio/median~.c")
|
|
184
|
-
pd_add_external(merge~ "${LIB_DIR}/Source/Audio/merge~.c")
|
|
185
|
-
pd_add_external(nchs~ "${LIB_DIR}/Source/Audio/nchs~.c")
|
|
186
|
-
pd_add_external(nyquist~ "${LIB_DIR}/Source/Audio/nyquist~.c")
|
|
187
|
-
pd_add_external(op~ "${LIB_DIR}/Source/Audio/op~.c")
|
|
188
|
-
pd_add_external(pol2car~ "${LIB_DIR}/Source/Audio/pol2car~.c")
|
|
189
|
-
pd_add_external(power~ "${LIB_DIR}/Source/Audio/power~.c")
|
|
190
|
-
pd_add_external(peak~ "${LIB_DIR}/Source/Audio/peak~.c")
|
|
191
|
-
pd_add_external(phaseseq~ "${LIB_DIR}/Source/Audio/phaseseq~.c")
|
|
192
|
-
pd_add_external(pulsecount~ "${LIB_DIR}/Source/Audio/pulsecount~.c")
|
|
193
|
-
pd_add_external(pick~ "${LIB_DIR}/Source/Audio/pick~.c")
|
|
194
|
-
pd_add_external(pimpmul~ "${LIB_DIR}/Source/Audio/pimpmul~.c")
|
|
195
|
-
pd_add_external(pulsediv~ "${LIB_DIR}/Source/Audio/pulsediv~.c")
|
|
196
|
-
pd_add_external(quad~ "${LIB_DIR}/Source/Audio/quad~.c")
|
|
197
|
-
pd_add_external(quantizer~ "${LIB_DIR}/Source/Audio/quantizer~.c")
|
|
198
|
-
pd_add_external(ramp~ "${LIB_DIR}/Source/Audio/ramp~.c")
|
|
199
|
-
pd_add_external(range~ "${LIB_DIR}/Source/Audio/range~.c")
|
|
200
|
-
pd_add_external(ratio2cents~ "${LIB_DIR}/Source/Audio/ratio2cents~.c")
|
|
201
|
-
pd_add_external(rescale~ "${LIB_DIR}/Source/Audio/rescale~.c")
|
|
202
|
-
pd_add_external(rint~ "${LIB_DIR}/Source/Audio/rint~.c")
|
|
203
|
-
pd_add_external(repeat~ "${LIB_DIR}/Source/Audio/repeat~.c")
|
|
204
|
-
pd_add_external(resonant~ "${LIB_DIR}/Source/Audio/resonant~.c")
|
|
205
|
-
pd_add_external(resonant2~ "${LIB_DIR}/Source/Audio/resonant2~.c")
|
|
206
|
-
pd_add_external(rms~ "${LIB_DIR}/Source/Audio/rms~.c")
|
|
207
|
-
pd_add_external(sh~ "${LIB_DIR}/Source/Audio/sh~.c")
|
|
208
|
-
pd_add_external(schmitt~ "${LIB_DIR}/Source/Audio/schmitt~.c")
|
|
209
|
-
pd_add_external(slice~ "${LIB_DIR}/Source/Audio/slice~.c")
|
|
210
|
-
pd_add_external(lag~ "${LIB_DIR}/Source/Audio/lag~.c")
|
|
211
|
-
pd_add_external(lag2~ "${LIB_DIR}/Source/Audio/lag2~.c")
|
|
212
|
-
pd_add_external(sig2float~ "${LIB_DIR}/Source/Audio/sig2float~.c")
|
|
213
|
-
pd_add_external(slew~ "${LIB_DIR}/Source/Audio/slew~.c")
|
|
214
|
-
pd_add_external(slew2~ "${LIB_DIR}/Source/Audio/slew2~.c")
|
|
215
|
-
pd_add_external(s2f~ "${LIB_DIR}/Source/Extra/Aliases/s2f~.c")
|
|
216
|
-
pd_add_external(sequencer~ "${LIB_DIR}/Source/Audio/sequencer~.c")
|
|
217
|
-
pd_add_external(select~ "${LIB_DIR}/Source/Audio/select~.c")
|
|
218
|
-
pd_add_external(sr~ "${LIB_DIR}/Source/Audio/sr~.c")
|
|
219
|
-
pd_add_external(status~ "${LIB_DIR}/Source/Audio/status~.c")
|
|
220
|
-
pd_add_external(standard~ "${LIB_DIR}/Source/Audio/standard~.c")
|
|
221
|
-
pd_add_external(sum~ "${LIB_DIR}/Source/Audio/sum~.c")
|
|
222
|
-
pd_add_external(sigs~ "${LIB_DIR}/Source/Audio/sigs~.c")
|
|
223
|
-
pd_add_external(susloop~ "${LIB_DIR}/Source/Audio/susloop~.c")
|
|
224
|
-
pd_add_external(svfilter~ "${LIB_DIR}/Source/Audio/svfilter~.c")
|
|
225
|
-
pd_add_external(trig.delay~ "${LIB_DIR}/Source/Audio/trig.delay~.c")
|
|
226
|
-
pd_add_external(trig.delay2~ "${LIB_DIR}/Source/Audio/trig.delay2~.c")
|
|
227
|
-
pd_add_external(timed.gate~ "${LIB_DIR}/Source/Audio/timed.gate~.c")
|
|
228
|
-
pd_add_external(toggleff~ "${LIB_DIR}/Source/Audio/toggleff~.c")
|
|
229
|
-
pd_add_external(trighold~ "${LIB_DIR}/Source/Audio/trighold~.c")
|
|
230
|
-
pd_add_external(unmerge~ "${LIB_DIR}/Source/Audio/unmerge~.c")
|
|
231
|
-
pd_add_external(vu~ "${LIB_DIR}/Source/Audio/vu~.c")
|
|
232
|
-
pd_add_external(vcf2~ "${LIB_DIR}/Source/Audio/vcf2~.c")
|
|
233
|
-
pd_add_external(xmod~ "${LIB_DIR}/Source/Audio/xmod~.c")
|
|
234
|
-
pd_add_external(xmod2~ "${LIB_DIR}/Source/Audio/xmod2~.c")
|
|
235
|
-
pd_add_external(wrap2 "${LIB_DIR}/Source/Control/wrap2.c")
|
|
236
|
-
pd_add_external(wrap2~ "${LIB_DIR}/Source/Audio/wrap2~.c")
|
|
237
|
-
pd_add_external(zerocross~ "${LIB_DIR}/Source/Audio/zerocross~.c")
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
# ╭──────────────────────────────────────╮
|
|
242
|
-
# │ AUBIO │
|
|
243
|
-
# ╰──────────────────────────────────────╯
|
|
244
|
-
file(GLOB_RECURSE AUBIO_SRC1 "${LIB_DIR}/Source/Shared/aubio/src/*/*.c")
|
|
245
|
-
file(GLOB_RECURSE AUBIO_SRC2 "${LIB_DIR}/Source/Shared/aubio/src/*.c")
|
|
246
|
-
file(GLOB_RECURSE AUBIO_SRC3 "${LIB_DIR}/Source/Audio/beat~.c")
|
|
247
|
-
pd_add_external(beat~ "${AUBIO_SRC1};${AUBIO_SRC2};${AUBIO_SRC3}")
|
|
248
|
-
|
|
249
|
-
# ╭──────────────────────────────────────╮
|
|
250
|
-
# │ MAGIC │
|
|
251
|
-
# ╰──────────────────────────────────────╯
|
|
252
|
-
set(MAGIC_CODE "${LIB_DIR}/Source/Shared/magic.c")
|
|
253
|
-
|
|
254
|
-
pd_add_external(gaussian~ "${LIB_DIR}/Source/Audio/gaussian~.c;${MAGIC_CODE}")
|
|
255
|
-
pd_add_external(imp~ "${LIB_DIR}/Source/Extra/Aliases/imp~.c;${MAGIC_CODE}")
|
|
256
|
-
pd_add_external(impulse~ "${LIB_DIR}/Source/Audio/impulse~.c;${MAGIC_CODE}")
|
|
257
|
-
pd_add_external(imp2~ "${LIB_DIR}/Source/Extra/Aliases/imp2~.c;${MAGIC_CODE}")
|
|
258
|
-
pd_add_external(impulse2~ "${LIB_DIR}/Source/Audio/impulse2~.c;${MAGIC_CODE}")
|
|
259
|
-
pd_add_external(parabolic~ "${LIB_DIR}/Source/Audio/parabolic~.c;${MAGIC_CODE}")
|
|
260
|
-
pd_add_external(pulse~ "${LIB_DIR}/Source/Audio/pulse~.c;${MAGIC_CODE}")
|
|
261
|
-
pd_add_external(saw~ "${LIB_DIR}/Source/Audio/saw~.c;${MAGIC_CODE}")
|
|
262
|
-
pd_add_external(saw2~ "${LIB_DIR}/Source/Audio/saw2~.c;${MAGIC_CODE}")
|
|
263
|
-
pd_add_external(square~ "${LIB_DIR}/Source/Audio/square~.c;${MAGIC_CODE}")
|
|
264
|
-
pd_add_external(tri~ "${LIB_DIR}/Source/Audio/tri~.c;${MAGIC_CODE}")
|
|
265
|
-
pd_add_external(vsaw~ "${LIB_DIR}/Source/Audio/vsaw~.c;${MAGIC_CODE}")
|
|
266
|
-
pd_add_external(pimp~ "${LIB_DIR}/Source/Audio/pimp~.c;${MAGIC_CODE}")
|
|
267
|
-
pd_add_external(numbox~ "${LIB_DIR}/Source/Audio/numbox~.c;${MAGIC_CODE}")
|
|
268
|
-
|
|
269
|
-
# ╭──────────────────────────────────────╮
|
|
270
|
-
# │ BUFFER │
|
|
271
|
-
# ╰──────────────────────────────────────╯
|
|
272
|
-
set(ELSE_BUFFER "${LIB_DIR}/Source/Shared/buffer.c")
|
|
273
|
-
|
|
274
|
-
pd_add_external(fader~ "${LIB_DIR}/Source/Audio/fader~.c;${ELSE_BUFFER}")
|
|
275
|
-
pd_add_external(autofade~ "${LIB_DIR}/Source/Audio/autofade~.c;${ELSE_BUFFER}")
|
|
276
|
-
pd_add_external(autofade.mc~ "${LIB_DIR}/Source/Audio/autofade.mc~.c;${ELSE_BUFFER}")
|
|
277
|
-
pd_add_external(autofade2~ "${LIB_DIR}/Source/Audio/autofade2~.c;${ELSE_BUFFER}")
|
|
278
|
-
pd_add_external(autofade2.mc~ "${LIB_DIR}/Source/Audio/autofade2.mc~.c;${ELSE_BUFFER}")
|
|
279
|
-
pd_add_external(balance~ "${LIB_DIR}/Source/Audio/balance~.c;${ELSE_BUFFER}")
|
|
280
|
-
pd_add_external(pan~ "${LIB_DIR}/Source/Audio/pan~.c;${ELSE_BUFFER}")
|
|
281
|
-
pd_add_external(pan.mc~ "${LIB_DIR}/Source/Audio/pan.mc~.c;${ELSE_BUFFER}")
|
|
282
|
-
pd_add_external(pan2~ "${LIB_DIR}/Source/Audio/pan2~.c;${ELSE_BUFFER}")
|
|
283
|
-
pd_add_external(pan4~ "${LIB_DIR}/Source/Audio/pan4~.c;${ELSE_BUFFER}")
|
|
284
|
-
pd_add_external(rotate~ "${LIB_DIR}/Source/Audio/rotate~.c;${ELSE_BUFFER}")
|
|
285
|
-
pd_add_external(rotate.mc~ "${LIB_DIR}/Source/Audio/rotate.mc~.c;${ELSE_BUFFER}")
|
|
286
|
-
pd_add_external(spread~ "${LIB_DIR}/Source/Audio/spread~.c;${ELSE_BUFFER}")
|
|
287
|
-
pd_add_external(spread.mc~ "${LIB_DIR}/Source/Audio/spread.mc~.c;${ELSE_BUFFER}")
|
|
288
|
-
pd_add_external(xfade~ "${LIB_DIR}/Source/Audio/xfade~.c;${ELSE_BUFFER}")
|
|
289
|
-
pd_add_external(xfade.mc~ "${LIB_DIR}/Source/Audio/xfade.mc~.c;${ELSE_BUFFER}")
|
|
290
|
-
pd_add_external(xgate~ "${LIB_DIR}/Source/Audio/xgate~.c;${ELSE_BUFFER}")
|
|
291
|
-
pd_add_external(xgate.mc~ "${LIB_DIR}/Source/Audio/xgate.mc~.c;${ELSE_BUFFER}")
|
|
292
|
-
pd_add_external(xgate2.mc~ "${LIB_DIR}/Source/Audio/xgate2.mc~.c;${ELSE_BUFFER}")
|
|
293
|
-
pd_add_external(xgate2~ "${LIB_DIR}/Source/Audio/xgate2~.c;${ELSE_BUFFER}")
|
|
294
|
-
pd_add_external(xselect~ "${LIB_DIR}/Source/Audio/xselect~.c;${ELSE_BUFFER}")
|
|
295
|
-
pd_add_external(xselect.mc~ "${LIB_DIR}/Source/Audio/xselect.mc~.c;${ELSE_BUFFER}")
|
|
296
|
-
pd_add_external(xselect2~ "${LIB_DIR}/Source/Audio/xselect2~.c;${ELSE_BUFFER}")
|
|
297
|
-
pd_add_external(xselect2.mc~ "${LIB_DIR}/Source/Audio/xselect2.mc~.c;${ELSE_BUFFER}")
|
|
298
|
-
pd_add_external(sin~ "${LIB_DIR}/Source/Audio/sin~.c;${ELSE_BUFFER}")
|
|
299
|
-
pd_add_external(fm~ "${LIB_DIR}/Source/Audio/fm~.c;${ELSE_BUFFER}")
|
|
300
|
-
pd_add_external(pm~ "${LIB_DIR}/Source/Audio/pm~.c;${ELSE_BUFFER}")
|
|
301
|
-
pd_add_external(pm2~ "${LIB_DIR}/Source/Audio/pm2~.c;${ELSE_BUFFER}")
|
|
302
|
-
pd_add_external(pm4~ "${LIB_DIR}/Source/Audio/pm4~.c;${ELSE_BUFFER}")
|
|
303
|
-
pd_add_external(pm6~ "${LIB_DIR}/Source/Audio/pm6~.c;${ELSE_BUFFER}")
|
|
304
|
-
pd_add_external(shaper~ "${LIB_DIR}/Source/Audio/shaper~.c;${ELSE_BUFFER}")
|
|
305
|
-
pd_add_external(tabreader "${LIB_DIR}/Source/Control/tabreader.c;${ELSE_BUFFER}")
|
|
306
|
-
pd_add_external(tabreader~ "${LIB_DIR}/Source/Audio/tabreader~.c;${ELSE_BUFFER}")
|
|
307
|
-
pd_add_external(function "${LIB_DIR}/Source/Control/function.c;${ELSE_BUFFER}")
|
|
308
|
-
pd_add_external(function~ "${LIB_DIR}/Source/Audio/function~.c;${ELSE_BUFFER}")
|
|
309
|
-
pd_add_external(tabwriter~ "${LIB_DIR}/Source/Audio/tabwriter~.c;${ELSE_BUFFER}")
|
|
310
|
-
pd_add_external(del~ "${LIB_DIR}/Source/Audio/del~.c;${ELSE_BUFFER}")
|
|
311
|
-
pd_add_external(fbdelay~ "${LIB_DIR}/Source/Audio/fbdelay~.c;${ELSE_BUFFER}")
|
|
312
|
-
pd_add_external(ffdelay~ "${LIB_DIR}/Source/Audio/ffdelay~.c;${ELSE_BUFFER}")
|
|
313
|
-
pd_add_external(filterdelay~ "${LIB_DIR}/Source/Audio/filterdelay~.c;${ELSE_BUFFER}")
|
|
314
|
-
|
|
315
|
-
# ╭──────────────────────────────────────╮
|
|
316
|
-
# │ BUFMAGIC │
|
|
317
|
-
# ╰──────────────────────────────────────╯
|
|
318
|
-
list(APPEND bufmagic ${ELSE_BUFFER})
|
|
319
|
-
list(APPEND bufmagic ${MAGIC_CODE})
|
|
320
|
-
|
|
321
|
-
pd_add_external(cosine~ "${LIB_DIR}/Source/Audio/cosine~.c;${bufmagic}")
|
|
322
|
-
pd_add_external(fbsine~ "${LIB_DIR}/Source/Audio/fbsine~.c;${bufmagic}")
|
|
323
|
-
pd_add_external(sine~ "${LIB_DIR}/Source/Audio/sine~.c;${bufmagic}")
|
|
324
|
-
pd_add_external(wavetable~ "${LIB_DIR}/Source/Audio/wavetable~.c;${bufmagic}")
|
|
325
|
-
pd_add_external(wt~ "${LIB_DIR}/Source/Extra/Aliases/wt~.c;${bufmagic}")
|
|
326
|
-
pd_add_external(wt2d~ "${LIB_DIR}/Source/Audio/wt2d~.c;${bufmagic}")
|
|
327
|
-
pd_add_external(tabplayer~ "${LIB_DIR}/Source/Audio/tabplayer~.c;${bufmagic}")
|
|
328
|
-
|
|
329
|
-
# ╭──────────────────────────────────────╮
|
|
330
|
-
# │ RANDBUF │
|
|
331
|
-
# ╰──────────────────────────────────────╯
|
|
332
|
-
list(APPEND randbuf "${LIB_DIR}/Source/Shared/random.c")
|
|
333
|
-
list(APPEND randbuf "${LIB_DIR}/Source/Shared/buffer.c")
|
|
334
|
-
|
|
335
|
-
pd_add_external(gendyn~ "${LIB_DIR}/Source/Audio/gendyn~.c;${randbuf}")
|
|
336
|
-
|
|
337
|
-
# ╭──────────────────────────────────────╮
|
|
338
|
-
# │ RANDMAGIC │
|
|
339
|
-
# ╰──────────────────────────────────────╯
|
|
340
|
-
list(APPEND randmagic ${MAGIC_CODE})
|
|
341
|
-
list(APPEND randmagic "${LIB_DIR}/Source/Shared/random.c")
|
|
342
|
-
pd_add_external(brown~ "${LIB_DIR}/Source/Audio/brown~.c;${randmagic}")
|
|
343
|
-
pd_add_external(velvet~ "${LIB_DIR}/Source/Audio/velvet~.c;${randmagic}")
|
|
344
|
-
|
|
345
|
-
# ╭──────────────────────────────────────╮
|
|
346
|
-
# │ RAND │
|
|
347
|
-
# ╰──────────────────────────────────────╯
|
|
348
|
-
set(rand "${LIB_DIR}/Source/Shared/random.c")
|
|
349
|
-
|
|
350
|
-
pd_add_external(white~ "${LIB_DIR}/Source/Audio/white~.c;${rand}")
|
|
351
|
-
pd_add_external(pink~ "${LIB_DIR}/Source/Audio/pink~.c;${rand}")
|
|
352
|
-
pd_add_external(gray~ "${LIB_DIR}/Source/Audio/gray~.c;${rand}")
|
|
353
|
-
pd_add_external(pluck~ "${LIB_DIR}/Source/Audio/pluck~.c;${rand}")
|
|
354
|
-
pd_add_external(rand.u "${LIB_DIR}/Source/Control/rand.u.c;${rand}")
|
|
355
|
-
pd_add_external(rand.hist "${LIB_DIR}/Source/Control/rand.hist.c;${rand}")
|
|
356
|
-
pd_add_external(rand.i "${LIB_DIR}/Source/Control/rand.i.c;${rand}")
|
|
357
|
-
pd_add_external(rand.i~ "${LIB_DIR}/Source/Audio/rand.i~.c;${rand}")
|
|
358
|
-
pd_add_external(rand.f "${LIB_DIR}/Source/Control/rand.f.c;${rand}")
|
|
359
|
-
pd_add_external(rand.f~ "${LIB_DIR}/Source/Audio/rand.f~.c;${rand}")
|
|
360
|
-
pd_add_external(randpulse~ "${LIB_DIR}/Source/Audio/randpulse~.c;${rand}")
|
|
361
|
-
pd_add_external(randpulse2~ "${LIB_DIR}/Source/Audio/randpulse2~.c;${rand}")
|
|
362
|
-
pd_add_external(lfnoise~ "${LIB_DIR}/Source/Audio/lfnoise~.c;${rand}")
|
|
363
|
-
pd_add_external(rampnoise~ "${LIB_DIR}/Source/Audio/rampnoise~.c;${rand}")
|
|
364
|
-
pd_add_external(stepnoise~ "${LIB_DIR}/Source/Audio/stepnoise~.c;${rand}")
|
|
365
|
-
pd_add_external(dust~ "${LIB_DIR}/Source/Audio/dust~.c;${rand}")
|
|
366
|
-
pd_add_external(dust2~ "${LIB_DIR}/Source/Audio/dust2~.c;${rand}")
|
|
367
|
-
pd_add_external(chance "${LIB_DIR}/Source/Control/chance.c;${rand}")
|
|
368
|
-
pd_add_external(chance~ "${LIB_DIR}/Source/Audio/chance~.c;${rand}")
|
|
369
|
-
pd_add_external(tempo~ "${LIB_DIR}/Source/Audio/tempo~.c;${rand}")
|
|
370
|
-
|
|
371
|
-
# ╭──────────────────────────────────────╮
|
|
372
|
-
# │ MIDI │
|
|
373
|
-
# ╰──────────────────────────────────────╯
|
|
374
|
-
list(APPEND midi_src "${LIB_DIR}/Source/Shared/mifi.c" "${LIB_DIR}/Source/Shared/elsefile.c")
|
|
375
|
-
pd_add_external(midi "${LIB_DIR}/Source/Control/midi.c;${midi_src}")
|
|
376
|
-
|
|
377
|
-
# ╭──────────────────────────────────────╮
|
|
378
|
-
# │ FILE │
|
|
379
|
-
# ╰──────────────────────────────────────╯
|
|
380
|
-
pd_add_external(rec "${LIB_DIR}/Source/Control/rec.c;${LIB_DIR}/Source/Shared/elsefile.c")
|
|
381
|
-
|
|
382
|
-
# ╭──────────────────────────────────────╮
|
|
383
|
-
# │ SMAGIC │
|
|
384
|
-
# ╰──────────────────────────────────────╯
|
|
385
|
-
set(magic "${LIB_DIR}/Source/Shared/magic.c")
|
|
386
|
-
pd_add_external(scope~ "${LIB_DIR}/Source/Audio/scope~.c;${magic}")
|
|
387
|
-
|
|
388
|
-
# ╭──────────────────────────────────────╮
|
|
389
|
-
# │ UTF │
|
|
390
|
-
# ╰──────────────────────────────────────╯
|
|
391
|
-
# set(utf "${LIB_DIR}/Source/Shared/s_elseutf8.c")
|
|
392
|
-
pd_add_external(note "${LIB_DIR}/Source/Control/note.c;")
|
|
393
|
-
|
|
394
|
-
# ╭──────────────────────────────────────╮
|
|
395
|
-
# │ PLAITS │
|
|
396
|
-
# ╰──────────────────────────────────────╯
|
|
397
|
-
file(GLOB_RECURSE PLAITS_SRC "${LIB_DIR}/Source/Audio/plaits~/*.cc")
|
|
398
|
-
list(APPEND PLAITS_SRC "${LIB_DIR}/Source/Audio/plaits~/plaits~.cpp")
|
|
399
|
-
include_directories("${LIB_DIR}/Source/Audio/plaits~/")
|
|
400
|
-
pd_add_external(plaits~ "${PLAITS_SRC}")
|
|
401
|
-
|
|
402
|
-
# ╭──────────────────────────────────────╮
|
|
403
|
-
# │ SFONT │
|
|
404
|
-
# ╰──────────────────────────────────────╯
|
|
405
|
-
if(NOT EMSCRIPTEN)
|
|
406
|
-
set(BUILD_SFONT ON)
|
|
407
|
-
if(BUILD_SFONT)
|
|
408
|
-
|
|
409
|
-
list(APPEND SFONT_SRC "${LIB_DIR}/Source/Audio/sfont~/sfont~.c")
|
|
410
|
-
list(APPEND SFONT_SRC "${LIB_DIR}/Source/Shared/elsefile.c")
|
|
411
|
-
|
|
412
|
-
# ─────────── SFONT LIBRARIES ─────────
|
|
413
|
-
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
414
|
-
set(BUILD_SHARED_LIBS OFF)
|
|
415
|
-
|
|
416
|
-
set(enable-aufile OFF)
|
|
417
|
-
set(enable-dbus OFF)
|
|
418
|
-
set(enable-ipv6 OFF)
|
|
419
|
-
set(enable-jack OFF)
|
|
420
|
-
set(enable-ladspa OFF)
|
|
421
|
-
set(enable-libinstpatch OFF)
|
|
422
|
-
set(enable-libsndfile OFF)
|
|
423
|
-
set(enable-midishare OFF)
|
|
424
|
-
set(enable-opensles OFF)
|
|
425
|
-
set(enable-oboe OFF)
|
|
426
|
-
set(enable-network OFF)
|
|
427
|
-
set(enable-oss OFF)
|
|
428
|
-
set(enable-dsound OFF)
|
|
429
|
-
set(enable-wasapi OFF)
|
|
430
|
-
set(enable-waveout OFF)
|
|
431
|
-
set(enable-winmidi OFF)
|
|
432
|
-
set(enable-sdl2 OFF)
|
|
433
|
-
set(enable-pulseaudio OFF)
|
|
434
|
-
set(enable-pipewire OFF)
|
|
435
|
-
set(enable-readline OFF)
|
|
436
|
-
set(enable-threads OFF)
|
|
437
|
-
set(enable-openmp OFF)
|
|
438
|
-
set(enable-alsa OFF)
|
|
439
|
-
set(enable-systemd OFF)
|
|
440
|
-
add_subdirectory(Resources/fluidsynth EXCLUDE_FROM_ALL)
|
|
441
|
-
set_target_properties(libfluidsynth PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
442
|
-
pd_add_external(sfont~ "${SFONT_SRC}" TARGET sfont_tilde)
|
|
443
|
-
target_link_libraries(sfont_tilde PRIVATE libfluidsynth)
|
|
444
|
-
endif()
|
|
445
|
-
endif()
|
|
446
|
-
|
|
447
|
-
# ╭──────────────────────────────────────╮
|
|
448
|
-
# │ CIRCUIT │
|
|
449
|
-
# ╰──────────────────────────────────────╯
|
|
450
|
-
set(CIRCUIT_ROOT "${LIB_DIR}/Source/Audio/circuit~")
|
|
451
|
-
|
|
452
|
-
file(GLOB AMD_SRC "${CIRCUIT_ROOT}/Libraries/AMD/*.c")
|
|
453
|
-
file(GLOB BTF_SRC "${CIRCUIT_ROOT}/Libraries/BTF/*.c")
|
|
454
|
-
file(GLOB COLAMD_SRC "${CIRCUIT_ROOT}/Libraries/COLAMD/*.c")
|
|
455
|
-
file(GLOB COLAMD_SRC "${CIRCUIT_ROOT}/Libraries/COLAMD/*.c")
|
|
456
|
-
file(GLOB KLU_SRC "${CIRCUIT_ROOT}/Libraries/KLU/*.c")
|
|
457
|
-
file(GLOB SR_SRC "${LIB_DIR}/Source/Shared/libsamplerate/*.c")
|
|
458
|
-
set(SUITE_SRC "${CIRCUIT_ROOT}/Libraries/SuiteSparse_config/SuiteSparse_config.c")
|
|
459
|
-
|
|
460
|
-
set(SIMULATOR_SRC "${CIRCUIT_ROOT}/Source/Simulator.cpp")
|
|
461
|
-
set(CIRCUIT_SRC "${CIRCUIT_ROOT}/Source/circuit~.c")
|
|
462
|
-
|
|
463
|
-
pd_add_external(
|
|
464
|
-
circuit~
|
|
465
|
-
"${CIRCUIT_SRC};${AMD_SRC};${BTF_SRC};${COLAMD_SRC};${KLU_SRC};${SR_SRC};${SUITE_SRC};${SIMULATOR_SRC}"
|
|
466
|
-
TARGET
|
|
467
|
-
circuit_tilde)
|
|
468
|
-
|
|
469
|
-
target_include_directories(
|
|
470
|
-
circuit_tilde
|
|
471
|
-
PRIVATE ${CIRCUIT_ROOT}/Libraries
|
|
472
|
-
${CIRCUIT_ROOT}/Libraries/AMD
|
|
473
|
-
${CIRCUIT_ROOT}/Libraries/BTF
|
|
474
|
-
${CIRCUIT_ROOT}/Libraries/KLU
|
|
475
|
-
${CIRCUIT_ROOT}/Libraries/libsamplerate
|
|
476
|
-
${CIRCUIT_ROOT}/Libraries/SuiteSparse_config
|
|
477
|
-
${CIRCUIT_ROOT}/Source)
|
|
478
|
-
|
|
479
|
-
target_compile_features(circuit_tilde PRIVATE cxx_std_17)
|
|
480
|
-
|
|
481
|
-
# ╭──────────────────────────────────────╮
|
|
482
|
-
# │ EXTRA FILES │
|
|
483
|
-
# ╰──────────────────────────────────────╯
|
|
484
|
-
file(GLOB Control_Abs "${CMAKE_CURRENT_SOURCE_DIR}/Abstractions/control/*.pd")
|
|
485
|
-
file(GLOB Audio_Abs "${CMAKE_CURRENT_SOURCE_DIR}/Abstractions/audio/*.pd")
|
|
486
|
-
file(GLOB Extra_Abs "${CMAKE_CURRENT_SOURCE_DIR}/Abstractions/extra_abs/*.pd")
|
|
487
|
-
file(GLOB Tcl_Extra "${CMAKE_CURRENT_SOURCE_DIR}/Source/Extra/*.tcl")
|
|
488
|
-
file(GLOB Scope3D "${CMAKE_CURRENT_SOURCE_DIR}/Source/Audio/scope3d~.pd_lua")
|
|
489
|
-
file(GLOB Help_Files "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/Help-files/*.pd")
|
|
490
|
-
file(GLOB Extra_Files "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/extra_files/*")
|
|
491
|
-
file(GLOB README "${CMAKE_CURRENT_SOURCE_DIR}/Documentation/README.pdf")
|
|
492
|
-
file(GLOB Lua_Files "${CMAKE_CURRENT_SOURCE_DIR}/Source/Control/lua/*.lua")
|
|
493
|
-
file(GLOB Lua_Files "${CMAKE_CURRENT_SOURCE_DIR}/Source/Control/lua/*.pd_lua")
|
|
494
|
-
set(SF_Fonts "${CMAKE_CURRENT_SOURCE_DIR}/Code_source/Compiled/audio/sfont~/sf")
|
|
495
|
-
|
|
496
|
-
pd_add_datafile(
|
|
497
|
-
else
|
|
498
|
-
"${Control_Abs};${Audio_Abs};${Extra_Abs};${Tcl_Extra};${Scope3D};${Help_Files};${Extra_Files};${README};${Lua_Files};${SF_Fonts}"
|
|
499
|
-
)
|
|
500
|
-
|
|
501
|
-
# get_property(all_static_targets GLOBAL PROPERTY "${PROJECT_NAME}_STATIC_LIBRARIES")
|
|
502
|
-
# message("STATIC LIBRARIES: ${all_static_targets}")
|
|
503
|
-
|
|
504
|
-
# ╭──────────────────────────────────────╮
|
|
505
|
-
# │ Dynamic Libraries │
|
|
506
|
-
# ╰──────────────────────────────────────╯
|
|
507
|
-
if(WIN32)
|
|
508
|
-
target_link_libraries(osc.format PRIVATE ws2_32)
|
|
509
|
-
target_link_libraries(osc.parse PRIVATE ws2_32)
|
|
510
|
-
endif()
|
|
511
|
-
|
|
512
|
-
add_definitions(-DHAVE_STRUCT_TIMESPEC)
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
#add_subdirectory("${LIB_DIR}/Source/Shared/ffmpeg")
|
|
516
|
-
#pd_add_external(play.file~ "${LIB_DIR}/Source/Audio/play.file~.c")
|
|
517
|
-
#target_link_libraries(play.file_tilde PUBLIC ffmpeg)
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
cmake_minimum_required(VERSION 3.25)
|
|
2
|
-
project(timbreIDLib)
|
|
3
|
-
set(LIB_DIR ${PD4WEB_EXTERNAL_DIR}/${PROJECT_NAME})
|
|
4
|
-
|
|
5
|
-
set(timbreIDLib_Common "${LIB_DIR}/src/tIDLib.c")
|
|
6
|
-
include_directories(${LIB_DIR}/include)
|
|
7
|
-
|
|
8
|
-
# ╭──────────────────────────────────────╮
|
|
9
|
-
# │ FFTW │
|
|
10
|
-
# ╰──────────────────────────────────────╯
|
|
11
|
-
|
|
12
|
-
cmake_policy(SET CMP0135 NEW)
|
|
13
|
-
option(BUILD_SHARED_LIBS OFF)
|
|
14
|
-
option(BUILD_TESTS OFF)
|
|
15
|
-
set(FFTW3_FILE ${CMAKE_BINARY_DIR}/fftw-3.3.10.tar.gz)
|
|
16
|
-
if(NOT EXISTS ${FFTW3_FILE})
|
|
17
|
-
message(STATUS "Downloading FFTW3")
|
|
18
|
-
file(DOWNLOAD https://www.fftw.org/fftw-3.3.10.tar.gz ${FFTW3_FILE})
|
|
19
|
-
endif()
|
|
20
|
-
|
|
21
|
-
file(ARCHIVE_EXTRACT INPUT ${CMAKE_BINARY_DIR}/fftw-3.3.10.tar.gz DESTINATION ${CMAKE_BINARY_DIR}/)
|
|
22
|
-
|
|
23
|
-
add_subdirectory("${CMAKE_BINARY_DIR}/fftw-3.3.10" EXCLUDE_FROM_ALL)
|
|
24
|
-
set_target_properties(fftw3 PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR})
|
|
25
|
-
set_target_properties(fftw3 PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
26
|
-
|
|
27
|
-
include_directories("${CMAKE_BINARY_DIR}/fftw-3.3.10/api")
|
|
28
|
-
|
|
29
|
-
# ╭──────────────────────────────────────╮
|
|
30
|
-
# │ OBJECTS │
|
|
31
|
-
# ╰──────────────────────────────────────╯
|
|
32
|
-
|
|
33
|
-
pd_add_external(attackTime "${LIB_DIR}/src/attackTime.c;${timbreIDLib_Common}" LINK_LIBRARIES fftw3)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/.github/workflows/c-cpp.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple/simple-help.pd
RENAMED
|
File without changes
|
{pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple/simple-patch.pd
RENAMED
|
File without changes
|
|
File without changes
|
{pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~-help.pd
RENAMED
|
File without changes
|
{pd4web-2.3.0.dev1 → pd4web-2.3.0rc2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|