patch search

    Aug 11 2009 | 10:38 pm
    i'm not sure if im in the right section for requests/ideas for msp ...and this may already be available? but here goes.
    when building a very large patch with hundreds of (send) and (udpsend) modules, at times it becomes very difficult to find the other end of the tieline ( send & receive) on the screen.
    A patch search function would be cool, which could scan the patch and highlight the modules requested for the user ....
    like: search for (udpsend 1009) , or search for (metro) and all the metros will be highlighted and all other objects dimmed so that they can be seen? maybe the patch screen could zoom in and resize so that its ultra fast.
    just an idea, heaven knows how it could be done?!

    • Aug 11 2009 | 11:15 pm
      I've been working on a javascript that you can drop into your patch and then send it an object name and it will highlight all the instances of it one by one. I'll look into implementing the scrolling feature for larger patches too. Currently searching for something like [send velocity] will not work as js has no knowledge of certain things like typed in arguments that arent attributes. I did write a text parser that loaded the file as JSON and parsed that to find [receive] names which could work as long as it is only intended for use during development (it would not work for .mxf files). So it is a possibility.
    • Aug 11 2009 | 11:44 pm
      wow sounds very interesting.! i'm sure many other users must have the same problem trying to find objects on a patch from time to time? ( i'm still quite new to msp, so my patches must be much smaller and less complex than other veteran users).
      well done lh
    • Aug 11 2009 | 11:47 pm
      I'm sure other people have put together their own search tools, it wouldn't be too difficult even if you used the scripting available through the [thispatcher] object. I'll share my work when its all up and running smoothly.