Nutcracker: LSP, it works!! Thanks to mschell for the suggestion

smeighan

Dedicated elf
Joined
Jan 19, 2012
Messages
1,109
Location
4217 Greenfinch Dr CO 80126
It works!!


I just pasted 1000 channels of a Nutcracker Spiral into LSP 2.0, paste took < 8 seconds


I had not decided on what sequencer i would use, now i think it will be LSP (I bought it last january, just have never used it).


:) :)


ok, make_lsp.php is released so people can try it.


1) Create effects as normal, select lsp to create an output xml file
2) Right click the file that is created and store it on top of your UserPatterns.xml file. If you use patterns, make a copy first.
on my windows 7 box, this file is found here
c: => Programs (86) => GraphXPros => LSP Sequencer => UserPatterns.xml


3) Launch LSP, open a sequence that has rgb channels.
4) On the left menu bar, select Patterns. You will see a group named Nutcracker. Below that will be your nutcracker effect you just created. My pattern was called AA+BARBERPOLE_180
5 )Drag and drop this effect onto your timeline.


All of this is beta, please give me feedback.


I am not sure what value i should be using for the gui id. I made a pattern and then copied the value that was from my desktop.


Here follow a sample of a UserPatterns.xml file. The part in red is my question.


<?xml version="1.0"?>
<ArrayOfPattern xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Pattern>
<GroupName>Nutcracker</GroupName>
<Name>AA+BARBERPOLE_180</Name>
<Image>
<Width>99999</Width>
<Height>140</Height>
</Image>
<Tracks>
<Track>
<TrackGuid>60cc0c76-f458-4e67-abb4-5d56a9c1d97c</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<TrackColorName>Gainsboro</TrackColorName>
<TrackColorARGB>-2302756</TrackColorARGB>
<TrackID>0</TrackID>
<TrackType>0</TrackType>
<WiiMapping inv="0" ibn="" inbn="" ani="0" ain="" hty="-1" fed="0" wind="-1" wibt="0" cint="False" ceff="False" hefsd="True" lef="3" lefl="1" intb="0" efd="0" />
<Name />
<Intervals>
<TimeInterval eff="3" dat="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;ec&gt; &lt;in&gt;100&lt;/in&gt; &lt;out&gt;100&lt;/out&gt;&lt;/ec&gt;" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="50000" sin="-1" att="0" bst="0" ben="0" />
<TimeInterval eff="3" dat="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;ec&gt; &lt;in&gt;100&lt;/in&gt; &lt;out&gt;100&lt;/out&gt;&lt;/ec&gt;" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="100000" sin="-1" att="0" bst="0" ben="0" />
<TimeInterval eff="3" dat="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;ec&gt; &lt;in&gt;100&lt;/in&gt; &lt;out&gt;100&lt;/out&gt;&lt;/ec&gt;" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="150000" sin="-1" att="0" bst="16713925" ben="16713925" />



if it turns out we need this to be custom, i will have to prompt for each of your gui values.


we will see
 
Re: Nutcracker: LSP, it works!! Thanks to mschell for the duggestion

Well done! I can't wait to try it sometime over the weekend!
 
If this works with lsp as fluidly as nutcracker does with hls , then Lsp will be a very resourceful sequencer.

Almost to the point of effects unlimited . awesome breakthrough Sean Congrats .
 
ɟɐsʇǝppʎ said:
Is this only for LSP V2 or V2.5 or both

But this sounds like great news


I only have 2.0, so when i reverse engineered the UserPatterns.xml file, it was 2.0


If someone will send me a UserPAtterns.xml from 2.5 i think i can also make it work.


thanks
 
A little more info on using the pattern. You need to wait until the pattern shows up to be able to paste it. This is like 2-3 seconds. After pasting it is another 3-6 seconds and then it is pasted on the time line.


I tried a butterfly effect, 8 seconds of a 16x100 tree, each string folded in half. This is 2400 channels.


Every pixel is lit on a butterfly.


2012-08-03_0832.png
 
New release of code.


Now when you select lsp, i will first show you all of the effects that you have generated to the same target. If you are doing text on a target called MTREE, i will search for any effects you have created on MTREE. I then show you a form. select the effects you would like to be added into the Nutcracker Group inside of your UserPatterns.xml file.


In the below example my target file was called AA (yeah, original i know)


2012-08-03_1639.png



for my 2400 channels , each effect 8 seconds long the xml created was around 21mbytes. If i clicked all 20 effects i would be creating a 400mbyte UserPatterns.xml file. I just created 6 effects into the UserPatterns file (120mbytes) and it opened in 15 seconds. Performance seems very good from LSP in this area. I went and tried pasting multiple different effects, they all worked as expected.
 
3rd release of code.


This release takes the nutcracker gif and converts it to a bmp. it then encodes is base64 and includes it in the xml file.


we also show thumbnails of teh effects you have added into the UserPatterns.xml
 
What can i say Sean, you have made many LSP users very happy with your work on getting this going, thanks a heap
 
Back
Top