Author Topic: version 3.4.15 released, Updates to Papagayo scripts  (Read 4318 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Release 3.4.15. Now you can stitch multiple parts of a voice together. You can also merge multiple xlight sequences.

Here is a video showing multiple voices, from multiple files that shows xlights can now create singing faces
You are not allowed to view links. Register or Login

XLIGHTS/NUTCRACKER RELEASE NOTES:
=================================
3.4.15  Sep 28, 2014
   - ENH (Sean) merge_xml.awk will combine multiple xlights xml sequences into one.
   - ENH (Sean) corofaces.awk awk now will stitch together multiple files for the same voice.
   - DOC (Sean) New documentation, README,corofaces. You will see thsi when u install the
         latest code
3.4.14  Sep 26, 2014
   - ENH (Sean) scripts added that can take Papagayo voices and make xlights sequences from them
   - ENH (Sean) Scripts are found in your installation directory. corofaces.awk, coroface.bat
   - ENH (Sean) Installation of xlights now installs gawk.


So how to do Papagayo (This is interim method until Don Julien finished up Papagayo tab)

1) Take a wave file, example thriller.wav
2) Break it into 3 chunks using audacity.
Example
thriller1.wav
thriller2.wav
thriller3.wav
3) Use papagayo and mark up your voices.
save thyem as pgo files.
thriller1.pgo
thriller2.pgo
thriller3.pgo
4) Go into Papagayo and export each voice into a *.dat file
Example , there are three voices.
voice1a.dat
voice1b.dat
voice1c.dat
voice2a.dat
voice2b.dat
voice2c.dat
voice3a.dat
voice3b.dat
voice3c.dat

the "*a.dat, *b.dat,*c.dat indicate that these came from 3 different pgo files

You now need to stitch each voice back together.

Look at line 4  in each pgo file. it will show the last frame that each file used.

5) Copy corofaces.awk, coroface.bat,merge_xml.awk from C:\Program Files (x86)\xLights and put them into your show directory

6) edit the batch file corofaces.bat
rem
rem   edit these next lines and put in what your voice dat files were from Papagayo
rem   First copy coroface.awk, coroface.bat and merge_xml.awk from the
rem
rem      Syntax" gawk -f coroface.awk -v m1=xxx -v v1=nnn voice1.dat voice1b.dat > voice1.xml
rem   edit these next lines and put in what your voice dat files were from Papagayo
rem arguments
rem      "-v m1=face1". -v means you will define a variable. m1 is the variable. it contains
rem                  the model name for voice1
rem      "-v v1=3649". This is the last frame in the first pgo file. Look on line 4 of
rem                  your pgo file. it will show the last frame.
rem

gawk -f coroface.awk -v m1=face1 -v v1=3649 -v v2=910  voice1.dat voice1b.dat > voice1.xml
gawk -f coroface.awk -v m1=face2  -v v1=3649 -v v2=910 voice2.dat voice2b.dat > voice2.xml
gawk -f coroface.awk -v m1=face3  -v v1=3649 -v v2=910 voice3.dat voice3b.dat > voice3.xml


after you have made an xml light sequence for each voice, we want to join them all together

em edit this command to contain all of the xml files you need to combine
rem Syntax: gawk -f merge_xml.awk {firstfile} {secondfile} {thirdfile} {.etc.}  > {output xml file)


gawk -f merge_xml.awk voice1.xml voice2.xml voice3.xml > voice.xml


7) Now open the original wav file (before you chopped it itno 3 pieces)
Use the 3rd open option. give it the wav file name and then the xml file. (voice.xml in our example)

8) save the sequence
« Last Edit: September 29, 2014, by smeighan »
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #1 on: September 29, 2014, »
You might want to change the name of the file README.coroface to README.coroface.txt as it will usually show up as an error since Windows does not know what to do with a file extension of "coroface"

Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #2 on: September 30, 2014, »
You are not allowed to view links. Register or Login
You might want to change the name of the file README.coroface to README.coroface.txt as it will usually show up as an error since Windows does not know what to do with a file extension of "coroface"

i did change it.
thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline DanHouston

  • Sr. Member
  • ****
  • Posts: 499
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #3 on: October 02, 2014, »
I can't seem to get it to display two channels for a single phoneme....

I've tried 3.4.14, 3.4.15, and 3.4.16. It looks like starting with 3.4.15 corofaces replaces faces, but the behavior is the same for me. It will display a single channel just fine, but as soon as it specifies 2 channels it seems to ignore the second one.

Here are some screenshots to help illustrate....This is in 3.4.14, but it seems to be the same issue in all 3 just the change from Faces to Corofaces.

2011 - Year #1
    4000 lights and 16 channels
    5 Songs sequenced
2012 - Year #2
    5000 lights and 123 channels
    8 Songs sequenced

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #4 on: October 02, 2014, »
that is not working Dan. Don Julien has a fix in mind.

The Papagayo tab is NOT released yet.
If you need faces in the next week use thw awk scripts that i talk about on the tutorials.
In about a week those scripts should be able to be thrown out.

Prompting for multiple channels is one of the big UI issues we a re working'thanks
sean
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline DanHouston

  • Sr. Member
  • ****
  • Posts: 499
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #5 on: October 03, 2014, »
I am using the scripts....I thought  I could preview the results on the nutcracker tab which is what I was doing, but I noticed the preview is not real good since it won't turn on multiple channels....perhaps I misunderstood the tutorial?
2011 - Year #1
    4000 lights and 16 channels
    5 Songs sequenced
2012 - Year #2
    5000 lights and 123 channels
    8 Songs sequenced

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #6 on: October 03, 2014, »
ah, i do turn on the two x,y locations but the second one does not light up.

So when i do an AI, i only get the upper lip.
When Don does his testing, he gets both to work. Since we are expecting don;s version sometime next week, maybe use my scripts. check your animations work., refine your pgo file .
by that time don should have the coroface portion working. He just solvedhow to make the drop down in the papagayo tab allow multiple channels to be checked per phoneme
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline DanHouston

  • Sr. Member
  • ****
  • Posts: 499
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #7 on: October 04, 2014, »
So I exported the sequence to Vixen and it does not look like the two channels are being turned on there either. I know the script had the option for two channels, and it looks like it sets things correctly in xLights/Nutcracker, but can't quite seem to get the final product out.
2011 - Year #1
    4000 lights and 16 channels
    5 Songs sequenced
2012 - Year #2
    5000 lights and 123 channels
    8 Songs sequenced

Offline DanHouston

  • Sr. Member
  • ****
  • Posts: 499
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #8 on: October 08, 2014, »
I guess I misunderstood your post and thought you meant it was just a display issue in xLights, but I think you may be saying what I am seeing is correct until Don get's his release out?
2011 - Year #1
    4000 lights and 16 channels
    5 Songs sequenced
2012 - Year #2
    5000 lights and 123 channels
    8 Songs sequenced

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #9 on: October 08, 2014, »
You are not allowed to view links. Register or Login
I guess I misunderstood your post and thought you meant it was just a display issue in xLights, but I think you may be saying what I am seeing is correct until Don get's his release out?

That is correct, my awk script was not turning on the second channel. I tried Don Julien's latest code last night, it does turn on both channels.

i just put up version 3.4.17. This has the corofaces part of the Papagayo tab working. This release is PRE-RELEASE. There are some minor bugs. One we know about, the outline shows in the NUTCRACKER tab but not in the PREVIEW tab.

1) Select a pgo file
2) Select an output file to receive the xml sequence
3) Select the custom models that you are using. Be user "Part of my Display" is checked for those models
4) Setup channel assignment to Phonemes. You can add multiple channels to a phoneme by doing ctl-click.
5) Create an output sequence

Now go to NUTCRACKER tab
1) Do a file open, 3rd option
2) check the XML box
3) pass in wav file used for the Papagayo process
4) Select the xml file that you just created above.
5) Save this new sequence.

Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline DanHouston

  • Sr. Member
  • ****
  • Posts: 499
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #10 on: October 08, 2014, »
First time this has happened, so before I turn off my AV software thought I'd ask if anyone else is having this happen....

Kaspersky is identifying the file as malicious with certainty and immediately deleting it. It is suggesting it has HEUR:Trogan.Win32.Generic.

I realize these can be false positives, but wanted to check in.

-Dan
2011 - Year #1
    4000 lights and 16 channels
    5 Songs sequenced
2012 - Year #2
    5000 lights and 123 channels
    8 Songs sequenced

Offline vairmoose

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 827
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #11 on: October 09, 2014, »
My computer was reporting that the file did not have a digital signature to validate it.   I had to go around the system to get it installed.

Larry
3 today (standing at light switch, holding two lighters)
Going live in 2012

Offline JonB256

  • Sr. Member
  • ****
  • Posts: 672
    • My website
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #12 on: October 09, 2014, »
Me too. Win8 64 didn't trust it.

Offline tbone321

  • Sr. Member
  • ****
  • Posts: 4055
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #13 on: October 09, 2014, »
I would be careful installing that software.
If at first you don't succeed,
your not cut out for sky diving

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: version 3.4.15 released, Updates to Papagayo scripts
« Reply #14 on: October 09, 2014, »
i think it was a false alarm.

I downloaded kaspersky and ran it. 9 hours, 3 1/2 million files later it did say that it found one file with a virus, the binary file i had for 3.4.17.

We have worked on 3.4.17 to fix the face outline in the PREVIEW window. I recompiled and created a new 3.4.17, it shows clean now.
I have not run any software to clean my machine, just change some of the source files around. I must have created a binary signature that looked like a virus.
The new 3.4.17 has been posted (This has the fix for the Outline of a face for Papagayo).

Download this and see if it is clean with your virus software.

BTW, 3.4.17 is not released officially until later today. I put it up for a few people to try it.

thanks
sean
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login