<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Kyle,<o:p></o:p></p>
<p class="MsoNormal">You can also define windows with beginning and ending stamps on the time spell. I’ve typically used the activate.vertex.attribute(onset=, terminus=) options (there are corresponding ones for edges) to accomplish this. There are other ways
 as well, but this is the one that made the most intuitive sense to me.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hope that helps!<o:p></o:p></p>
<p class="MsoNormal">jimi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA">jimi adams<br>
Professor & Director of Graduate Studies<br>
Health & Behavioral Sciences<br>
University of Colorado Denver<br>
<br>
o. <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fucdenver.zoom.us%2Fmy%2Fjimiadams&data=05%7C01%7CJIMI.ADAMS%40ucdenver.edu%7Cfa020a37745047d73b7c08da91cfbd95%7C563337caa517421aaae01aa5b414fd7f%7C0%7C0%7C637982618703311968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YYldEdB4tq3Kg2rYopqJsRwEIgTnmTbuf6LBjQavivM%3D&reserved=0">
https://ucdenver.zoom.us/my/jimiadams</a><br>
e. <a href="mailto:jimi.adams@ucdenver.edu">jimi.adams@ucdenver.edu</a><br>
w. jimiadams.com</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Kyle Quarles <kylequarles@gmail.com> <br>
<b>Sent:</b> Wednesday, November 30, 2022 6:47 AM<br>
<b>To:</b> statnet_help@uw.edu; skyebend@skyeome.net<br>
<b>Subject:</b> [statnet_help] question about custom frame slicing for ndtv<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hello list,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I'm a composer with an interest in using dynamic networks to understand and model musical syntax. I have a little tool I'm building for this purpose here:
<a href="https://github.com/KyleQuarles/MIDI_Dynamic_Network" target="_blank">https://github.com/KyleQuarles/MIDI_Dynamic_Network</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This question concerns the ndtv package, specifically frame slicing. In the documentation, slice.par is always an attribute list, with a consistent interval and aggregate.dur for every slice; in other words, it appears the slice.par list
 can only generate slices of a single size for each animation. However, I'm interested in slicing at musical phrase boundaries, which are not very consistent or regular. So my wish is for the ability to send just an arbitrary list of frames to the compute.animation
 function, instead of an attribute list which sets them at regular intervals. Is such a thing possible somehow? I checked the tutorial/documentation and couldn't find anything about this, but perhaps I'm not looking for the right thing.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Apologies if this is a duplicate question; the archive of questions here:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://mailman13.u.washington.edu/mailman/private/statnet_help">https://mailman13.u.washington.edu/mailman/private/statnet_help</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">is searchable, but none of the 'browse by' or download features work for me.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kyle<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>