Author Topic: Wave revisited  (Read 47989 times)

0 Members and 1 Guest are viewing this topic.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Wave revisited
« on: October 03, 2009, 07:17:13 pm »
This version has a lot of little bug fixes and some serious code clean-up.

Added some more smarts about how LaserBoy opens unformatted wave files. It is now possible to pick a global polarity before opening and to look for Z information in an unformatted wave.

Any wave file opened in LaserBoy as unformatted works like this:

1 channel, mono is useless and fails to open.
2 channels, stereo opens as X and Y. All vertices are white and lit.
4 channels, opens as X, Y and i from channel 3, as a gray scale.
6 or 8 channels opens as X, Y, r, g, b and possibly Z

LaserBoy_wave.cpp is a lot easier to understand now too!

Now you can set LaserBoy to save waves with 8 channels (to include two empty tracks). So if you have an 8 channel sound card, you can set it and forget it. If all of your waves are 8 channel, whether they have audio or not, they will play correctly and you will never get color-mod signals going to your speakers!

Also changed all of the wave file IO objects from ifstream / ofstream to just fstream. So now it is possible to open a wave for binary read AND write access! This makes it way faster when the objective is to just write over some of the numbers in the header.

Also changed the name of the class and all associated files from LaserBoy_header to LaserBoy_ild_header for clarification.

http://akrobiz.com/laserboy/code/LaserBoy_2009_10_03.zip

As usual.... please test and report!  ;D

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

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Wave revisited
« Reply #1 on: October 04, 2009, 12:29:15 pm »
compile error
Fl_File_Chooser.H
i have fltk package installed
« Last Edit: October 04, 2009, 12:31:43 pm by BlinkenLights »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #2 on: October 04, 2009, 01:34:15 pm »
Please note that this issue has nothing to do with the current functionality of LaserBoy!

This is an issue of the source code and Makefiles only; to build a completely different executable of LaserBoy (that is nowhere near being usable), based on FLTK instead of SDL.

Go into the package manager and remove all versions of FLTK. Then go to the WebUpdate and get FLTK 1.1.9. When you try to compile it, you will get a conflict with the redefinition of dirent.

See this:
http://akrobiz.com/laserboy/forum/index.php/topic,248.0.html

James.  :)
« Last Edit: October 04, 2009, 01:57:53 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Wave revisited
« Reply #3 on: October 04, 2009, 03:50:05 pm »
ok well now
  [linker error] undefined reference to `Fl_Widget::redraw()'
  [linker error] undefined reference to `mcount'
« Last Edit: October 04, 2009, 03:52:37 pm by BlinkenLights »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #4 on: October 04, 2009, 04:39:49 pm »
OK. So Makefile.win is boned-up!  %)

I fixed it for the next release.

See attachment!  ;D

James.  :)
« Last Edit: October 04, 2009, 04:42:54 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #5 on: October 05, 2009, 01:41:50 am »
Guess what? !!!

I found some more bugs!  ;D

Will be releasing it again very soon......

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

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #6 on: October 06, 2009, 12:19:14 am »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Wave revisited
« Reply #7 on: October 06, 2009, 10:22:47 am »
damaged zip file

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #8 on: October 06, 2009, 01:10:47 pm »
Really?

OK. Whatever....

I just re-uploaded it!

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

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Wave revisited
« Reply #9 on: October 06, 2009, 01:34:08 pm »
still bad doosh.. i even tried direct from the laserboy site

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #10 on: October 06, 2009, 06:36:03 pm »
doosh... ? ???

This works for me!

http://akrobiz.com/laserboy/code/LaserBoy_2009_10_05.zip

James.  :)
« Last Edit: October 06, 2009, 06:38:08 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: Wave revisited
« Reply #11 on: October 07, 2009, 09:08:03 pm »
  That's douche! ;D
"Patience is for the dead."

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Wave revisited
« Reply #12 on: October 08, 2009, 12:35:50 am »
ugh.. old people...

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Wave revisited
« Reply #13 on: October 11, 2009, 11:52:52 pm »
Here is a new release in honor of National Coming Out Day!

http://akrobiz.com/laserboy/code/LaserBoy_2009_10_11.zip

This one fixes a whole bunch of nit-picky stuff about waves in and out, formatted and unformatted...

Oh yeah....... Just in case you didn't already know......

I'm gay!  ;D

http://en.wikipedia.org/wiki/National_Coming_Out_Day



Now it's back to work for me.

I already know there are other bugs to find and fix!  %)

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

Offline no-esc

  • Full Member
  • ***
  • Posts: 146
  • Milliwatts: 5
  • Gender: Male
    • View Profile
Re: Wave revisited
« Reply #14 on: October 12, 2009, 07:28:53 am »
I will download this new patch and give it a wirl on my pc atleast... today.. in honor of you coming out  O0
"Acid isnt making a comeback....its never left......." me
"this cutting edge DJ from The mother ship will get you telling other people about him with his thrilling style of deep Funky techno disco house on the acid tip!!" taken from the MOTHER SHIP Daily
-------------------------------------------

 

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