|
-
Apr 30th, 2000, 06:58 PM
#1
Thread Starter
Fanatic Member
I made a Winamp like spectrum analyzer for my MP3 player but it's animation is not very smooth. The LED abr gets a new value every time the timer updates(10mS). But when the counter counts the next count the bar level drops or rises very rapidly and not linearly LED by LED.
I have used 15 Image Boxes for the spectrum.
Does anyone know any technique to make the bar level increase or decrease smoothly like WINAMP?
I tried setting the timer interval but it did'nt help in smoothning.
Kinjal
-
Apr 30th, 2000, 07:16 PM
#2
transcendental analytic
I don't think it's a good idea using imagelistboxes, draw directly on the form. For the smooth thing just make a rapid loop with doevents that drops the lines, u need to introduce secondary values for this. Let me have a look at your code
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|