PDA

View Full Version : Nutcracker: Help in describing a LSP xml file



smeighan
04-19-2012, 04:04 PM
I have been unable to find any documentation from LSP describing their xml file.
If i am going to make a native msq file for LSP users, i need your help.

Kane, a user on auschristmas gave me some decodes of LSP XML. (http://auschristmaslighting.com/forums/index.php?action=post;msg=18235;topic=2104.15)



<Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<TimeInterval eff="1" dat="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;ec&gt; &lt;in&gt;1&lt;/in&gt; &lt;out&gt;100&lt;/out&gt; &lt;rt&gt;0&lt;/rt&gt;&lt;/ec&gt;" gui="{1B0F1B59-7161-4782-B068-98E021A6E048}" in="10" out="100" pos="35280" sin="-1" att="0" bst="-16776961" ben="-16776961" />

Not that this is going to be of much use to you, but I've just loaded up my LSP XML manipulation code, and here's what they correspond to - might be useful to anyone else playing around with this sort of thing. That being said, most likely this will all go out the window with the new version!

eff: type of effect (-1=nothing,1=rampup,2=rampdown,3=on,4=off,5=twinkle )

(NOTE from Sean: My file snippet below as eff="7", so we are missing some from this list)

guid: unique identifier for the effect (no idea why the "eff" isn't sufficient) eg Ramp up is {1B0F1B59-7161-4782-B068-98E021A6E048}

dat: (I think I was wrong before, as looking over my notes, this might be required) - this also depends on the effect - ramp up is
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;effectConfig&gt; &lt;intensityIn&gt;1&lt;/intensityIn&gt; &lt;intensityOut&gt;100&lt;/intensityOut&gt; &lt;rampType&gt;0&lt;/rampType&gt;&lt;/effectConfig&gt;

in, out: intensity (0-100) at start and end. (eg ramp up would be in=10 and out=100)

bst,ben: start and end colour (for rgb channels)

pos:start location of effect (there is no "end" location stored - each effect goes up until the next one, which takes over) To calculate the value for "pos", it's number of seconds multiplied by 88200.

sin: always seems to be "-1"

att: not using in channel XML - used in another part of the XML where the timing highlights are setup (eg if you want a green timing highlight at a certain position, you can set "att" to 9.



So here is an LSP 2 xml file. LSP users, for me to reverse engineer this file, i need as much help as i can get as to what parts i need to populate.

<--------------- cut here -------------------------------. In the following file, i have already decoded all of the HTML tags back into readable text


<?xml version="1.0" ?>
- <MusicalSequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <Image>
<Width>2576</Width>
<Height>1932</Height>
</Image>
<AnalogInput />
- <TimingTracks>
- <Track>
<TrackGuid>a3e79c51-be2d-4cae-9b94-7eab321ff92d</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<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="0" lefl="1" intb="0" efd="0" />
<Name />
- <Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<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="88200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="176400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="264600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="352800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="441000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="529200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="617400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="705600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="793800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="882000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="970200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1058400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1146600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1234800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1323000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1411200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1483400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1587600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1675800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1764000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1852200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="1940400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2028600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2116800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2248000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2293200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2381400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2469600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2557800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2646000" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2734200" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2822400" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2910600" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="2998800" sin="-1" att="1" />
<TimeInterval eff="7" dat="" gui="" in="1" out="1" pos="3087000" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3093592" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="99999999" sin="-1" att="1" />
</Intervals>
</Track>
</TimingTracks>
<CommandQueue />
<Layers />
- <MediaClips>
<TimeInterval eff="14" dat="<?xml version="1.0" encoding="utf-16"?> <WinCommand> <commandText>C:\ltc\files\default.bat</commandText> <commandMode>0</commandMode> </WinCommand>" gui="" in="1" out="1" pos="14000" sin="-1" att="0" />
</MediaClips>
- <ControllerList>
- <Controller>
<BlueControllerID>0</BlueControllerID>
<UserController>true</UserController>
- <Channels>
- <Channel>
- <ChannelGraphicList>
- <object Type="LightShowProSequencer.Utility.Drawing.DrawMini">
<Start x="175" y="151" />
<End x="141" y="232" />
<Color>66121968</Color>
<PenWidth>1</PenWidth>
</object>
</ChannelGraphicList>
<ControllerID>1</ControllerID>
<VirtualCGUID />
<VirtualPGUID />
<ChannelID>1</ChannelID>
<GreenChannelID>0</GreenChannelID>
<BlueChannelID>0</BlueChannelID>
<ChannelNumber>1</ChannelNumber>
<ChannelOrdinal>0</ChannelOrdinal>
<Name>MegaTree 1 - White</Name>
- <Tracks>
- <Track>
<TrackGuid>72c4d016-a53f-48a3-8d19-cb666a50c304</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<TrackColorName />
<TrackColorARGB>-986896</TrackColorARGB>
<TrackID>1</TrackID>
<TrackType>2</TrackType>
<WiiMapping inv="0" ibn="" inbn="" ani="0" ain="" hty="-1" fed="0" wind="-1" wibt="0" cint="False" ceff="False" hefsd="True" lef="0" lefl="1" intb="0" efd="0" />
<Name>MegaTree 1 - White</Name>
- <Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<TimeInterval eff="1" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>1</in> <out>100</out> <rt>0</rt> </ec>" gui="{1B0F1B59-7161-4782-B068-98E021A6E048}" in="1" out="100" pos="0" sin="-1" att="0" />
<TimeInterval eff="3" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> </ec>" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="793800" sin="-1" att="0" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="1483400" sin="-1" att="1" />
<TimeInterval eff="3" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> </ec>" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="2248000" sin="-1" att="0" />
<TimeInterval eff="2" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>1</out> <rt>0</rt> </ec>" gui="{49E1F143-321A-4f5b-9F39-32984FF12410}" in="100" out="1" pos="2557800" sin="-1" att="0" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3087000" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3093592" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="99999999" sin="-1" att="1" />
</Intervals>
</Track>
</Tracks>
<ChannelCalibration aer="False" eis="0" eie="0" arr="False" ris="0" rie="0" gis="0" gie="0" bis="0" bie="0" />
<Selected>false</Selected>
</Channel>
- <Channel>
- <ChannelGraphicList>
- <object Type="LightShowProSequencer.Utility.Drawing.DrawMini">
<Start x="175" y="151" />
<End x="157" y="229" />
<Color>-2131693328</Color>
<PenWidth>1</PenWidth>
</object>
</ChannelGraphicList>
<ControllerID>1</ControllerID>
<VirtualCGUID />
<VirtualPGUID />
<ChannelID>2</ChannelID>
<GreenChannelID>0</GreenChannelID>
<BlueChannelID>0</BlueChannelID>
<ChannelNumber>2</ChannelNumber>
<ChannelOrdinal>0</ChannelOrdinal>
<Name>MegaTree 2 - White</Name>
- <Tracks>
- <Track>
<TrackGuid>cdc7bb80-4f81-4534-8976-8fe623a6e023</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<TrackColorName />
<TrackColorARGB>-986896</TrackColorARGB>
<TrackID>2</TrackID>
<TrackType>2</TrackType>
<WiiMapping inv="0" ibn="" inbn="" ani="0" ain="" hty="-1" fed="0" wind="-1" wibt="0" cint="False" ceff="False" hefsd="True" lef="0" lefl="1" intb="0" efd="0" />
<Name>MegaTree 2 - White</Name>
- <Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<TimeInterval eff="1" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>1</in> <out>100</out> <rt>0</rt> </ec>" gui="{1B0F1B59-7161-4782-B068-98E021A6E048}" in="1" out="100" pos="88200" sin="-1" att="0" />
<TimeInterval eff="3" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> </ec>" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="793800" sin="-1" att="0" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="1483400" sin="-1" att="1" />
<TimeInterval eff="3" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> </ec>" gui="{DA98BD5D-9C00-40fe-A11C-AD3242573443}" in="100" out="100" pos="2248000" sin="-1" att="0" />
<TimeInterval eff="2" dat="<?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>1</out> <rt>0</rt> </ec>" gui="{49E1F143-321A-4f5b-9F39-32984FF12410}" in="100" out="1" pos="2557800" sin="-1" att="0" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3087000" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3093592" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="99999999" sin="-1" att="1" />
</Intervals>
</Track>
</Tracks>
<ChannelCalibration aer="False" eis="0" eie="0" arr="False" ris="0" rie="0" gis="0" gie="0" bis="0" bie="0" />
<Selected>false</Selected>
</Channel>



</Intervals>
</Track>
</Tracks>
<ChannelCalibration aer="False" eis="0" eie="0" arr="False" ris="0" rie="0" gis="0" gie="0" bis="0" bie="0" />
<Selected>false</Selected>
</Channel>
</Channels>
<Collapsed>false</Collapsed>
<ControllerColorName />
<ControllerColorARGB>-8388864</ControllerColorARGB>
<ControllerGuid>da900e33-9bf0-44dc-a167-028109ded410</ControllerGuid>
<ControllerID>1</ControllerID>
<ControllerName>D-Light ACx16 (Box #1)</ControllerName>
<ControllerOrdinal>0</ControllerOrdinal>
<ControllerProtocol>0</ControllerProtocol>
<ControllerType>0</ControllerType>
<ControllerZone>1</ControllerZone>
<EnableControllerOutput>true</EnableControllerOutput>
<GreenControllerID>0</GreenControllerID>
<GroupName>My Controllers</GroupName>
<ObjectGUID />
<OptimizedCommands />
</Controller>
- <Controller>
<BlueControllerID>0</BlueControllerID>
<UserController>true</UserController>
- <Channels>
- <Channel>
- <ChannelGraphicList>
- <object Type="LightShowProSequencer.Utility.Drawing.DrawMini">
<Start x="175" y="151" />
<End x="142" y="229" />
<Color>-2130771968</Color>
<PenWidth>1</PenWidth>
</object>
</ChannelGraphicList>
<ControllerID>2</ControllerID>
<VirtualCGUID />
<VirtualPGUID />
<ChannelID>1</ChannelID>
<GreenChannelID>0</GreenChannelID>
<BlueChannelID>0</BlueChannelID>
<ChannelNumber>1</ChannelNumber>
<ChannelOrdinal>0</ChannelOrdinal>
<Name>MegaTree 1 - Red (2)</Name>
- <Tracks>
- <Track>
<TrackGuid>c37245e1-20db-4d74-9922-46b202537398</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<TrackColorName />
<TrackColorARGB>-65536</TrackColorARGB>
<TrackID>1</TrackID>
<TrackType>2</TrackType>
<WiiMapping inv="0" ibn="" inbn="" ani="0" ain="" hty="-1" fed="0" wind="-1" wibt="0" cint="False" ceff="False" hefsd="True" lef="0" lefl="1" intb="0" efd="0" />
<Name>MegaTree 1 - Red (2)</Name>
- <Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3093592" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="99999999" sin="-1" att="1" />
</Intervals>
</Track>
</Tracks>
<ChannelCalibration aer="False" eis="0" eie="0" arr="False" ris="0" rie="0" gis="0" gie="0" bis="0" bie="0" />
<Selected>false</Selected>
</Channel>

.....

- <object Type="LightShowProSequencer.Utility.Drawing.DrawStrobe">
<Color>-8388652</Color>
<PenWidth>1</PenWidth>
<rectangle x="182" y="172" width="1" height="1" />
<strobe x="182" y="172" width="1" height="1" strobeIndex="0" />
</object>
- <object Type="LightShowProSequencer.Utility.Drawing.DrawStrobe">
<Color>-8388652</Color>
<PenWidth>1</PenWidth>
<rectangle x="168" y="165" width="1" height="1" />
<strobe x="168" y="165" width="1" height="1" strobeIndex="0" />
</object>
</ChannelGraphicList>
<ControllerID>5</ControllerID>
<VirtualCGUID />
<VirtualPGUID />
<ChannelConfiguration><?xml version="1.0" encoding="utf-16"?> <ChannelCalibrationConfig> <ApplyIntensityRange>False</ApplyIntensityRange> <IntensityRangeStart>0</IntensityRangeStart> <IntensityRangeEnd>100</IntensityRangeEnd> </ChannelCalibrationConfig></ChannelConfiguration>
<ChannelID>16</ChannelID>
<GreenChannelID>16</GreenChannelID>
<BlueChannelID>16</BlueChannelID>
<ChannelNumber>16</ChannelNumber>
<ChannelOrdinal>0</ChannelOrdinal>
<Name>Strobes (2)</Name>
- <Tracks>
- <Track>
<TrackGuid>2184e120-e294-4dd7-a533-bf1cde1e1878</TrackGuid>
<IsHidden>false</IsHidden>
<IsPrimaryTrack>false</IsPrimaryTrack>
<TrackColorName />
<TrackColorARGB>-8388652</TrackColorARGB>
<TrackID>16</TrackID>
<TrackType>2</TrackType>
<WiiMapping inv="0" ibn="" inbn="" ani="0" ain="" hty="-1" fed="0" wind="-1" wibt="0" cint="False" ceff="False" hefsd="True" lef="0" lefl="1" intb="0" efd="0" />
<Name>MegaTree Strobes</Name>
- <Intervals>
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="-600" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="3093592" sin="-1" att="1" />
<TimeInterval eff="4" dat="" gui="{09A9DFBE-9833-413c-95FA-4FFDFEBF896F}" in="1" out="1" pos="99999999" sin="-1" att="1" />
</Intervals>
</Track>
</Tracks>
<ChannelCalibration aer="False" eis="0" eie="100" arr="False" ris="0" rie="255" gis="0" gie="255" bis="0" bie="255" />
<Selected>false</Selected>
</Channel>
</Channels>
<Collapsed>false</Collapsed>
<ControllerColorName />
<ControllerColorARGB>-8388480</ControllerColorARGB>
<ControllerGuid>63476ea3-8788-4596-b930-bf7f97ae6a8e</ControllerGuid>
<ControllerID>5</ControllerID>
<ControllerName>D-Light ACx16 (Box #5)</ControllerName>
<ControllerOrdinal>0</ControllerOrdinal>
<ControllerProtocol>0</ControllerProtocol>
<ControllerType>0</ControllerType>
<ControllerZone>1</ControllerZone>
<EnableControllerOutput>true</EnableControllerOutput>
<GreenControllerID>0</GreenControllerID>
<GroupName>My Controllers</GroupName>
<ObjectGUID />
<OptimizedCommands />
</Controller>
</ControllerList>
<DefaultIntervalDistance>44100</DefaultIntervalDistance>
<FileName>C:\Users\Johnathan\Documents\My LightShow Sequences\gogreen.msq</FileName>
<GeneratorVersion>3</GeneratorVersion>
<IsDirty>true</IsDirty>
<Length>3093592</Length>
<ActiveTimingIndex>0</ActiveTimingIndex>
- <AudioFile>
<Name>Johnathan Evans</Name>
<Album>Unknown</Album>
<Author>Johnathan Evans</Author>
<Artist>Unknown</Artist>
<Title>Unknown</Title>
<Length>3093592</Length>
<SampleRate>3093592</SampleRate>
<MediaFileName>C:\Users\Johnathan\Documents\My LightShow Music\Go Green.mp3</MediaFileName>
- <WaveFile>
<FilePath>C:\Users\Johnathan\Documents\My LightShow Music\Go Green.mp3</FilePath>
<OutFilePath>C:\Program Files (x86)\GraphXPros\LSP Sequencer\wav\Go Green.wav</OutFilePath>
</WaveFile>
</AudioFile>
- <MultiMediaFile>
<Name>Johnathan Evans</Name>
<Album>Unknown</Album>
<Author>Johnathan Evans</Author>
<Artist>Unknown</Artist>
<Title>Unknown</Title>
<Length>3093592</Length>
<SampleRate>3093592</SampleRate>
<MediaFileName>C:\Users\Johnathan\Documents\My LightShow Music\Go Green.mp3</MediaFileName>
- <WaveFile>
<FilePath>C:\Users\Johnathan\Documents\My LightShow Music\Go Green.mp3</FilePath>
<OutFilePath>C:\Program Files (x86)\GraphXPros\LSP Sequencer\wav\Go Green.wav</OutFilePath>
</WaveFile>
</MultiMediaFile>
<SpectralRanges />
</MusicalSequence>

dirknerkle
04-19-2012, 04:22 PM
Sean, I think you win the "longest post" contest! :lol:

Wow, lots of stuff there. Have you tried to contact David over there at LSP? I'd think from a developer's standpoint he'd be interested in what you're doing, but on the other hand, he's very, very protective of his sequencer.

smeighan
04-19-2012, 05:23 PM
Yes, i first reached out on March 15th.
http://www.lightshowpro.com/effect-plugin-development/2532-nutcracker-plugin.html
Post #6 is where i was asking for some help . This was on april 5th.
The only answers from David are describing new features coming in LSP 3.
I know he is very busy trying to get LSP 3 out by summer.

The xml file format will be different in LSP 3 but it will be backward compliant, if i read his posts correctly.

Looking at the xml file you understand why i dont want to try and reverse engineer this. Lots of work.

kanebullen
04-19-2012, 09:01 PM
Hey Sean

As mentioned, probably best to insert xml into the relevant section of an existing .msq file via a desktop app (that takes nutcracker output), rather than your webapp generating a full .msq file, as there are too many variables. Also, by giving the user to insert an effect at a certain location (against certain channels) gives a heap of flexibility.

Here are the eff and guid values I have noted - no idea what 7 is?

ramp up -> eff=1 guid= {1B0F1B59-7161-4782-B068-98E021A6E048}
ramp down -> eff=2 guid= {49E1F143-321A-4f5b-9F39-32984FF12410}
on -> eff=3 guid= {DA98BD5D-9C00-40fe-A11C-AD3242573443}
off -> eff=4 guid= {09A9DFBE-9833-413c-95FA-4FFDFEBF896F}
twinkle -> eff=5 guid= {AC1C2974-427E-4741-B0AA-C3201A9A808A}
shimmer -> eff=6 guid= {46145E9E-D86C-46e5-9DFA-50C6FF5F9EC7}

Here are the values for "dat", but they need to be html encoded

ramp up -><?xml version="1.0" encoding="utf-16"?> <ec> <in>1</in> <out>100</out> <rt>0</rt> </ec>
ramp down -><?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>1</out> <rt>0</rt> </ec>
on -><?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> </ec>
off ->empty
twinkle -><?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> <tt>0</tt> </ec>
shimmer -><?xml version="1.0" encoding="utf-16"?> <ec> <in>100</in> <out>100</out> <st>0</st> </ec>

As mentioned, I'll see if I can get some spare time to put together an import procedure

Cheers

Kane