DiyLightAnimation

Software => Nutcracker: RGB Effects Builder => Topic started by: smeighan on August 02, 2012,

Title: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 02, 2012,
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 patter 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;&#xD;&#xA;&lt;ec&gt;&#xD;&#xA;  &lt;in&gt;100&lt;/in&gt;&#xD;&#xA;  &lt;out&gt;100&lt;/out&gt;&#xD;&#xA;&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;&#xD;&#xA;&lt;ec&gt;&#xD;&#xA;  &lt;in&gt;100&lt;/in&gt;&#xD;&#xA;  &lt;out&gt;100&lt;/out&gt;&#xD;&#xA;&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;&#xD;&#xA;&lt;ec&gt;&#xD;&#xA;  &lt;in&gt;100&lt;/in&gt;&#xD;&#xA;  &lt;out&gt;100&lt;/out&gt;&#xD;&#xA;&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

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: thestig on August 02, 2012,
Glad to hear you got things working. I would love to use lsp but can't spend the money on software this year. Too much money into smart strings. Thank you for all of the hard work.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: AverageJoeTX on August 03, 2012,
Woooo hooo, congratulations Sean!!!!! And thank you for all the work and time you've devoted to this project of yours for all our blinky benefit. Can't wait to see all the kids jaws drop this season.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: Steve Gase on August 03, 2012,
Great job, Sean!
I hope to try this out soon!
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: akonkman on August 03, 2012,
Awesome news!  I've been watching patiently, hoping there would be an easy Nutcracker to LSP interface.  Can't wait to try it out!   <res.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
Sean, I will test this out on my matrix today and I will report back so you can figure out if you will have to prompt for each of our gui values. Thanks for your hard work and persistence, George
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 03, 2012,
Ok here's what I did. Please understand I'm not a coder. I was able to creat and replace my user pattern (after I backed up the original) with the N.C. pattern I created. Opened up my mega tree test sequence and their it is in the pattern colum. Click on it and drag it over to a time line, and it takes a second or 2 to apear then excitment comes over you. The window for paste option comes up and you hit paste. It goes thru the optimization then Bam!!!!! Blank. It dosen't Take. It's there during the optimizeing, but after that it blanks out.

             animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: twooly on August 03, 2012,
Awesome I'll give it a try tonight and let you know.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 03, 2012,
You are not allowed to view links. Register or Login
Awesome I'll give it a try tonight and let you know.
Hey twooly,
   it didn't work for me.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 03, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
Awesome I'll give it a try tonight and let you know.
Hey twooly,
   it didn't work for me.


      Ok update!!!!!!!!!!
 I tried it again and it work to some extent. It is very touchy to the mouse buttons. I needed to drag it over, wait for it to apear, then keep dragging it to the time line and release quickly, wait for the paste window and paste it with clipboard only. Only there is an issue. It will retint your grid in the pattern to black. In saying this. This is a great break thru. I think some tweeking will be needed. You can save the pattern then delete the original then back it up and create a new one. That's where it might need tweeking. How to save the pattern. Here's a picture. 4 strand spiral in red. and video. Not a great video. Just to show it works.

http://www.youtube.com/watch?v=zqORMeEFwxQ&feature=youtu.be
             animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
yep, i think the secret is waiting until you see the color pattern show up before trying to paste. it took 2-3 seconds on my 2400 channel buttrefly

(http://meighan.net/nutcracker/images/2012-08-03_0832.png)
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 03, 2012,
Hi Smeighan,
      Great Job!!!!!

             There's got to be away to save the pattern with out copying over the userpatternxml all the time,

                                                                                  animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
Thanks Animal, I am about to try this right after I take my own advice to back up, back up, back up all my lighting files!!! Should I backup the pattern file after each new pattern and rename the file like I do for sequences?  For example: UserPatterns1, UserPatterns2, UserPatterns3 etc.,etc. ????
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
I would keep your original pattern file

UserPatterns.xml.orig

Then save my files in the directory as they are currently named

AA+TEXT1.xm
AA_BARBERPOLE.xm
.etc.

In this case my tree target was called AA

Now when you want to paste one of your nutcracker effects

copy AA+TEXT1.xm onto UserPatterns.xml and go into lsp to paste this effect
exit lsp
pick another effect
copy AA+BARBERPOLE.xm ontp UserPatterns.cml
go back into lsp and paste this effect
exit lsp

if you copy over the Patterns file while you are in LSP, there doesnt seem to be a way to make lsp re-read the patterns file to pick up the changes. This is why you would need to exit and re-enter.

If we get a tool that would put all of these effects into the patterns file, maybe problem goes away. I am a little concerned though what would happen if you had 10 nutcracker effects in the patterns file, each 2400 channels. Can LSP handle this?

ill test this out
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: Steve Gase on August 03, 2012,
once a pattern is applied to a sequence, are the contents of the pattern file used anymore? 

i wonder if creating one sequence with a spiral... saving it, then creating a new sequence with a butterfly... saving it, etc. etc.  -- would that cause any impact on the first sequence?
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
Steve, I do that ALL the time, I program each element one at a time like Lynx Expresses, programmable snow tubes, matrix, mega tree, Pixel mega tree etc and then add each segment to the master sequence when I am happy with it. I mostly do it because LSP doesn't let you test one element at a time, it looks to output to all elements and comports. I would LOVE to be able to disable output to certain controllers so that I can test one element on its own. Once a pattern is used, it is on its own in the sequence and is saved/stored in the pattern file until you use it again. So no it does not create any impact. Back to backing everything up so I can test Nutcracker today.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
You are not allowed to view links. Register or Login
once a pattern is applied to a sequence, are the contents of the pattern file used anymore? 

i wonder if creating one sequence with a spiral... saving it, then creating a new sequence with a butterfly... saving it, etc. etc.  -- would that cause any impact on the first sequence?

It looks like the pattern is no longer used in any way once you paste it.

1) Created a Text Effect
2) Saved AA+TEXT.xm as UserPatterns.xml
3) Go into LSP and paste to timeline. Save sequence as sean.asq (I am not using music)
4) Exit LSP
5) Run Nutcracker and create AA_FLY.xm. Copy onto UserPatterns.xml
6) Go back into lsp , Load sean.asq. drag and drop the butterfly effect. Previous effect is still shown

Looks like patterns are only used when you do the drag and drop

(http://meighan.net/nutcracker/images/2012-08-03_1056.png)
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: Steve Gase on August 03, 2012,
thanks!!

and thanks for the persistence in solving this issue.  you've been through MANY potential solutions in getting to this point!
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
I just pasted 4 2400 channel effects into one UserPatterns file. LSP handled it fine, quite impressive for the performance , actually.

I am going to make a change so that every effect that you have created as a *.xm file will all be included in the UserPatterns.xml. This way if you have 8 effects, you will be able to pick from all 8 wihout having to exit and reenter lsp.

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
I made a quick tutorial on putting nutcracker into lsp
http://meighan.net/nutcracker/tutorials/LSP.swf
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: Mickpat on August 03, 2012,
In LSP you can also double-click on the pattern to copy the contents of the pattern into the clipboard.  Then you can simply right-click on the grid and select paste.  This method avoids having drag and drop. 
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
First, You are Amazing and how great it is to be part of a community where people help each other to make this hobby better! Second, thanks for the tutorial Sean it helped a LOT!!! So basically after creating an effect you right click and save it once with the title you gave it on the Nutcracker website and it gets saved in the Sequencer folder as an .xm file. Then you right click it again and then save it as UserPatterns.xml. Then shut down LSP and reopen it and the pattern is there under patterns. I am good up to that point. When I drag it to the sequence, I see the pattern and the paste options window opens and I use Snap to Nearest Timings and Use Clipboard timings. I click Paste but it doesn't paste.  :(  Question, what is the significance of UserPatterns.big? Is that just to give it the file a name? Thanks again, George
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
I tried the double click method and Clipboard timings only method and neither have worked.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 03, 2012,
 
You are not allowed to view links. Register or Login
First, You are Amazing and how great it is to be part of a community where people help each other to make this hobby better! Second, thanks for the tutorial Sean it helped a LOT!!! So basically after creating an effect you right click and save it once with the title you gave it on the Nutcracker website and it gets saved in the Sequencer folder as an .xm file. Then you right click it again and then save it as UserPatterns.xml. Then shut down LSP and reopen it and the pattern is there under patterns. I am good up to that point. When I drag it to the sequence, I see the pattern and the paste options window opens and I use Snap to Nearest Timings and Use Clipboard timings. I click Paste but it doesn't paste.  :(  Question, what is the significance of UserPatterns.big? Is that just to give it the file a name? Thanks again, George

Make sure all you controllers are expanded for the pattern,and try useing clipboard only,also get it as close to the timming mark as possible without going over it. It's touchy. Then be patiant and wait for the optimizing to finish. <pop..

    animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
You are not allowed to view links. Register or Login
I tried the double click method and Clipboard timings only method and neither have worked.

Over in DIYC, a person posted this
"Okay, I got it to work now... however its not showing up on my grid when I paste the effect. I decided to finally simply test the sequence with the preview tool, and what do you know, it is showing up there and working just fine.. Not sure why its not showing up on the grid though. Even tried doing a re-install. Any LSP users out there have any ideas? Could it be the gui ID you explained earlier? Thanks!"

it may be the guid is wrong for your computer. I tried leaving it blank and when i dragged the pattern every cell was white. This user said even though he couldnt see it posted, it actually did go in.

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
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)

(http://meighan.net/nutcracker/images/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.

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
I tried the double click method and Clipboard timings only method and neither have worked.

Over in DIYC, a person posted this
"Okay, I got it to work now... however its not showing up on my grid when I paste the effect. I decided to finally simply test the sequence with the preview tool, and what do you know, it is showing up there and working just fine.. Not sure why its not showing up on the grid though. Even tried doing a re-install. Any LSP users out there have any ideas? Could it be the gui ID you explained earlier? Thanks!"

it may be the guid is wrong for your computer. I tried leaving it blank and when i dragged the pattern every cell was white. This user said even though he couldnt see it posted, it actually did go in.
Ok, I will keep trying.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 03, 2012,
You are not allowed to view links. Register or Login
First, You are Amazing and how great it is to be part of a community where people help each other to make this hobby better! Second, thanks for the tutorial Sean it helped a LOT!!! So basically after creating an effect you right click and save it once with the title you gave it on the Nutcracker website and it gets saved in the Sequencer folder as an .xm file. Then you right click it again and then save it as UserPatterns.xml. Then shut down LSP and reopen it and the pattern is there under patterns. I am good up to that point. When I drag it to the sequence, I see the pattern and the paste options window opens and I use Snap to Nearest Timings and Use Clipboard timings. I click Paste but it doesn't paste.  :(  Question, what is the significance of UserPatterns.big? Is that just to give it the file a name? Thanks again, George

UserPatterns.big was just a copy where i had put 8 sequences (20,000 channels) so i could test lsp performance. it has nothing to do with the normal operation of the UserPatterns.

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: MrChristmas2000 on August 03, 2012,
An easy way to do this is to save the UserPatterns.xml in a backup folder.

Bring in the Nutcracker pattern file.

In a test sequence copy the Nutcracker patern into sequence. Save the sequence. Exit LSP

Copy back the saved UserPatterns.xml overwriting the Nutcracker file.

Re open the test sequence, Highlight the pattern and add it to the User Paterns. Now the Nutcracker pattern has been added to your library.

You can automate this by creating a couple of batch files that move the files around as needed.

Hope that helps.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 03, 2012,
Oh Yeah!!!!!!! Success!!!!!!!! I got one to stick!!!!!!!!!!!!  ;D
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 04, 2012,
You are not allowed to view links. Register or Login
Oh Yeah!!!!!!! Success!!!!!!!! I got one to stick!!!!!!!!!!!!  ;D

  Now it's time to play!!!!!!!!!!!!! >:D


       animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 04, 2012,
Been playing ALL morning!!!!   >:D >:D >:D >:D
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 04, 2012,
hello,

I've been trying to get my effects to show up on the timeline, but they are not showing up.  However, they are working. Verified output from the controller and the pixels.  I would really like to see everything visually on the grid.  Anybody have any ideas?  I've tried re-installing LSP several times with no luck.  I have the latest LSP 2.0 version.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 04, 2012,
You are not allowed to view links. Register or Login
hello,

I've been trying to get my effects to show up on the timeline, but they are not showing up.  However, they are working. Verified output from the controller and the pixels.  I would really like to see everything visually on the grid.  Anybody have any ideas?  I've tried re-installing LSP several times with no luck.  I have the latest LSP 2.0 version.

could you delete my patterns and then create a small , few pixel pattern and save it. could you then send me teh new UserPatterns.xml file that is created? Ill take a look
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 04, 2012,
hey sean,

i sent the xml file to your e-mail. Thanks again!
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 04, 2012,
You are not allowed to view links. Register or Login
hey sean,

i sent the xml file to your e-mail. Thanks again!

hi;

are running on Windows 7 or Windows XP?

i do see the track gui is different,
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 04, 2012,
windows 7 64 bit.....  tested on my laptop and get same results.  Output is working fine, just no effect visuals on the grid.... 
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 04, 2012,
You are not allowed to view links. Register or Login
windows 7 64 bit.....  tested on my laptop and get same results.  Output is working fine, just no effect visuals on the grid....
I have same os.

I have released ver 4 of make_lsp.
This has two output files available type I and type II

type I is file with my GUI settings, type II is file with your GUI settings.

I tried both types in my lsp and both pasted as expected.

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 04, 2012,
Hey Sean.. I got it working!! The newer 2.0 version I was running was the problem.  I downgraded to the version you are running and I'm seeing the effects on the grid now..   

Went from: version 2_0_11225_2000
to: 2_0_11317_1750

Once again I appreciate all of your efforts!!  You have made everyone's sequencing a lot easier!!!
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 04, 2012,
Jaywalk, Glad you got it working. I am using v2.0.12014.1630 which is the latest version. If you are feeling lucky you can try it as well.  <fp.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 04, 2012,
hm..  I cant get it to stick - I see it when i go to apply the user pattern, move to the cell I want to start, and release and its gone.....

I have tried both gui versions...

Not sure what I am doing wrong...

Myk
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 04, 2012,
check your version... as noted above, i had to install the version that Sean has to get mine to work...
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 04, 2012,
that is not a solution to revert to a older version

I do that and I will have more problems than trying to get this paste to work..

Myk
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 04, 2012,
Myk, Try zooming in and you have to get it right against the timing mark.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: jaywalk101 on August 05, 2012,
well being that i'm just starting off using LSP this year, it was a good solution for me..... 
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 05, 2012,
You are not allowed to view links. Register or Login
hm..  I cant get it to stick - I see it when i go to apply the user pattern, move to the cell I want to start, and release and its gone.....

I have tried both gui versions...

Not sure what I am doing wrong...

Myk

When the paste option comes up, use clip board timmings only. You might have to set that first and then try it again. That's the way I got it to work.

                                                       animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 05, 2012,
still cant get it to work, I hold and see the preview, but as soon as i let go of the mouse button, the preview goes away and the past button comes up, am using clipboard times.  It is doing something as it becomes non responsive for a bit when i tell it to past, but then nothing ever shows up...

Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: animal on August 05, 2012,
You are not allowed to view links. Register or Login
still cant get it to work, I hold and see the preview, but as soon as i let go of the mouse button, the preview goes away and the past button comes up, am using clipboard times.  It is doing something as it becomes non responsive for a bit when i tell it to past, but then nothing ever shows up...

Myk
Hi Myk,

        The same thing happens to me. It's still a little flaky. Try not to go over the time line your dragging it to. Release the mouse button quickly, if it diapears after you release. The paste option still should appear. Make sure clipboard timmings is the only thing checked, and hit cancel. Try it again. It should take. This is the only way I was able to get it to work.  ;) Window 7 64bit, quad amd 3.7, 16g memory.

        animal
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 05, 2012,
Myk, did you try zooming in and out?I'm wondering if it could be a file size issue I just tried a barber pole effect that I couldn't load using 10 second timing at 8 second timing and it loaded. I also changed the frame delay from 20 to 30 so I can't pinpoint which of these made it stick. Also when I paste it, it is going across the whole 2 minute sequence. And I could be mistaken but no matter what I make the speed it seems to move at the same rate unless I change the playback rate in LSP and that only makes the "sequence" freeze. What should make the effect move faster, a 30ms frame delay or a 100 ms frame delay? George
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 05, 2012,
it could be size, it is a 170mb mega tree effect - 8100 channels

Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 05, 2012,
You are not allowed to view links. Register or Login
Myk, did you try zooming in and out?I'm wondering if it could be a file size issue I just tried a barber pole effect that I couldn't load using 10 second timing at 8 second timing and it loaded. I also changed the frame delay from 20 to 30 so I can't pinpoint which of these made it stick. Also when I paste it, it is going across the whole 2 minute sequence. And I could be mistaken but no matter what I make the speed it seems to move at the same rate unless I change the playback rate in LSP and that only makes the "sequence" freeze. What should make the effect move faster, a 30ms frame delay or a 100 ms frame delay? George

30ms frame == 33 frams per second
100ms frame = 10 frames per second

i would not go below 50ms frame timing (20 frames per second). most of my nutcracker animations i do at 100ms timings
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: dandyman on August 06, 2012,
I just tried it w/the latest version of LSP V2.0... WORKS PERFECTLY !!!!

Thanks, Sean !!

This is absolutely GREAT !!! I'm going back to the web page and make a donation !!!

Dan
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 06, 2012,
I give up, I cant reliability get it to past into the sequence - dont know what i am doing wrong...

I would play with it more if I didnt take so long to download stuff over and over - tried installing to local computer, but install.php fails on the ftp manefist transfer.....

Myk
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: dandyman on August 06, 2012,
I'm still using XP, SP3, so it may be a little different; and it's twitchy trying to paste it into the sequence... Sometimes, for the larger file (I'm playing with a little over 5700 channels for one 'Nutcracker')... It takes 4-6 tries to get it to 'stick' in LSP (latest version of V 2.0).

Also, I found that I need to use the first version of the XML file on one computer, and the second version of the XML file for another computer (one is an intel chip and the other is an AMD chip... Don't know if that has anything to do with anything)...

If it shows-up in the sequence and then disappears immediately after I tell it to paste, I try it again, but move it just a little to the right or left... I haven't found the exact spot to get it to paste reliably... But eventually, it will paste...
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 06, 2012,
Am hoping Sean will eventually be able to make a native LSP file so this is not so difficult :(


Dunno why David is so hesitant to provide file structure - it will only make more people want to use his software....


Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: MrChristmas2000 on August 06, 2012,
Because LSP is doing something similar in the upcoming release.

That being said some people will probably want to use both methods in their sequencing.
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 06, 2012,
if that is the case, I expect the userpatterns hack will be killed when 2.5 comes out..... :(

Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: MrChristmas2000 on August 06, 2012,
Yes, LSP 2.5 will make changes to the sequences. I am not sure what all it does to the support files but I think there are some changes, but a good programmer should be able to decipher those.  :)
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 06, 2012,
You are not allowed to view links. Register or Login
I give up, I cant reliability get it to past into the sequence - dont know what i am doing wrong...

I would play with it more if I didnt take so long to download stuff over and over - tried installing to local computer, but install.php fails on the ftp manefist transfer.....

Myk

Installing a local copy of nutcracker will not help. It will just produce the exact UserPatterns.xml file.

This must be something in the file i make and your lsp setup. I logged in as you in nutcracker as mycroft  and downloaded a UserPatterns.xml file made up of your two effects. I was able to paste the data into my lsp with no issues.

i have made three videos to describe this. Video #1 and #2 show me logged in as mycroft and creating a UserPatterns.xml file. This 200mbyte file i download and paste oe of your effects into my LSP 2.0, your effect pasted fine.
in video 3 i give a suggestion of how we might troubleshoot why it doesnt work on your system.

Video#1: http://meighan.net/nutcracker/tutorials/2012-08-06_2115.swf
Video#2: http://meighan.net/nutcracker/tutorials/2012-08-06_2136.swf
Video#3: http://meighan.net/nutcracker/tutorials/2012-08-06_2140.swf

I do suggest you make another target . Instead of 27x100 mtree, make a 12x50 tree that is only 2-3 seconds long.
Remember my effects are target agnostic so just select the new target and pick one of your existing effects.

This way the file downloads will be smaller. Use these smaller files until we get the format corrected.

Each of your current effects is producing a 100mbyte file.

your 27x100 tree is 8100 channels. you have 80ms frame timing or 12.5 frames/second. So each second you have 101250 bytes of data. You have a 10 second duration effect,  so you have 1,012,500 bytes in each effect. You have two of them. The xml format is using almost 100 bytes for each byte of information. This is yielding the 100mbyte xml file for your 10 second animation.

welcome to large rgb mega-trees.
For your 27x100 tree times 3 minutes = 18,225,000 actual bytes with the xml overhead a 3 minute sequence could be 1-2 gigs.

i believe all of the sequencers should have a binary form of the data so it can be more like a 20mbyte file for 3 minutes.

oh well, if wishes were fishes ...

thanks

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 06, 2012,
You are not allowed to view links. Register or Login
if that is the case, I expect the userpatterns hack will be killed when 2.5 comes out..... :(

Myk

i expect there is a UserPatterns.xml file in 2.5 (waiting for someone to send me a small one), they are probably both xml. I will produce
1) LSP 2.0 UserPatterns.xml
2) LSP 2.5 UserPatterns.xml

since these work for me and most people, i have no plans on making a native msq/asq file. The msq/asq files is probably 20-30 times more complex than the Userpatterns.xml format. There is NO documentation for the msq/asq file. I have reverse engineered vixen, lor and now lsp. lsp was the hardest.

To make a asq/msq i have to also include controllers and other things. This would require me to prompt for stuff in nutcracker. I like the patterns file because you can just paste on to whatever controller you currently have. If I have to make a msq file  I have to create 7zip files with certain comments attached to the zip file or LSP wont read them. I also cant get a 7zip program on my meighan.net server. This means you would have to download an unzipped file (think 10 times larger than the current UserPatterns.xml file). Then you would need to zip them and the you could read them.

i have struggled with lsp for 3 months. Until UserPatterns came up i didnt think i would be able to have a lsp solution.

Try what i suggested in video#3, maybe we can get your downloads working...

thanks

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 07, 2012,
ok, I got my spiral to past 1 time, took about 8-9 tires, never could get my meteor test to paste.

Created a userpatterns.xml as suggested as is below

Code: You are not allowed to view links. Register or Login
<?xml version="1.0"?>
<ArrayOfPattern xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Pattern>
    <GroupName>My Patterns</GroupName>
    <Name>New Pattern</Name>
    <Image>
      <Width>79</Width>
      <Height>60</Height>
      <BMPBytes>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</BMPBytes>
    </Image>
    <Tracks>
      <Track>
        <TrackGuid>ba459d0f-ce08-42d1-b660-5162ce521997</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="0" sin="-1" att="0" bst="-16776961" ben="-16776961" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="8820" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="17640" sin="-1" att="1" />
          <TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="26460" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="35280" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="44100" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="52920" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="61740" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="70560" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="79380" sin="-1" att="0" />
        </Intervals>
      </Track>
      <Track>
        <TrackGuid>9394678b-db59-4c95-86ca-a3f03e82f830</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="7" dat="" gui="" in="1" out="1" pos="0" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="8820" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="17640" sin="-1" att="1" />
          <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="26460" sin="-1" att="0" bst="-65536" ben="-65536" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="35280" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="44100" sin="-1" att="1" />
          <TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="52920" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="61740" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="70560" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="79380" sin="-1" att="0" />
        </Intervals>
      </Track>
      <Track>
        <TrackGuid>ec3ae212-13a2-4d2d-8e5f-8a17a73aaca9</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="7" dat="" gui="" in="1" out="1" pos="0" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="8820" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="17640" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="26460" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="35280" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="44100" sin="-1" att="1" />
          <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="52920" sin="-1" att="0" bst="-16711936" ben="-16711936" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="61740" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="70560" sin="-1" att="1" />
          <TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="79380" sin="-1" att="0" />
        </Intervals>
      </Track>
    </Tracks>
  </Pattern>
</ArrayOfPattern>

Hopefully we can figure out this gui stuff

Thanks for the personal help

Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: smeighan on August 07, 2012,
Ok Myk;

i made two changes

Your gui id's are now Type III file
i am now calculating the time to be 88200 = 1000ms. this is a timing change. before i had pos=1000000=1000ms

I am also using the eff=3 and eff=7 better than i did before.

give these a try

thanks
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 07, 2012,
hope this is not all in Vane - as LSP has just been sold..... :(

Myk

Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: mykroft on August 07, 2012,
hm...

it pastes in, but I dont see it on the grid, but if I hit play it sends data out to my test string here sitting next to me.....

Myk
Title: Re: Nutcracker: Yeah!! I have a solution for LSP
Post by: urthegman on August 07, 2012,
You are not allowed to view links. Register or Login
hope this is not all in Vane - as LSP has just been sold..... :(

Myk
UNBELIEVABLE!!!!!!!! And congrats on getting it to finally stick!!!!!