-
Belfegor
hi,
i'm trying record the Gem window but i don't know how continue. i've searched in the forum and in the lists but i haven't found revelant information. I've several gemheads rendering and i record all of them with pix_writer, but i would like record the final mix (the Gem window) too.
is there any way without external programs to PD?I need to preview it in the GUI and to send over CITP/MSEx (one lighting ethernet protocol) to show the preview in remote controllers.
Regards.
-
Belfegor
Hello,
i have uploaded the first version of one external i'm developing. ola2pd reads one DMX512 universe from OLA and outputs them in Pure Data/MaX like a list of 512 values. The universe can be configured before opennig the connection sending one message <universe n> where n is the number of the universe in OLA. After, you can send one message <open> to stablish the connection. You can send one message <close> to exit, and reconfigure the universe if you need it. The bang method shows the number of the universe it's currently selected.
It's based on flext headers from Thomas Grill, so it should compile in Windows, Linux and Mac, and for Pure Data and Max/MSP. You must have the flext and the Open Lighting Arquitecture headers installed in order to compile it. I've only tested in Debian Wheezy with Pure Data, it's the only binary in the download.
See readme.txt for install and use (sorry, only in spanish at the moment, but it's very simple...) and ola2pd_help.pd
Download:
http://code.google.com/p/puremediaserver/downloads/detail?name=ola2pd_0.0.1.tar.gz
SVN:
http://code.google.com/p/puremediaserver/externals/ola2pd
Flext headers:
http://puredata.info/Members/thomas/flext
Open Lighting Arquitecture:
http://code.google.com/p/linux-lighting/
Know issues:
The Release mode of the binary crash Pure Data at object creation. If the binary is compiled in debug mode works fine. This option can be changed in the file package.txt with the option
BUILDMODE=debug (or release)Credits:
All the credit to Simon Newton for OLA and ola_dmxmonitor, this is a modification of that code.
-
Belfegor
Launching PD with command line options? you can set a large of options in this way...
pd --help in a terminal show all the options
-
Belfegor
[gemwin x] will render at x fps, in this case 1 fps or 2 fps. If not argument is supplied Gem will render at 20 fps.
You can not create 2 Gem windows in the same PD instance, although it will be in in differents patches. You can do it with two PD instances and intercommunicates it with netsend/netreceive.
In the same PD instances you must first destroy the window in a patch, set the new values for the new window and create it again. Perhaps a delay to the bang wich creates the new window would be fine. Note that this is not 2 Gem windows, only destroys and creates one Gem window.
If you don't send new values before creating the new window will be equal to the old window.Also you can use two gemheads chains in the same patch and both will render in the same Gem window.
Attach a example patch to show us better what are you trying..
-
Belfegor
Check the path to cyclone library in PD preferences
or copy the counter binary to your pd-externals folder or to your patch folder
-
Belfegor
New version with some code cleaning and some bugs fixed.
http://puremediaserver.googlecode.com/files/ola2pd_0.02.tar.gz