VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Audio LED

by Dave Katrowski (16 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Led follows wav file. See how to Load a wav file into a byte array using DirectSounds ReadBuffer method, then read that info into an led at run-time. Simply check for playing wavs position, then use that position as a lookup point in the byte array. Then some simple math turns 0-127 into 0-10. This is not completly accurate because some wavs are mono and some are stereo.

Rate Audio LED

Download Audio LED

Download Audio LED (5 KB)

Audio LED Comments

No comments have been posted about Audio LED. Why not be the first to post a comment about Audio LED.

Post your comment

Subject:
Message:
0/1000 characters