Sean Meighan

Software => Bugs in xLights/Nutcracker => Bugs (Please dont post here, soon to be deprecated) => Topic started by: danj on March 22, 2015, 08:01:17 PM

Title: Can I add an effect onto a model in a specific time slot?
Post by: danj on March 22, 2015, 08:01:17 PM
I have a time slot in which I am turning arches 1, 3, 5 "on" and arches 2, 4, 6 "off", but I can't figure out how to turn my arch #2 "on".   I have clicked on the timing slot at the top of the sequencer and tried to drag the "on" effect onto that timing area for arch #2.   I have clicked on the "arch #2" words to the left of the sequencer matrix area and tried to drop the "on" effect in that time slot, but I haven't been able to drop the effect there.  Any ideas?   I currently do NOT have a "time line" shown in that time slot for arch #2...

I attached a png of that area of the sequencer so maybe you can see what I am trying to describe.
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: mararunr on March 23, 2015, 06:45:25 AM
Create a custom timing mark layer and create a timing for that slot (doesn't have to be exact, just in the open space have some beginning and ending mark).  Drop the effect in.  Once the effect is there, you can drag the starting and/or ending point to any frame (doesn't have to match the original timing mark).
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: Gilrock on March 23, 2015, 07:14:43 AM
Yeah the way that effect grid was designed you can only drop effects between two timing marks and in your screen shot I see no vertical timing marks.  Just activate or create a new timing mark layer and click in the waveform and press 't' to create a mark.  You can also drag out a range in the waveform and hit 't'.  There are no "cells" like a typical grid sequencer so the timing marks are the only way to know where to set the bounds.  Once an effect is dropped you can drag the ends anywhere and not be bounded to timing marks.  Maybe new ways will be developed later but that's how it works for now.
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: danj on March 23, 2015, 10:35:26 AM
I will do that tonight.   Thanks for the responses!!!
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: danj on March 23, 2015, 07:45:25 PM
I did it.  It worked.  Thanks.   Now I need to tweak on some timings.   I changed the sample from 128 kbps to 192 kbps and I think I am now seeing some minor "off timing" lights....
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: Gilrock on March 23, 2015, 09:06:52 PM
It's a known issue that some mp3's will play properly when started from the beginning but if you click in the middle and play it may start the audio early because the seek is off.  It's not in our application code where the problem lies so the fix might be a bigger change.  The wxMediaCtrl uses Windows Media Player if you are on Windows and it probably only does a crude seek up to the beginning of the packet instead of decoding to the exact millisecond spot we are asking for.
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: danj on March 24, 2015, 10:53:43 AM
Thanks Gil.   I will play around with some of the individual parts that appear to be a bit out of synch...
Title: Re: Can I add an effect onto a model in a specific time slot?
Post by: Gilrock on March 24, 2015, 11:45:44 AM
By the way I found a problem last night where if you were hitting pause to stop and restart a sequence the rendering was restarting back to the original start point and became out of synch with the audio.  I fixed that yesterday so check this again next build that comes out.