Custom patches

Detecting changes within structures on input ports

adamfenn28's picture

I have patch that builds a large NSMutableDictionary and publishes it to an output port. It modifies the contents of that mutable dictionary as time goes by.

I have a second patch that receives that dictionary on an input port. That patch never sees the changes within the dictionary, until I reassign the dictionary to the output port of the first patch.

I'd like to have the changes that the first patch makes, show up instantly within the dictionary the second patch receives, without having to reassign the output port constantly. If I do reassign the output port constantly, the CPU utilization goes up more than I'd like.

How can I accomplish this?


Console Log Messages - Plugin & Patches conflicting

cybero's picture

As part of my local enquiries regarding a flicker issue I found with the file posted on, I had reason to check out my GF Log and my Console log. As it happens, none of the reported upon plugins and patches that were subsequently temporarily disabled proved important in the creation of a flicker issue with the FirstClassSW.qtz example.

Found a load of possibly unrelated messages concerning conflicting plugins, sometimes from the same author, sometimes different authors plugins or patches conflicted. See the two examples quoted below. There were several others quoted.

14/09/2010 09:50:16   [0x0-0x27027][679]   objc[679]: Class TonePlayer is implemented in both /Users/cybero/Library/Graphics/Quartz Composer Plug-Ins/_1024_TonePlayer.plugin/Contents/MacOS/_1024_TonePlayer and /Users/cybero/Library/Graphics/Quartz Composer Plug-Ins/_1024_Image_to_Sound.plugin/Contents/MacOS/_1024_Image_to_Sound. One of the two will be used. Which one is undefined.
14/09/2010 09:50:16   [0x0-0x27027][679]   objc[679]: Class VVSpriteGLView is implemented in both /Users/cybero/Library/Graphics/Quartz Composer Plug-Ins/fsk MIDI.plugin/Contents/MacOS/../Frameworks/VVBasics.framework/Versions/A/VVBasics and /Users/cybero/Library/Graphics/Quartz Composer Plug-Ins/AnimataOSC.plugin/Contents/MacOS/../Frameworks/VVBasics.framework/Versions/A/VVBasics. One of the two will be used. Which one is undefined.

I was wondering just how vitally important the problems reported in the GF and Console logs were.

After all the GF Log render error messages can be resulting even whilst the Sphere or whatever is actually rendering, and I've done a lot of work that relied upon the plugins reported upon in the Logs.