Return to Video

How can we use AVAudioUnitTimePitch - Intro to iOS App Development with Swift

  • 0:00 - 0:04
    So I look to through documentation for AV Foundation framework.
  • 0:04 - 0:07
    By the way, a link to this website is also available in the instructor notes.
  • 0:07 - 0:09
    And in here when I scroll down,
  • 0:09 - 0:13
    I came across this class called AVAudioUnitTimePitch.
  • 0:13 - 0:16
    Now this seems like a very verbose name.
  • 0:16 - 0:17
    But when I clicked on it,
  • 0:17 - 0:21
    I found out that this class does exactly what we want to do.
  • 0:21 - 0:25
    It says that AVAudioUnitTimePitch, provides good quality playback rate and
  • 0:25 - 0:26
    pitch shifting.
  • 0:26 - 0:28
    Now, if I read through this class,
  • 0:28 - 0:31
    I find that it has a variable called pitch that I could change.
  • 0:31 - 0:35
    The documentation says that the default value of this variable, Is 1.0 and
  • 0:35 - 0:37
    the range of values for
  • 0:37 - 0:41
    this variable can be anywhere from negative 2400 to positive 2400.
  • 0:41 - 0:44
    All of this seems really promising.
  • 0:44 - 0:49
    All I need to do now, is to figure out how to use AVAudioUnitTimePitch.
  • 0:49 - 0:50
    And that's where you can help.
  • 0:50 - 0:56
    Your challenge is to find an example, Of how to use AVAudioUnitTimePitch.
  • 0:56 - 0:58
    And it's okay if you find an example on the internet that you don't
  • 0:58 - 1:00
    fully understand yet.
  • 1:00 - 1:04
    Specifically, I would love for you to identify any new websites that you thought
  • 1:04 - 1:08
    were promising, and then to try out any new code ideas that you discovered.
  • 1:08 - 1:09
    Check this box to continue.
Title:
How can we use AVAudioUnitTimePitch - Intro to iOS App Development with Swift
Description:

06-03 How can we use AVAudioUnitTimePitch

more » « less
Video Language:
English
Team:
Udacity
Project:
UD585 - Intro to iOS App Development with Swift
Duration:
01:10

English subtitles

Revisions Compare revisions