Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sound file playback (and record) - manipulating speed + pitch in realtime?
#2
the easiest and dirtiest way.  playback with _sndraw while making computations on sample playback.  load a wave file and play back each sample frame with that procedure.  normal playback is rate of 1.  a higher rate produces a higher pitch and faster playback.  a lower rate, with a better chance one frame is played twice or more.  has issues with sound quality but it's the only way to get a lower frequency than root.  interpolation for lower pitches would only increase cpu usage.

a really fast computer would be needed to do it in realtime and to keep up with gui controls and that sort of thing.
Reply


Messages In This Thread
RE: sound file playback (and record) - manipulating speed + pitch in realtime? - by hsiangch_ong - 02-04-2025, 05:28 PM



Users browsing this thread: 1 Guest(s)