Main > Software Forum

Sound and Programming in VB6

<< < (4/8) > >>

digitaldj:
I guess i should have explained better,. What i have written is some code for l.e.d. lighting. I want to be be able to control the lights using sound. Each grid that will go in each side of my juke will have 64 squares in it which will produce 16 steps on each color for a possible 4096 colors each square. I can even run text except the grids are 4 wide instead of 5 which is better but you can still do it. I want to be able to control the blue for base all squares, green for mids allsquares and red for highs all squares for the first function then later i can control patterns from sound etc. I have posted a link so you can see the software and the prototype grid but this grid is only 8 squares as the completed grid will be 64 so it makes it 24" tall. I am also going to investigate using the visualisations from SKJukebox possibly since it's all pretty much there just need to tap into it.

Link to Yahoo photos shortened by saint

Thanks,
Kevin

headkaze:
The question is though are you the one programming the application playing the sound? If not the VUMeter example is exactly what your after because it can record the audio output of another application.

You are going to have research the maths involved in splitting up the raw data into lows, mids and highs. The buffering code is all there in the VUMeter example. Ironically controlling LED's is the latest topic of conversation in the Software Forum at the moment relating to the LEDWiz product that is a controller card for lighting up CP's. So in fact it's good timing. I have done some experiments with displaying the left and right audio levels but that's about it. Attached is the VB6 example I used as a reference to write a C++ dll. The thing is two levels is hardly enough for a whole bunch of LED's to display the sound. So I too am interested in being able to split the sound up into, say 16 to 64 bands of audio. How you do that exactly is a mystery to me.

headkaze:
I didn't realise that I already had some basic code to display EQ. Check out the attached exe and let me know if that is sufficient to do what you want.

When I get some time I might see if I can integrate this into my DLL. Then we might have something. Check out the "EQ Mode", I think that is perfect for lighting LED's using a whole range of values. Make sure your record is set to Stereo Mix and the volume is set to zero.

digitaldj:
Do you have this file MFC71D.DLL?

So what do you think of the idead on the lighting and software?

I here alot about FFT can you expalin it?

Thanks,
Jukeman

headkaze:
Errr sorry I can't attach the dll, it's too large, do a search on Google for it.

FFT stands for Fast Fourier Transform.. it's just the maths behind doing fast algs on audio to filter it.

I like the idea, and I might just look at working on writing a DLL that you can use in your own software to do it. But right now I don't own a LEDWiz so there is no big motivation for me to write it. loadman has offered to sell one of his LEDWiz units to me after XMas, so I may do some audio tests then. Right now though I don't know, I may or may not find the time to do it. I'll let you know if things change.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version