Did you get any progress with Arduino data in and out?
I’m also trying to do with “comport.”
To use Pd externals in VCV Prototype seems to need to build VCV Prototype from source, isn’t it?
I built from the source, but I got just error log says “error… couldn’t create”
I didn’t get very far with that, After i installed pduino v0.6 in pure data via the “find externals” menu item, i played around with the pduino examples in pure data for a while. It was easy to get it to read a pot on the arduino uno analog in.
But I didn’t really get it working in vcv Prototype - someone with more brains may be able to, I constantly stumble on Pd basics. So, I can’t answer your questions on that.
It works better for me to make a USB midi class compliant device to get the same functionaliy.
I just noticed there is Rack 2 and was wondering what this means for the Prototype module. Is it alive? If not, is it going to be revived? Is there something we should / can do? Please forgive the ignorance, we weren’t following what going on.
Just checked, doesn’t look like it’s there yet. But it probably will be. I hope it will, just made a Prototype/PD granular sample player a few weeks back, that I would like to use at some point
But still some modules to go, before I can adapt to V2.
I’m also wondering if there are plans for Prototype to make it to V2…?! @Jens.Peter.Nielsen@Vortico any chance you could toss out a quick response if/when for this one??
I have no clue of when - I’m not affiliated with VCV in any way.
But having read this I have no doubt we will get VCV Prototype in Rack2 eventually. It was a “selling point” of Rack 2, that VCV would see to that all v1.1.6 opensource plugins were ported (if the porting was straight forward). When? when!
The latest commit to VCV prototype was 1 month ago - please be patient.
Apologies - I thought since you posted much of the official update news you were on team with Andrew/VCV! I’m a newbie to the forums
Definitely very willing to be patient, just was very curious since having PD/etc would be a major addition along with the new arsenal!
Hope everyone involved with VCV knows how over the moon appreciative we all are for this major release of Rack 2. It’s legitimately opening up mew frontiers in sound design and recording (for lil’ ‘ol me, at least!)
I was looking for Prototype also. Looks like Andrew created a v2 branch a few weeks ago. If somebody’s feeling adventurous they can try compiling. I might try it on my Linux box soon to see if it works, but it’s not a proper release build environment.
In file included from libpd_wrapper/z_libpd.c:23:
./pure-data/src/s_stuff.h:153:53: note: expected 't_audiosettings *' {aka 'struct _audiosettings *'} but argument is of type 'int'
153 | EXTERN void sys_set_audio_settings(t_audiosettings *as);
| ~~~~~~~~~~~~~~~~~^~
libpd_wrapper/z_libpd.c:163:3: error: too many arguments to function 'sys_set_audio_settings'
163 | sys_set_audio_settings(1, indev, 1, inch,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from libpd_wrapper/z_libpd.c:23:
./pure-data/src/s_stuff.h:153:13: note: declared here
153 | EXTERN void sys_set_audio_settings(t_audiosettings *as);
| ^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: libpd_wrapper/z_libpd.o] Error 1
make[1]: Leaving directory '/home/jpn99/github/Rack2/Rack/plugins/VCV-Prototype/dep/libpd'
make: *** [Makefile:242: dep/lib/libpd.a] Error 2
It compiled and installed, but loading scripts results in: “No engine for …<lua/js/pd> extension”.
Creating a new script results in: "File extension “.pd/js/lua not recognized.”
g++ -o plugin.so build/src/Prototype.cpp.o build/src/QuickJSEngine.cpp.o build/src/LuaJITEngine.cpp.o build/src/SuperColliderEngine.cpp.o build/src/VultEngine.cpp.o build/src/LibPDEngine.cpp.o build/src/FaustEngine.cpp.o dep/lib/libefsw-static-release.a dep/lib/quickjs/libquickjs.a dep/lib/libluajit-5.1.a dep/supercollider/build/lang/libsclang.a dep/supercollider/build/external_libraries/libtlsf.a dep/supercollider/build/external_libraries/hidapi/linux/libhidapi.a dep/supercollider/build/external_libraries/hidapi/hidapi_parser/libhidapi_parser.a dep/supercollider/build/external_libraries/libboost_thread_lib.a dep/supercollider/build/external_libraries/libboost_system_lib.a dep/supercollider/build/external_libraries/libboost_regex_lib.a dep/supercollider/build/external_libraries/libboost_filesystem_lib.a dep/supercollider/build/external_libraries/libyaml.a dep/lib/libpd.a dep/lib/libfaust.a -lpthread -lasound -ludev -shared -L../Rack/ -lRack -Wl,-rpath=/tmp/Rack2 -static-libstdc++ -static-libgcc
/usr/bin/ld: dep/lib/libfaust.a(errormsg.cpp.o): in function `yyerror(char const*)':
/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/faust/compiler/errors/errormsg.cpp:64: multiple definition of `yyerror(char const*)'; dep/supercollider/build/lang/libsclang.a(PyrLexer.cpp.o):/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/supercollider/lang/LangSource/PyrLexer.cpp:1293: first defined here
/usr/bin/ld: dep/lib/libfaust.a(faustlexer.cpp.o):/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/faust/build/faustdir/faustlexer.cpp:819: multiple definition of `yytext'; dep/supercollider/build/lang/libsclang.a(PyrLexer.cpp.o):/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/supercollider/lang/LangSource/PyrLexer.cpp:104: first defined here
/usr/bin/ld: dep/lib/libfaust.a(faustlexer.cpp.o): in function `yylex()':
/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/faust/build/faustdir/faustlexer.cpp:1033: multiple definition of `yylex()'; dep/supercollider/build/lang/libsclang.a(PyrLexer.cpp.o):/home/dreamer/Sources/_audio/_rack/VCV-Prototype/dep/supercollider/lang/LangSource/PyrLexer.cpp:359: first defined here
collect2: error: ld returned 1 exit status
make: *** [../Rack//compile.mk:62: plugin.so] Error 1
Vult just gets stuck on Compiling... so also not functional yet for me.
The rest (Pd, JS, Supercollider) seem to work fine after adding the . to their extensions.
That was helpful. I managed to compile a working windows version without Faust and Supercollider. PureData works. So does lua and js. Loading a vult script results in the message “Compiling…”.
The error I get on Supercollider when running make after make dep is:
fatal: destination path 'supercollider' already exists and is not an empty directory.
IIRC Prototype can only be built from source, because some variants for which language(s) is available can’t coexist, and in some case, dependencies must be installed separately.