chris usey
unread,Dec 9, 2015, 11:12:09 AM12/9/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lightsh...@googlegroups.com
So I've had an idea for a new feature, and I'm looking for some input. This came about a few years ago when I created a custom truck and I wanted all of my lights to be off for about a minute and a half, I had to manually edit the file back then and I never search for an easier method. This would be targeted as 2.0. I know there are other issues that need addressing but this is a current issue of mine.
So I started to implement a timing mechanism. The timer starts when I song is playing and the seconds are calculated as it goes. I have not worked out the details but the idea is that a user can define a pin as well as a time and a method such as on off, etc. four example a user can say pin seven off at 0 seconds and on at 10 seconds when the song starts playing channel 7 will not come on until 10 seconds into the song. The user would be able to define multiple channels and multiple times per channel. This would not affect the cache song, as this would be executed during playback before the signal is send to the hardware controller. So there would be no need to re-cache if the settings are changed. I'm initially worried about the additional code affecting the playback and I'm looking for feedback for a couple of things:
1. Should this be done pre-cache so that the values are recorded and stored in the cache file. Or would it be better to leave it the way I have it in the outline above?
2. Should this all be done in the synchronized lights file and handled before the hardware controller is called to switch a light? Or might it be better to decide the state of a channel in synchronized lights and record that in the state.conf file and let hardware controller check that each time it goes to fire a pin? That would involve a lot of reads and writes into the file, but this could serve a greater purpose in the future for checking if a pin is active or inactive during playback at a certain point in the song. Or might there be a better way to store this info instead of in the conf file. Just thinking aloud here.
3. I imagine this could act as a global setting for all songs to create some effects, but I was thinking this would serve a much greater purpose as a per song config. What do you think?
4. I have a proof of concept in the works and initial testing makes me excited to have this sort of flexibility. Would this prove useful to others, and does it fit in with our goals?
I know there is a lot to be taken care of as far as issues etc, but this has been consuming me as of late and I can't help but get this working as I have an immediate use for it. This would provide a lot of flexibility to users who wish to get in and further customize their shows. Do you guys think this is the best method to achieve what I am describing. A lot of thinking out loud here, just wanted to get it out of my head before forgetting it. Sorry for any typos, using dictation as I drive !