| 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 (cc)...</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 (cc)... |
| 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_cross-correlation____.html">Sound: To Pitch (filtered cross-correlation)...</a> in 2023, this command was replaced with <a href="Sound__To_Pitch__raw_cross-correlation____.html">Sound: To Pitch (raw cross-correlation)...</a>.</p> |
| 29 | <h2>Transitioning</h2> |
| 30 | <p>While <b>Sound: To Pitch (cc)...</b> will still work in scripts, you may like to transition to <a href="Sound__To_Pitch__raw_cross-correlation____.html">Sound: To Pitch (raw cross-correlation)...</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 (cc):</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_cross-correlation____.html">To Pitch (raw cross-correlation):</a></b> 0.0, 75, 600, 15, “off”, 0.03, 0.45, 0.01, 0.35, 0.14<br></code> |
| 34 | <hr> |
| 35 | <address> |
| 36 | <p>© Paul Boersma 1996,2003,2023,2024</p> |
| 37 | </address> |
| 38 | </body> |
| 39 | </html> |