WAV Pitch

Posted On 2017-09-10 by BlackBeltVB
Keywords:
Tags: VB6 Windows API VB6 Sound 
Views: 82

Title Uploaded Size
WAVPITCH.ZIP 9/4/2017 5:29:52 AM 4,696


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. 

WAV Pitch Modifier

Special Instructions

Uses the following API functions:

  • CopyMemory (RtlMoveMemory)
  • GlobalAlloc
  • GlobalFree
  • mmioAscend
  • mmioClose
  • mmioDescend
  • mmioOpen
  • mmioRead
  • mmioStringToFOURCC
  • waveOutClose
  • waveOutGetDevCaps
  • waveOutOpen
  • waveOutPrepareHeader
  • waveOutReset
  • waveOutSetPitch
  • waveOutSetPlaybackRate
  • waveOutSetVolume
  • waveOutWrite

Requirements

This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.


About the Author

BlackBeltVB has posted a total of 89 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.163.53.153

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links