ピッチシフトを適用する
音声オブジェクトの継続時間を変更しないでピッチを変更する.
In[1]:=
![Click for copyable input](assets.ja/apply-pitch-shifting/In_17.png)
a = ExampleData[{"Audio", "MaleVoice"}, "Audio"]
音声オブジェクトのピッチを高くする.
In[2]:=
![Click for copyable input](assets.ja/apply-pitch-shifting/In_18.png)
AudioPitchShift[a, Quantity[2, IndependentUnit["semitones"]]]
音声オブジェクトのピッチを低くする.
In[3]:=
![Click for copyable input](assets.ja/apply-pitch-shifting/In_19.png)
AudioPitchShift[a, Quantity[-2, IndependentUnit["semitones"]]]