Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Scope thingy

Author
Message
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 7th Mar 2005 02:13
How would you go about doing the scope thing in windows media player?

Here is a pic of it.

Attachments

Login to view attachments
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 9th Mar 2005 11:05
How about, can you do this...

BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 9th Mar 2005 13:19 Edited at: 9th Mar 2005 13:19
You'd have to take a look at individual frequencies and decibels in a sound file, if you could read sections of .wavs into bytes you could probably do it, but I have no clue how.


If you don't care about moving it to sound, just the graphical effect, then you just need to write a function to write it that contains a for loop (so that it runs a set number of time), and has a random number generator that will give you a deviation from a zero value either negative or positive(you'll have to write your own random number function to get ranges). Use these new points to plot where to draw using the LINE command. X will be constant, and Y will be determined by the RAND (I think that was it) function.

You could also set up a deviation factor so that as it draws closer to the center the ranges are more extreme and as you start or move toward the end the deviation is less.

Crazy Donut Productions
Current Project: A Redneck game
Mobiius
Valued Member
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Mar 2005 15:37
theres a .Dll file in the download programs plae which creates a VU effect to music. Do a search.
Or try Here http://darkbasic.thegamecreators.com/?m=download&fi=3f38f53ec86f76.01617168

1800+ XP - GeforceFX 5600 - 256MbDDR - 60Gb Hdd - XP Pro (SP2)

Login to post a reply

Server time is: 2025-05-23 21:10:12
Your offset time is: 2025-05-23 21:10:12