★ SGL User's Manual ★ Data transfer









Figure 2-11 PCM data file example
| file name | sound | stereo | bit | pitch | comment |
|---|---|---|---|---|---|
| stereo.8 | "It's 10 years early" | stereo | 8 | 7800 | Left and right are offset |
| mono.16 | "Yes" | monaural | 16 | 7180 | |
| stereo.16 | "Au" | stereo | 16 | 7F00 | Voice flows from right to left |
Script file name [Binary file name] [Array name]> [Output file name]
#! / bin / csh -f echo "char $ 2 [] = {" od -hv $ 1 | cut -s -d "" -f2- | gsed's / \ (.. \) \ (.. \) * / 0x \ 1,0x \ 2, / g' echo "};"
★ SGL User's Manual ★ Data transfer