• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Pitch shifting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pitch shifting


  • Subject: Pitch shifting
  • From: Martin Hairer via Coreaudio-api <email@hidden>
  • Date: Thu, 19 Mar 2020 12:17:28 +0000

Dear all,

When trying to apply a pitch shifting effect on a pure sine wave using
kAudioUnitSubType_NewTimePitch I always end up with a discontinuity at around
15870 samples (360ms @ 44.1kHz). This appears independent of the amount of
pitch shifting and of the sampling frequency. It even happens if I start off
with 100ms of silence and then 30ms of ramping up the sine wave from 0 to 50%.

When using kAudioUnitSubType_TimePitch instead the situation is worse: I get a
whole bunch of localised artefacts at various (not periodic) locations up until
about 2-3 seconds in.

Does anyone have an idea of what might be going wrong? Note that if I keep the
exact same code and just replace kAudioUnitSubType_NewTimePitch by
kAudioUnitSubType_Varispeed then I don't get any artefacts which seems to rule
out a problem with any buffering on my end. Also, the discontinuity is quite
sharp, but goes over more than one single sample as would be the case if it's a
buffering problem. The artefacts created by kAudioUnitSubType_TimePitch are a
mixture of sharp (10-15 samples) discontinuities and amplitude fluctuations.
Thanks a lot in advance!

Martin



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: AUv3 Question
  • Next by thread: AUv3 Question
  • Index(es):
    • Date
    • Thread