Search Tools Links Login

Audio LED


Visual Basic 6, or VB Classic

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.

Original Author: Dave Katrowski

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 137 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD7509772000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 5,640 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.