Advertisement
ASP_Volume3 Sound/MP3 #45801

Audio LED

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.

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
Upload
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine