Author Topic: Uh... new topic...  (Read 22714 times)

0 Members and 1 Guest are viewing this topic.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Uh... new topic...
« on: February 26, 2009, 01:55:33 am »
I guess at some point I should start a new train of thought...

http://www.akrobiz.com/laserboy/code/LaserBoy_02_25_2009.zip

OK.

This version of LaserBoy.... did you get that?

We're talking about LaserBoy here! ...

Ya' know!

Oh have you never heard of it?

.

.

.

.

.

.

Well let me tell you about it...

.
.
.
.
.
.
.
.
This version has a per channel (signal) polarity matrix switch!!!
.

.

.

.

.

My next big adventure is reading "Ambiguous Waves" of "Unknown Origin" !!!

James.  :)
« Last Edit: February 26, 2009, 02:00:12 am by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline meandean

  • Sr. Member
  • ****
  • Posts: 466
  • Milliwatts: 13
  • It's about sight AND sound.
    • View Profile
Re: Uh... new topic...
« Reply #1 on: February 26, 2009, 01:46:19 pm »
 It looks like your global polarity works as before- are these new discrete polarity bits in the same 32bit word after the date stamp??
"Patience is for the dead."

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Uh... new topic...
« Reply #2 on: February 26, 2009, 03:01:16 pm »
No. That 32-bit word is nothing but 32 Boolean flags that indicate the presence (or absence) of chunks of LaserBoy information in the header.

So far, it looks like this:
Code: [Select]
#define    EZ_WAVE_NO_MODE                0
#define    EZ_WAVE_POSITIVE               1
#define    EZ_WAVE_END_OF_FRAME           2
#define    EZ_WAVE_UNIQUE_FRAME           4
#define    EZ_WAVE_UNIQUE_POINT           8
#define    EZ_WAVE_OFFSETS                16
#define    EZ_WAVE_OPTIMIZED              32
#define    EZ_WAVE_SIGNAL_MATRIX          64
#define    EZ_SIGNAL_BIT_RESOLUTION       128

If the bit for EZ_WAVE_SIGNAL_MATRIX is set, then there will be a chunk of shorts (one for each channel) that will have some of the following signal ID tags in it. If the tag is positive, the signal is positive, if the tag is negative the signal is inverted!

Code: [Select]
//----------------------------------------------------------------------------
#define    EZ_SIGNAL_NO_SIGNAL            0x00 // zero
#define    EZ_SIGNAL_UNDEFINED            0x01 // not zero
//----------------------------------------------------------------------------
#define    EZ_SIGNAL_X_POSITION           0x10
#define    EZ_SIGNAL_Y_POSITION           0x11
#define    EZ_SIGNAL_Z_POSITION           0x12
#define    EZ_SIGNAL_DX_POSITION          0x13
#define    EZ_SIGNAL_DY_POSITION          0x14
#define    EZ_SIGNAL_X2_POSITION          0x15
#define    EZ_SIGNAL_Y2_POSITION          0x16
//----------------------------------------------------------------------------
#define    EZ_SIGNAL_BEAM_WIDTH           0x20
//----------------------------------------------------------------------------
#define    EZ_SIGNAL_RED_TTL              0x30
#define    EZ_SIGNAL_RED_ANALOG           0x31
#define    EZ_SIGNAL_YELLOW_TTL           0x32
#define    EZ_SIGNAL_YELLOW_ANALOG        0x33
#define    EZ_SIGNAL_GREEN_TTL            0x34
#define    EZ_SIGNAL_GREEN_ANALOG         0x35
#define    EZ_SIGNAL_BLUE_TTL             0x36
#define    EZ_SIGNAL_BLUE_ANALOG          0x37
#define    EZ_SIGNAL_VIOLET_TTL           0x38
#define    EZ_SIGNAL_VIOLET_ANALOG        0x39
#define    EZ_SIGNAL_MONO_TTL             0x3a
#define    EZ_SIGNAL_MONO_OR_ANALOG       0x3b
#define    EZ_SIGNAL_MONO_AVG_ANALOG      0x3c
//----------------------------------------------------------------------------
#define    EZ_SIGNAL_AUDIO_SMTPE          0x40
#define    EZ_SIGNAL_AUDIO_MONO           0x41
#define    EZ_SIGNAL_AUDIO_LEFT           0x42
#define    EZ_SIGNAL_AUDIO_RIGHT          0x43
#define    EZ_SIGNAL_AUDIO_CENTER         0x44
#define    EZ_SIGNAL_AUDIO_SUB            0x45
#define    EZ_SIGNAL_AUDIO_S_LEFT         0x46
#define    EZ_SIGNAL_AUDIO_S_RIGHT        0x47
#define    EZ_SIGNAL_AUDIO_R_LEFT         0x48
#define    EZ_SIGNAL_AUDIO_R_RIGHT        0x49
//----------------------------------------------------------------------------


James.  :)
« Last Edit: February 26, 2009, 03:10:13 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline meandean

  • Sr. Member
  • ****
  • Posts: 466
  • Milliwatts: 13
  • It's about sight AND sound.
    • View Profile
Re: Uh... new topic...
« Reply #3 on: February 27, 2009, 12:52:49 am »
  This opens up a can of worms... You aready have a master invert polarity toggle, together with discete polarity settings...
For example, say I render IN.ild, then I do a global inversion, next I do an individual polarity invert on X & Y. When I go back to see the data in LB or LW, the X-Y data should be absolute polarity due to double inversion (and the raw data is in fact correct), but that is not the case, because we both use the global invert toggle to view the data (without considering the individual channel may have already be inverted in the first place). In LW, the global polarity flip is applied only when Use Default Settings is enabled, which allows me to see what is really there when it's disabled. Gotta love that one!!!
"Patience is for the dead."

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Uh... new topic...
« Reply #4 on: February 27, 2009, 01:00:49 am »
Well... I knew I wouldn't do it right to suit YOU!  ::)

I think it makes some sense. It's one of those things. We'll have to actually work with it to see if it hold up to reason.

That's why the LaserBoy wave header additions has a version string!  ;D

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal