If your only problem is how to pack a 16-bit unsigned value in le order?, then (from the pack entry in perlfunc):
v An unsigned short in "VAX" (little-endian) order.
In reply to Re: Win32::Sound 16 bit example
by BrowserUk
in thread Win32::Sound 16 bit example
by true
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |