I would like to have a patch that can play multiple videos at the same time
I try to download gem library and follow that
but I'm getting multiple errors:is there any example patch of playing video in pd?
Thanks
playing multiple videos with pd
I would like to have a patch that can play multiple videos at the same time
I try to download gem library and follow that
but I'm getting multiple errors:is there any example patch of playing video in pd?
Thanks
Did you load the Gem library before trying to create the object?
@alexandros
I'm not sure what you mean by load. I did update my pd search path and indeed it founds the object [gemwin] but I think there is more objects inside it that it could not find
@KMETE said:
I'm not sure what you mean by load. I did update my pd search path and indeed it founds the object [gemwin] but I think there is more objects inside it that it could not find
Something that is poorly explained in Pd documentation is that there are different types of externals.
Some "external" objects are really abstractions (Pd patches that are loaded like objects into your patch). For these, it's enough to make them available in the search path.
Some externals need C / C++ binaries. Some of those ship a separate binary library for every object -- e.g. the ELSE library has multiple "bl.saw~.xxx" files, and multiple "bl.square~.xxx" files etc. For this type of external, the search path is enough.
Some externals package multiple objects' C / C++ code into one big binary DLL. On my machine, if I go to the Gem folder, I can find "Gem.pd_linux." On other OSes, this would be .pd_somethingElse depending on the OS.
For this last type of external library, it is not enough to put it in the search path. You must explicitly load the library. If you don't load the library, then any objects defined in the big binary package will not work. (Some Gem objects are abstractions -- these are found in your search path. But inside those abstractions are binary objects, and those are not loading successfully because you haven't loaded the library file yet.)
You can do this in Preferences > Startup.
But I personally don't put any specific libraries into either the search path or Startup, because of issues moving patches to other machines. I prefer to put only Documents/Pd/externals into my search path, and then use [declare].
[declare -lib Gem -path else -path list-abs]
Should this be easier and more transparent? Yes... but it's not.
hjh
Oops! Looks like something went wrong!