How to change the pitch and playback rate of a WAV file
Demonstrates low level wave audio functions. The hardware must support the pitch change, but there
is a "manual" method included for changing the playback rate.
Uses the following API functions:
- CopyMemory (RtlMoveMemory)
- GlobalAlloc
- GlobalFree
- mmioAscend
- mmioClose
- mmioDescend
- mmioOpen
- mmioRead
- mmioStringToFOURCC
- waveOutClose
- waveOutGetDevCaps
- waveOutOpen
- waveOutPrepareHeader
- waveOutReset
- waveOutSetPitch
- waveOutSetPlaybackRate
- waveOutSetVolume
- waveOutWrite
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.