dnewman Posted September 30, 2008 Share Posted September 30, 2008 In the LOR 2 Sequence Editor, is there any easy way to rescale theintensity setting for a channel? For example, if I'm stuck with havingto run a relatively brighter bulb on a single channel I can compensateby changing the intensity range from 0-100% to, say, 0-50%.That is, apply a foreground effect which basically multiplies everyintensity by 0.5.And yes, I can come up with physical solutions to the issue. I'minquiring here to see if there's some simple software method ofdoing this in the LOR 2 Sequence Editor which I've not discovered.Thanks,Dan Link to comment Share on other sites More sharing options...
Tim Fischer Posted September 30, 2008 Share Posted September 30, 2008 dnewman wrote: In the LOR 2 Sequence Editor, is there any easy way to rescale theintensity setting for a channel? For example, if I'm stuck with havingto run a relatively brighter bulb on a single channel I can compensateby changing the intensity range from 0-100% to, say, 0-50%.That is, apply a foreground effect which basically multiplies everyintensity by 0.5.And yes, I can come up with physical solutions to the issue. I'minquiring here to see if there's some simple software method ofdoing this in the LOR 2 Sequence Editor which I've not discovered.Thanks,DanI don't think there's a way currently -- but I'd love that to be a parameter in the channel config (along with the "don't dim" setting I recently mentioned in another thread).-Tim Link to comment Share on other sites More sharing options...
dnewman Posted October 1, 2008 Author Share Posted October 1, 2008 FWIW, the way I'm currently doing this is with an XSLT. Mumbo Jumbo?As of LOR 2, sequence files are stored as XML documents. Consequently, it'srelatively easy to tweak a sequence file using commonly available XMLtools. XSLT is a (functional programming) language for transformingXML documents. (An XSLT file is itself an XML document.) Using anXSLT program and an XSLT processor, it's simple to do transformations onLOR 2 sequence files.I've attached to this message the XSLT I'm using. I've tested it with bothXalan and Saxon and LOR 2 seems happy to consume the results.DanP.S. I had to rename the file from scale.xsl to scale.txt so as to appeasethe forum software. Attached files scale.txt Link to comment Share on other sites More sharing options...
bob Posted October 2, 2008 Share Posted October 2, 2008 Modifying the XML yourself via XSLT is a good workaround. But, as always, I just want to give this warning:If you are not absolutely certain that you know exactly what you're doing, you might want to avoid modifying the XML yourself. It is pretty easy to make a small mistake which will render the file incomprehensible to LOR.And if you do decide to modify the XML yourself, please always, always back the file up before you do so. Link to comment Share on other sites More sharing options...
Tim Fischer Posted October 2, 2008 Share Posted October 2, 2008 bob wrote: Modifying the XML yourself via XSLT is a good workaround. But, as always, I just want to give this warning:If you are not absolutely certain that you know exactly what you're doing, you might want to avoid modifying the XML yourself. It is pretty easy to make a small mistake which will render the file incomprehensible to LOR.And if you do decide to modify the XML yourself, please always, always back the file up before you do so.Then can we have the above feature, please? (I know, I know, we want everything... )-Tim Link to comment Share on other sites More sharing options...
Recommended Posts