Check this out!
http://laserboy.org/code/LaserBoy_2010_06_29.zip There is a totally new feature in this release.
I call it scan wagging.
Lets say you have a frame with a single line in it. In the past, if you wanted LB to scan that single frame many times over, then it would scan the line. Blank the laser. Return the scanners to the start of the line, turn on the laser and repeat. This means that half of the time the line is being scanned, the laser is blank!
Scan wagging says, let's not do it like that. Instead of blanking and finding the way back to the beginning of the scan, let's just scan this frame backwards!
There is now a new setting in the [Tab] system value settings called
9 max time in seconds for wagging
The default setting is 1/20th of a second. This is the longest a frame can be and still be wagged. If a frame's playing time is any longer than this, it would flicker too much if it was wagged back and forth, so it would just scan those frames from start to end in the forward motion only.
Wow. I think this concept is way more difficult to explain that it was to implement in code!
If you don't want any of this nonsense, you should be able to defeat it by setting the value of (9 max time in seconds for wagging) to 0.00.
This release also fixes an issue that goes all the way back to the very beginning. The information that gets added to the header of a wave file used to be stuck at the end of the "fmt " chunk. The size of the chunk was then adjusted to accommodate for the additional data. Since I added another parameter to the optimization stuff and since that needed to be included in the wave header information, I figured now would be a good time to finally separate the LaserBoy wave header information into its own legitimate subchunk. So now LaserBoy waves have a perfectly normal "fmt " chunk and a whole new chunk called "LBoy", followed by a 32-bit integer indicating the size in bytes of the rest of the LaserBoy chunk that follows. This is then followed by the ASCII tag "LaserBoy06282010" and everything that follows that is the same as it was before.
James.