DirectMusic ¼¼±×¸àÆ® Ç÷¹ÀÌ°¡ Á¦¾îÇϴ°¡ ¾Æ´Ï¸é ÀÌÂ÷ÀûÀÎ ¼¼±×¸àÆ®Àΰ¡¸¦ ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)

¼Ó¼º°ªÀº DirectMusic ¼¼±×¸àÆ® Ç÷¹ÀÌ°¡ Á¦¾îÇϴ°¡ ¾Æ´Ï¸é ÀÌÂ÷ÀûÀÎ ¼¼±×¸àÆ®Àΰ¡¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

primary µðÆúÆ®À̸ç, Ç÷¹ÀÌ°¡ ÀÏÂ÷Àû ¼¼±×¸àÆ®ÀÌ´Ù.
control Á¦¾î ¼¼±×¸àÆ®·Î Ç÷¹ÀÌÇÑ´Ù. ÀÏÂ÷Àû ¼¼±×¸àÆ®°¡ Ç÷¹À̵Ǵ µ¿¾È, ¼Ó¼º°°ÀÌ groove, level, °ú chord ÁøÇàÀ» »õ·Î¿î Á¦¾î ¼¼±×¸àÆ®·Î ¼³Á¤ÇÑ´Ù.
secondary ÀÏÂ÷Àû ¼¼±×¸àÆ®°¡ Ç÷¹À̵Ǵ µ¿¾È ÀÌÂ÷Àû ¼¼±×¸àÆ®·Î Ç÷¹ÀÌÇÑ´Ù.

¾²±â·Î µðÆúÆ®°ªÀº primaryÀÌ´Ù.

Ư±â

segmentType ¾ÖÆ®¸®ºäÆ®´Â player ¾ÖÆ®¸®ºäÆ®°¡ DMusicÀ¸·Î ¼³Á¤µÈ °æ¿ì¿¡¸¸ À¯È¿ÇÏ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time

ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)ÀÇ MicrosoftÀÇ È®ÀåÀÌ´Ù.


°á°ú Ç¥½Ãâ

seg3´Â ÀÌÂ÷ÀûÀÎ À½¾Ç ¼¼±×¸àÆ® ÁöÁ¤ ¹æ½ÄÀ» ¼³¸íÇÑ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<STYLE>.time{behavior: url(#default#time2);} </STYLE>
<SCRIPT>
function doShow(){
  str='seg1.segmentType='+seg1.segmentType+'<BR>';
  str+='<SPAN style=width:2em></SPAN>seg1.currTimeState.isActive='+seg1.currTimeState.isActive+'<BR>';
  str+='seg2.segmentType='+seg2.segmentType+'<BR>';
  str+='<SPAN style=width:2em></SPAN>seg2.currTimeState.isActive='+seg2.currTimeState.isActive+'<BR>';
  str+='seg3.segmentType='+seg3.segmentType+'<BR>';
  str+='<SPAN style=width:2em></SPAN>seg3.currTimeState.isActive='+seg3.currTimeState.isActive+'<BR>';
  showA.innerHTML=str;
}
</SCRIPT>
<IMPORT namespace="t" implementation="#default#time2">
<T:media class="time" id=seg1 player="DMusic" begin="3" dur="10" segmentType="primary"
  src="http://trio.co.kr/sound/flute1.mid" onbegin="doShow()" onend="doShow()" />
<T:media class="time" id=seg2 player="DMusic" begin="10" dur="15" segmentType="control"
  src="http://trio.co.kr/sound/flute2.mid" onbegin="doShow()" onend="doShow()" />
<T:media class="time" id=seg3 player="DMusic" begin="15" dur="20" segmentType="secondary"
  src="http://trio.co.kr/sound/flute3.mid" onbegin="doShow()" onend="doShow()" />

<DIV id=showA>°á°ú Ç¥½Ãâ</DIV>