| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Create DurationTier...</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 |
Create DurationTier... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A command in the <a href="New_menu.html">New menu</a> to create an empty <a href="DurationTier.html">DurationTier</a> object. The resulting object will have the specified name and time domain, but contain no duration points. To add some points to it, use <a href="DurationTier__Add_point___.html">DurationTier: Add point...</a>.</p> |
| 15 |
<h2>Example</h2> |
| 16 |
<p>To create a tier 0.9 seconds long, with an deceleration around 0.6 seconds, you do (either in a script or by choosing these 4 commands by hand):</p> |
| 17 |
<code> <b>Create DurationTier:</b> “dur”, 0, 0.9<br></code> |
| 18 |
<code> <a href="DurationTier__Add_point___.html">Add point:</a> 0.3, 1<br></code> |
| 19 |
<code> Add point: 0.6, 2.3<br></code> |
| 20 |
<code> Add point: 0.7, 1<br></code> |
| 21 |
<p>The result will look like</p> |
| 22 |
<p align=middle><img height=250 width=500 src=Create_DurationTier____1.png></p><p>The target duration will be the area under this curve, which is 0.9 + 1/2 · 1.3 · 0.4 = 1.16 seconds.</p> |
| 23 |
<h3>Links to this page</h3> |
| 24 |
<ul> |
| 25 |
<li><a href="Manipulation__Replace_duration_tier.html">Manipulation: Replace duration tier</a> |
| 26 |
</ul> |
| 27 |
<hr> |
| 28 |
<address> |
| 29 |
<p>© Paul Boersma 2014-04-21, 2023-04-30</p> |
| 30 |
</address> |
| 31 |
</body> |
| 32 |
</html> |