It is definitely getting incorrect values when it renders in the scheduler, but I am not sure why yet. What he wants to do should work, but something is getting stepped on.
It has become a mission, I will figure it out. 🙂
Thanks Jeff. And Jon, I hear you. I know I'm not in the norm. It does seem like what I'm doing should work fine though, and it generally does. Works great actually.
I'm very impressed with Vixen.
Ok, lets try swapping out a few more dll's
These two go in Modules - > App
Dropbox File (Private or Invalid)
Dropbox File (Private or Invalid)
I made a few changes here, so copy this one again.
Dropbox File (Private or Invalid)
Clear out the info log and see if you can recreate it. Each time you start again clear the info log. If you get it to break, send me the log back.
Jeff
OK. Here's a new log. Issues at the beginning of the song but seemed to get on track faster. This is from the Windows 8 machine.
https://drive.google.com/file/d/0B753CuHHaj8RSUZPVDA0UVZTSG8/view?usp=sharing
Erik
Can you go get the latest release. 3.1u2 that just hit this morning and swap those dll's and try again?
http://www.vixenlights.com/downloads/vixen-3-downloads/
Here are the latest logs with 3.1u2. Minor issues at the beginning. I didn't let it run too long. If you'd like longer logs, let me know.
First attempt: https://drive.google.com/file/d/0B753CuHHaj8RWWk5Uk1nOHFQX3M/view?usp=sharing
Second attempt: https://drive.google.com/file/d/0B753CuHHaj8RSUU2akg4MVc3dTQ/view?usp=sharing
And then I ran one at 25ms updates since it seemed like it was missing the initial "1" that is only a 50ms long effect:
https://drive.google.com/file/d/0B753CuHHaj8RZ2pneTYxN09FZXM/view?usp=sharing
Erik
Ok, looks like the first part is good now. Seeing the consistent right values at the start in the data preprocessing. I made a change here that looks to fix the preprocessing issue.
The output part looks sensible past the first update. Looks like it was a little late getting started on that test. But a quick look I did not see any unexpected values. There could be a little fluctuation when it gets started based on the machine. I see the 1,6,6,6 on my machine but it looks like yours is a little late and misses the 1 command. So explaining a little about how Vixen gets the effect, it does this by sampling. It does not just stream the command values like the other sequencers may do. The audio is the timing and when the audio gets going it opens that datasource created in preprocessing. The controller wakes up on its interval and then polls the engine to do an update. The engine looks at the sequence context and gets it's timing source. In this case it is the audio. It asks the sound player where it is time wise in the audio track. Then it takes that time and goes to the effect data source and says give me the effects that are active at this time. So in this case the first sample probably just missed the first 50ms effect. There also looks to be a little instability right at the beginning as it all gets started. Once past that the timing levels out and things look good. At least the first several values. I did not look very far past that. The second run is similar in the first samples are a bit erratic and then it stabilizes as well.
Have you analyzed the rest of the output, are you seeing completely different values like you saw before? Have you tried switching back to the serial controller now and using the new dlls I gave you and running it at 25ms and seeing how it plays? You may need to account for a little instability at the beginning if the rest pans out. I
We have plans next year to reengineer some of how this works to make it more efficient.
Thanks for the explanation. Perhaps I can pad the beginning of songs just a bit to overcome the first couple jitters. I'll do some longer runs and try the generic serial controller as soon as I get back inside. Currently fighting with my somewhat mega tree. 🙂
Early returns are good, Jeff. Fingers and toes crossed. My display is in pieces right now so I can't verify by watching the whole show - so I'm reduced to looking at logs. But... I'm seeing good data as far as I can tell. Definitely better than before.
That "1" byte is my sync byte so I make sure I stay sync'd with Vixen - just in case. I could eliminate it altogether or do it at the end of sequences and hope the first song goes well. The first music in "All I Want For Christmas" starts right at 50ms so I have very little time to get anything done before I need to send the first byte out to my elements. I'm going to play further with faster updates as well.
Thanks for the the efforts so far - a lot of thanks actually. Hoping I'm stable enough now to get my show up and running tomorrow.
We have a winner! 🙂
Jeff - I ran through my show twice tonight, both times from a fresh launch of Vixen with the show enabled. Worked perfectly both times. I can't thank you enough for all the back and forth and debugging work during the busiest time of year. You saved my show. First year with music! Woo!
Erik
