Author Topic: Believe It Or Not !!!  (Read 127696 times)

0 Members and 1 Guest are viewing this topic.

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Believe It Or Not !!!
« Reply #15 on: August 26, 2009, 09:08:39 pm »
For the most part, my requirements are simple.  But, from time to time I would like to do some advanced stuff.  But, one of the main things I would like to do is to create a large library of frames that I could give away with Spaghetti so that people have something to use without having to go steal them.  I'd be happy with just some different colored shapes, like circles, lines, stars, squares, etc.  You can go a long way with those when creating beam shows.  Once I have those, I can use Spaghetti to create more complex animations by using the layers and exporting the snippets.

But, I don't want to spend more than 30 seconds or so per frame.  It takes me about that long to open up Microsoft Paint, draw a few circles, and then save them to a file.  I expect the same level of usability and speediness from a laser drawing program.   And I want to be able to do it with one hand while I drink coffee with the other.

All of the windows api documentation has a section at the very bottom that tells what header files need to be included.  For example, the WAVEOUTCAPS structure is documented on this page:
http://msdn.microsoft.com/en-us/library/ms713743(VS.85).aspx
At the bottom it tells which version of Windows supports it(basicall all of them) and that you need to include Windows.h.

You will need the Windows SDK if you don't have Visual C++ I guess.  It is a free download and has plenty of examples.  Here is a wiki link that describes it.
http://en.wikipedia.org/wiki/Microsoft_Windows_SDK

I am rusty with all of this stuff so calling me would not be much help.  I'd have to do some googling myself to get back into it.  But, just do a search for "windows streaming audio sample" and see what you find.  I found this pretty quickly:
http://docs.rinet.ru/Plugi/ch17.htm
Not examply what you need but will get you thinking.  But, I don't know how all of the Windows specific stuff will work in your development environment or if it will even work.

If you have questions email me and that will give me time to think about it and respond.  I'll be happy to do that.

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Believe It Or Not !!!
« Reply #16 on: August 26, 2009, 09:12:13 pm »
PS If you just want to experiment around with the Win32 stuff, the easiest way is to just download and install Visual C++ Express.  It is free and will probably be easier to start.  Once you get a piece of code put together that can load a WAV file and send it to a soundcard you can then worry about making in other development environments.  You might even find that it is fun.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Believe It Or Not !!!
« Reply #17 on: August 26, 2009, 09:25:33 pm »
Microsoft.... Fun ?  ??? :P %)

Hah!

I have looked at some examples. The problem is that they are all gooped up with that "visual" garbage! I just want to do it from what you might call a console application!

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

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Believe It Or Not !!!
« Reply #18 on: August 26, 2009, 09:45:26 pm »
Hmmm.  Not sure what to tell you.  Just ignore the visual stuff. 

Just focus on the stuff centered around WaveOut... functions in the samples. 
« Last Edit: August 26, 2009, 09:49:37 pm by Hyena »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Believe It Or Not !!!
« Reply #19 on: August 27, 2009, 01:49:00 am »
I think I am going to take another serious look at PortAudio.

http://www.portaudio.com

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

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Believe It Or Not !!!
« Reply #20 on: August 27, 2009, 06:30:37 am »
Nice find.

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: Believe It Or Not !!!
« Reply #21 on: August 27, 2009, 03:44:53 pm »
i, like gary, would love to be able to snap out some simple shapes and animate them in LB, my issue has ALWAYS been mouse support..
i do not mind using the keys for some specific manipulation, but using the keys to select a menu item is barbaric...

Laserboy has everything it needs to move forward into a the world of modern interfaces, but it kills me that every time everyone gets excited because james is gonna start the GUI stuff, James STOPS doing the GUI stuff..

I feel like i have wasted my breath for the past year. i have spent so much effort on learning and testing laserboy so i could understand it and be able to help with the  conversion, and more than once along that path the decision was made to start making laserBoy more mouse friendly. Hell james even did a complete restructure of laserboy so that it would work better and make more sense. During that phase james made a specific effort to make some needed changes that would allow laserboy to move forward into the mouse world. But again everyone got excited and again . . . .

James PLEASE understand that most of the time when people get EXCITED about laserboy, its because they hear something about MOUSE SUPPORT. Very few people have had the opportunity to really learn laserbot, not because its not free and available, but because the were put off by the interface.. and you may say that that is their problem, but that goes against your philosophy of bringing a new understanding of laser art to the masses.

Pick a side..


 

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Believe It Or Not !!!
« Reply #22 on: August 27, 2009, 04:21:04 pm »
I, like pickles and olives.  ;D

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

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Believe It Or Not !!!
« Reply #23 on: August 27, 2009, 06:08:06 pm »
I don't use LaserBoy because of the lack of mouse and moderness but since it is open source I really don't complain that James isn't doing it (too much).  Nothing is preventing someone else from picking it up and doing it.

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: Believe It Or Not !!!
« Reply #24 on: August 28, 2009, 02:04:03 am »
i complain because james is a very close friend and he knows that i love him and laserboy..

that being said, he is dangling the carrot again and i hope he follows thru this time...

Offline drlava

  • Sr. Member
  • ****
  • Posts: 314
  • Milliwatts: 18
    • View Profile
Re: Believe It Or Not !!!
« Reply #25 on: August 28, 2009, 10:46:35 am »
Laserboy is a good tool just as it is.. modern-ness?!  What exactly is that?
Sure it could be a little better with a mouse but you can already do tons!  When was the last show you made?

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Believe It Or Not !!!
« Reply #26 on: August 28, 2009, 03:02:26 pm »
Gosh Andrew, I'd give you a milliwatt for that, but you already have 19!  ;D

Hey! You're an FLTK programmer!

I want to be able to put a bitmap image into the whole background of a window and then have the other widgets float over the top of it.

I'm starting to get familiar with how this stuff works. I've worked with quite a few dev environments and this one seems to be very well designed and organized.

As you probably know, I already have a bitmap memory object that I manage in my own code. All I need to know is where to put it!

I honestly think the biggest problem with LaserBoy is the fact that you can not browse the file system. Other than that, it is difficult to get to the 10000th frame in a set of 20000 or the 3000th vertex in a frame of 6000.

UPDATE: I think I'm starting to get it now....  %)

Gawd! I must be seriously addicted to programming!  :o

James.  :)
« Last Edit: August 28, 2009, 04:49:06 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline drlava

  • Sr. Member
  • ****
  • Posts: 314
  • Milliwatts: 18
    • View Profile
Re: Believe It Or Not !!!
« Reply #27 on: August 28, 2009, 07:42:35 pm »
There is an example of a bitmap in the example code set, but what they call a bitmap is black and white.  There is an example of a colored image (a png I think) of a ferrari symbol or something that should get you going in the right direction.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Believe It Or Not !!!
« Reply #28 on: August 29, 2009, 02:22:11 am »
This should give Alec a boner!  ;D

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: Believe It Or Not !!!
« Reply #29 on: August 29, 2009, 04:03:35 am »
boing oing oing

 

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