Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: Papagayo to Vixen Plug-in

  1. #1
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Papagayo to Vixen Plug-in

    Papagayo Vixen Addin v1.3

    I plan on adding some lip sync elements to my show this year for both Halloween and Christmas. I have played with Papagayo and it is a useful tool to work out the timing of the lip syncs, however it is somewhat tedious to import a completed Papagayo file into a Vixen sequence as it must be completed by hand.

    Over the last week, I decided to write a plug-in for Vixen 2.1 and 2.5 to automate this process and am posting it. At this point I consider the software Beta, but figured I would go ahead and share it now to get feedback and to debug issues. Since it is Beta, it could crash or screw up your prized sequence, so make backups accordingly.

    To use:
    • Unzip the attached file and copy the dll to your Vixen Addin directory
    • Create a Papagayo Sequence, work out the lip sync and save the file.
    • Create a Vixen Sequence, it works best to make the frame rate match the fps rate in the Papagayo sequence, however it is not required.
    • Open the Add-In "Papagayo Converter", from the Vixen AddIn Menu
    • Select the "..." button to load the completed Papagayo file.
    • Select the Voice you wish to map
    • For each Phoneme in the left listbox select which Vixen Channels you wish for it to map to. It is possible to map each Phoneme to multiple channels.
    • Select the offset in the sequence were you wish for the mapping to begin.
    • Press convert
    • The vixen sequence will show correctly once you close the Add-In box.


    I have tested the following variations of Papagayo fps and Vixen Event Periods.

    Papagayo 40fps, Vixen Period = 25ms ( Works good, but you can't do much at a time with the 500 frame limitation on papagayo)
    Papagayo 24fps, Vixen Period = 25ms, ( These are the settings I used on the posted video ).
    Pagagayo 24fps, Vixen Period = 50ms, ( Works, can't say I noticed much if any loss of resolution during the conversion process).
    Papagayo 24fps, Vixen Period = 100ms ( Works, loss of resolution noticed on some syllables, depended upon the song ).

    If you are unfamiliar with Papagayo, information and downloads can be found at http://www.lostmarble.com/papagayo/

    A good discussion of lip sync information can also be found in the following thread: http://doityourselfchristmas.com/for...mpkin-Lip-Sync

    The Papagayo Application (not the plugin), while it is a good tool definitely has a few bugs in it. If you are aware of what they are then it is not much of a problem, if you don't it will drive you literally CRAZY. Here are some of the things I found.... (These are bugs in the App itself, which I have no control of, not the plugin.)

    1 - Papagayo does not like it when you load sound files of more then 500 frames. It does not warn you and will let you work as if everything is OK, when you go to save it will generate a corrupt pgo file and not warn you about it. This results in all of the work being wasted. I ended up downloading a copy of Audacity and broke the sequence into 15 or second less parts, worked on them individually and recombined them using the offset feature in the plugin on the final sequence.

    2 - Papagayo does not like it when you put underscores in the pgo filenames. i.e. ToySack_1.mp3 will cause an error, once again, it will not warn you and act like it saved the file, but did not. I wasted about 45 minutes of work before I figured this out.

    3 - Papagayo also has problems when you add phrases that have anything other then A-Z characters. If the phrase you are typing has anything other then that, then it will not save the file correctly.

    The author of Papagayo is no longer working on the code, so these will likely not get fixed. However he has made the code open source so someone may one day.

    a. To do the sequence, I did the following:
    b. Create a vixen sequence mapped to the complete audio file.
    c. Broke the mp3 file into workable segments and generated independent pgo files for them one by one
    d. Mapped each of these pgo files one by one into the sequence made in "a".

    I am open to suggestions for improvements to the plugin at this point, so all feedback is welcomed.

    ChangeLog

    v1.3
    - Corrected issue were a word with no associated phoneme data would cause a plugin crash. This can happen when the app can not process one of the phrase words due to illegal characters or can determine proper pronunciation of the word.

    v1.2
    - Attempt to preserve voice phoneme->channel mappings when loading different pgo files.
    The plugin will now save phoneme->channel mappings by voice name in each sequence. Once a mapping is defined in the sequence for a particular voice, the plugin will attempt to maintain this mapping when other pgo files are loaded that contain voices with the same name. This information is stored in the sequence and will be reloaded anytime that particular sequence is loaded.
    - Made Filename text box readonly to prevent some undesired behavior.
    - Removed extraneous whitespaces in all voice names.
    - Added readme notes to zip file
    Attached Files Attached Files
    Last edited by ebrady; 05-19-2013 at 07:53 AM. Reason: Updated AddIn to v1.3

  2. Likes pcoshatt liked this post
  3. #2
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    10,283
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    There was an Add-In added previously here: http://doityourselfchristmas.com/for...light=papagayo - not sure how/if it differs from yours.
    [COLOR=#000080][B][I]Brian[/I][/B][/COLOR]

    [COLOR=#ff0000]Christmas in San Jose! - [URL="http://www.christmasinsj.com"]WEB[/URL] - [URL="https://www.facebook.com/ChristmasInSanJose"]FB[/URL] - [URL="https://www.youtube.com/playlist?list=PL1W78s7liEQEE0ed7WSyLF7B6j3lBX43w"]VIDEOS[/URL]
    [/COLOR][COLOR=#800080]Halloween in San Jose! - [URL="https://www.facebook.com/pages/Halloween-in-San-Jose/356280784428581?ref=tn_tnmn"]FB[/URL]
    [SIZE=1]2015 Halloween Show - Planning now - hopefully some house projection...
    2015 Christmas Show - 5x E681-12, 1x 6804, Ren48LSD, 3x RenSS16, 1x Falcon16v2 (w/expander), 24x90 WS2811 pixel MT (James MT Strips), 12x DIYC Floods, SuperPixelStar, 3x Pixel Arches, PixaBulb House outline
    [/SIZE]
    [/COLOR][SIZE=3][COLOR=#008000][I]Ignorance is Temporary [/I][/COLOR][COLOR=#800080][I]- [/I][/COLOR][COLOR=#ff0000][I]Stupidity is Forever[/I][/COLOR][COLOR=#800080][I]...[/I][/COLOR][/SIZE][I][COLOR=#ff0000]
    [/COLOR][/I]

  4. #3
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    Must have missed that one, thanks for the link. I gave it a look, it is a decent plugin, but there are a few differences between it and the one I just posted. The differences may or may not be relevant to everyone depending upon what you are used to.

    Specifically:
    - Ability to set starting offset in the sequence
    - Load .pgo file directly and convert all Voices at once. No intermediate step required to convert voices to independant .dat files
    - Can use other than 40fps / 25ms sequence times

    Ed

  5. #4
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    After some feedback and working through a trial sequence, I have made a few bug fixes to the plug-in and re-posted it to the beginning of this thread. Here is a link to a sequence I made over the weekend to debug and exercise the code.



    Enjoy!
    Ed

  6. #5
    Join Date
    Sep 2009
    Location
    Kaiapoi, New Zealand
    Posts
    90
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    Thanks for this Ed

    I have been sequencing with the other Add-In but I had some old Vixen sequences that I wanted to ad Lip-sync to, I tried but it didn't work out with the 25ms timing so I am keen to try yours.

    Love the sequence you did, I'm using this song as well this year.

    Kev :-)
    Grandad get the lights ready

  7. #6
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    Thanks kevr,

    One thing I have been meaning to post to this thread is my experience creating the linked video.

    The Papagayo Application (not the plugin), while it is a good tool definitely has a few bugs in it. If you are aware of what they are then it is not much of a problem, if you don't it will drive you literally CRAZY. Here are some of the things I found.... (These are bugs in the App itself, which I have no control of, not the plugin.)

    1 - Papagayo does not like it when you load sound files of more then 500 frames. It does not warn you and will let you work as if everything is OK, when you go to save it will generate a corrupt pgo file and not warn you about it. This results in all of the work being wasted. I ended up downloading a copy of Audacity and broke the sequence into 15 or second less parts, worked on them individually and recombined them using the offset feature in the plugin on the final sequence.

    2 - Papagayo does not like it when you put underscores in the pgo filenames. i.e. ToySack_1.mp3 will cause an error, once again, it will not warn you and act like it saved the file, but did not. I wasted about 45 minutes of work before I figured this out.

    3 - Papagayo also has problems when you add phrases that have anything other then A-Z characters. If the phrase you are typing has anything other then that, then it will not save the file correctly.

    The author of Papagayo is no longer working on the code, so these will likely not get fixed. However he has made the code open source so someone may one day.

    a. To do the sequence, I did the following:
    b. Create a vixen sequence mapped to the complete audio file.
    c. Broke the mp3 file into workable segments and generated independent pgo files for them one by one
    d. Mapped each of these pgo files one by one into the sequence made in "a".

    I am open to suggestions for improvements to the plugin at this point, so all feedback is welcomed.
    Last edited by ebrady; 07-11-2012 at 06:21 AM. Reason: Bad spelling and grammar

  8. #7
    Join Date
    Jul 2011
    Location
    Noblesville, IN
    Posts
    215
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    What event period should we use to match the 24 fps that papagayo likes?
    [B][URL="http://halloween.tittivillus.com"]Andersonville Cemetery[/URL][/B]

    2011 Halloween -- 18 Channels - 6 channels Mr. Christmas, 12 channels Arduino, all On/Off unfortunately...
    2012 Halloween -- nuthin. Everything went to hell in a handbasket :-P
    2013 Halloween -- 48 (1 dead) Renard SS24, + 6 from Mr. Christmas

  9. #8
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    You can set the Vixen sequence to be whatever you like but 24fps comes out to be about 42ms.

    Your Vixen sequence event period should be at least that or faster or else you could loose some resolution during the conversion.

    I have tested the following variations of Papagayo fps and Vixen Event Periods.

    Papagayo 40fps, Vixen Period = 25ms ( Works good, but you can't do much at a time with the 500 frame limitation on papagayo)
    Papagayo 24fps, Vixen Period = 25ms, ( These are the settings I used on the posted video ).
    Pagagayo 24fps, Vixen Period = 50ms, ( Works, can't say I noticed much if any loss of resolution during the conversion process).
    Papagayo 24fps, Vixen Period = 100ms ( Works, loss of resolution noticed on some syllables, depended upon the song ).

    I welcome all feedback let me know if you find any bugs or peculiarities.

    Quote Originally Posted by MacabreRob View Post
    What event period should we use to match the 24 fps that papagayo likes?

  10. #9
    Join Date
    Dec 2010
    Location
    Murrieta, Ca
    Posts
    560
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    i'd use a different number. 24 fps is actually 41.6666666 ms (1000/24). Since it's a repeating decimal, you may end up with a bit of stack up error in your intervals. It will be more apparent towards the end of your sequence. Use something like 25 fps which will give you 40 ms (1000/25).
    5 houses using:
    Renard 64, 3 Ren24's, Ren8
    4 E682 pixel controllers
    2,300 WS2801 pixel nodes
    1200 dumb RGB
    Sequenced using LSP 2.5

  11. #10
    Join Date
    Mar 2010
    Location
    Delaware, OH
    Posts
    670
    Post Thanks / Like

    Default Re: Papagayo to Vixen Plug-in

    Those numbers should work also.

    I implemented a scaling mechanism in the plugin so it will compensate for any stack up errors due to mismatches in fps and event period rates. So the user has some freedom both on the FPS rate and the Vixen event period.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •