Programmatically increase the pitch of an array of audio samples

后端 未结 6 1954
心在旅途
心在旅途 2020-12-08 03:39

Hello kind people of the audio computing world,

I have an array of samples that respresent a recording. Let us say that it is 5 seconds at 44100Hz. How would I play

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-08 04:13

    To decrease and increase the pitch is as simple as playing the sample back at a lower or higher rate than 44.1kHz. This will produce the slower/faster record sound but you'll need to add the 'scratchiness' of real records.

提交回复
热议问题