From e9ee68959ccc418cda61af03efa88b2478baa1c4 Mon Sep 17 00:00:00 2001 From: Lucas Cordiviola Date: Thu, 2 May 2024 04:07:58 -0300 Subject: [PATCH] add files --- .../Pd_Chunks-test/Pd_Chunks-test.pd | 78 ++++++++++++++++++ .../Pd_Chunks-test/Pd_Chunks-test.pdv | 57 +++++++++++++ .../Pd_Chunks-test/read-chunk-test.fxp | Bin 0 -> 84 bytes vst-scheduler/makefile | 3 +- 4 files changed, 137 insertions(+), 1 deletion(-) create mode 100644 build/Release32/Pd_Chunks-test/Pd_Chunks-test.pd create mode 100644 build/Release32/Pd_Chunks-test/Pd_Chunks-test.pdv create mode 100644 build/Release32/Pd_Chunks-test/read-chunk-test.fxp diff --git a/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pd b/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pd new file mode 100644 index 0000000..585e0d1 --- /dev/null +++ b/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pd @@ -0,0 +1,78 @@ +#N canvas 19 118 885 488 12; +#X obj 78 87 adc~, f 6; +#X obj 73 241 loadbang; +#X msg 73 271 \; pd dsp 1 \;; +#X obj 77 162 dac~, f 6; +#X msg 142 52 \$1 30; +#X obj 142 87 line~; +#X obj 122 127 *~; +#X obj 78 127 *~; +#X obj 142 11 r gain; +#X obj 242 8 r rvstparameter0; +#X obj 239 279 * 100; +#X obj 239 307 dbtorms; +#X obj 239 334 s gain; +#X obj 297 269 s svstparameter0; +#X obj 242 72 vsl 50 128 0 1 0 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1; +#X msg 242 39 set \$1; +#X text 320 114 range is 0..1; +#X obj 64 393 r rvstplugname; +#X symbolatom 64 425 26 0 0 0 - - - 0; +#X obj 478 422 r rvstdata; +#X obj 476 331 s svstdata; +#X obj 478 454 print; +#X symbolatom 673 132 26 0 0 0 - - - 0; +#X obj 673 100 r rvstprogname; +#X obj 503 100 r rvstprognumber; +#X floatatom 503 124 5 0 0 0 - - - 0; +#X text 464 273 1 send some data to the host's data chunk; +#X text 463 358 2 from the host save the file as .fxp or .fxb; +#X msg 476 299 hello world 1.2; +#X text 462 392 3 from the host open the file you saved; +#X text 500 11 When the host chamges the program these 2 are updated. Additionally you can use this to set lots of parameters that are not exposed to host. The program used is stored and recalled in the host/DAW project., f 49; +#N canvas 182 182 450 300 additionally 0; +#X msg 121 99 12 34 56 hello; +#X msg 150 136 0.2 0.4 0.78 foo; +#X msg 190 179 0.2 0.4 0.78 bar; +#X msg 211 208 0.7 0.5 10 something; +#X obj 117 49 sel 0 1 2 3; +#X obj 136 250 list; +#X obj 136 274 outlet; +#X obj 117 15 inlet; +#X connect 0 0 5 0; +#X connect 1 0 5 0; +#X connect 2 0 5 0; +#X connect 3 0 5 0; +#X connect 4 0 0 0; +#X connect 4 1 1 0; +#X connect 4 2 2 0; +#X connect 4 3 3 0; +#X connect 5 0 6 0; +#X connect 7 0 4 0; +#X restore 503 154 pd additionally; +#X listbox 503 182 23 0 0 0 - - - 0; +#X text 466 223 Experimental. Not all hosts supports it correctly. See the .pdv file. This only works if PROGRAMSARECHUNKS = TRUE is set., f 50; +#X obj 242 213 t f f; +#X connect 0 0 7 0; +#X connect 0 1 6 0; +#X connect 1 0 2 0; +#X connect 4 0 5 0; +#X connect 5 0 6 1; +#X connect 5 0 7 1; +#X connect 6 0 3 1; +#X connect 7 0 3 0; +#X connect 8 0 4 0; +#X connect 9 0 15 0; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 14 0 34 0; +#X connect 15 0 14 0; +#X connect 17 0 18 0; +#X connect 19 0 21 0; +#X connect 23 0 22 0; +#X connect 24 0 25 0; +#X connect 25 0 31 0; +#X connect 28 0 20 0; +#X connect 31 0 32 0; +#X connect 34 0 10 0; +#X connect 34 1 13 0; diff --git a/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pdv b/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pdv new file mode 100644 index 0000000..18cc354 --- /dev/null +++ b/build/Release32/Pd_Chunks-test/Pd_Chunks-test.pdv @@ -0,0 +1,57 @@ +# Number of audio input and output channels +CHANNELS = 2 + +# installation directory of puredata (optional) +# If non specified, will search in \pdvst\pd\ +# then in \.pd\ +#PDPATH = D:\Programs\pd-0.48-1-test\ + +# Main Pd patch of the plugin +MAIN = Pd_Chunks-test.pd + +# Unique four character VST plugin ID +ID = pdch + +# Whether this is a VSTi +SYNTH = FALSE + +# Whether there is a custom GUI (e.g. GrIPD) +CUSTOMGUI = FALSE + +# Display Pd GUI or not +DEBUG = TRUE + +# External libraries (comma delimited list, relative to pdvst/) +# ***OBSOLETE, use [declare] inside patch instead*** +#LIB = + +# Save and Get Pd lists in .fxp file via ([s svstdata] and [r rvstdata]) +# Some hosts don't work correctly with this. +# If in doubt just use FALSE. +PROGRAMSARECHUNKS = TRUE + +# Number of VST parameters (up to 128) +PARAMETERS = 1 + +# Name of first VST parameter +# used when CUSTOMGUI is false or VST host doesn't support custom editors +NAMEPARAMETER0 = Level + +# Define a program (up to 128) +PROGRAM = Full Blast + +# Set first parameter value for this program +PARAMETER0 = 1.0 + +#another program +PROGRAM = Muted + +PARAMETER0 = 0.0 + +#another program +PROGRAM = -6dB + +PARAMETER0 = 0.5 + +#another program +PROGRAM = test empty param diff --git a/build/Release32/Pd_Chunks-test/read-chunk-test.fxp b/build/Release32/Pd_Chunks-test/read-chunk-test.fxp new file mode 100644 index 0000000000000000000000000000000000000000..c7047607d7e07cef25a53c3bac5a6f3fb19643c6 GIT binary patch literal 84 zcmZ=x&hutqVDNDZaLxeIj0GvlU>d}BE6vGKaLP$6E&=i|fka7aafyPVp0PqkYEDkR Nf&q|aq>z@z003)F4&?v< literal 0 HcmV?d00001 diff --git a/vst-scheduler/makefile b/vst-scheduler/makefile index 7a25745..cd828b6 100644 --- a/vst-scheduler/makefile +++ b/vst-scheduler/makefile @@ -18,4 +18,5 @@ ALL: vstschedlib.c -shared -L$(PDDIR)bin -l:pd.dll -o vstschedlib.dll strip vstschedlib.dll #cp vstschedlib.dll ../build/pd-scheduler$(arch)/vstschedlib.dll - cp vstschedlib.dll ../build/Release$(arch)/.pd/bin/vstschedlib.dll \ No newline at end of file + #cp vstschedlib.dll ../build/Release$(arch)/.pd/bin/vstschedlib.dll + cp vstschedlib.dll ../build/Release$(arch)/vstschedlib.dll \ No newline at end of file