| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Sound: To Pitch (ac)...</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
Sound: To Pitch (ac)... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A <a href="hidden_commands.html">hidden command</a> that creates a <a href="Pitch.html">Pitch</a> object from every selected <a href="Sound.html">Sound</a> object.</p> |
| 15 |
<p>The parameters are in the following order:</p> |
| 16 |
<dl> |
| 17 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Time step (s)</b> (standard value: 0.0)</dd> |
| 18 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Pitch floor (Hz)</b> (standard value: 75 Hz)</dd> |
| 19 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Max. number of candidates</b> (standard value: 15)</dd> |
| 20 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Very accurate</b> (standard value: <i>off</i>)</dd> |
| 21 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Silence threshold</b> (standard value: 0.03)</dd> |
| 22 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Voicing threshold</b> (standard value: 0.45)</dd> |
| 23 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Octave cost</b> (standard value: 0.01 per octave)</dd> |
| 24 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Octave-jump cost</b> (standard value: 0.35)</dd> |
| 25 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Voiced / unvoiced cost</b> (standard value: 0.14)</dd> |
| 26 |
<dd style="position:relative;padding-left:1em;text-indent:-2em">• <b>Pitch ceiling (Hz)</b> (standard value: 600 Hz)</dd> |
| 27 |
</dl> |
| 28 |
<p>With the advent of <a href="Sound__To_Pitch__filtered_autocorrelation____.html">Sound: To Pitch (filtered autocorrelation)...</a> in 2023, this command was replaced with <a href="Sound__To_Pitch__raw_autocorrelation____.html">Sound: To Pitch (raw autocorrelation)...</a>.</p> |
| 29 |
<h2>Transitioning</h2> |
| 30 |
<p>While <b>Sound: To Pitch (ac)...</b> will still work in scripts, you make like to transition to <a href="Sound__To_Pitch__raw_autocorrelation____.html">Sound: To Pitch (raw autocorrelation)...</a>. Please note that the <i>Pitch ceiling</i> parameter was moved immediately after <i>Pitch floor</i>, where it fits more logically. For example, you can replace the line</p> |
| 31 |
<code> <b>To Pitch (ac):</b> 0.0, 75, 15, “off”, 0.03, 0.45, 0.01, 0.35, 0.14, 600<br></code> |
| 32 |
<p>with the entirely equivalent line</p> |
| 33 |
<code> <b><a href="Sound__To_Pitch__raw_autocorrelation____.html">To Pitch (raw autocorrelation):</a></b> 0.0, 75, 600, 15, “off”, 0.03, 0.45, 0.01, 0.35, 0.14<br></code> |
| 34 |
<h3>Links to this page</h3> |
| 35 |
<ul> |
| 36 |
<li><a href="FAQ__Pitch_analysis.html">FAQ: Pitch analysis</a> |
| 37 |
<li><a href="Sound__Extract_part___.html">Sound: Extract part...</a> |
| 38 |
<li><a href="What_was_new_in_3_5_.html">What was new in 3.5?</a> |
| 39 |
<li><a href="What_was_new_in_4_0_.html">What was new in 4.0?</a> |
| 40 |
</ul> |
| 41 |
<hr> |
| 42 |
<address> |
| 43 |
<p>© Paul Boersma 1996,2001–2003,2022–2024</p> |
| 44 |
</address> |
| 45 |
</body> |
| 46 |
</html> |