Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

Lien vers cette vue

openmusic:dev-resources:containers [2011/01/28 18:43]
Dokuwiki Admin
openmusic:dev-resources:containers [2011/01/28 18:50] (Version actuelle)
Dokuwiki Admin
Ligne 41: Ligne 41:
 The following pictures show the container tree-structure. The slots //offset, qvalue and extent// are drawn inside or outside the container rectangle, depending on the time scale in which they are expressed. The following pictures show the container tree-structure. The slots //offset, qvalue and extent// are drawn inside or outside the container rectangle, depending on the time scale in which they are expressed.
  
 +{{ :openmusic:dev-resources:simple-container.gif }}
  
-<P><CENTER><IMG SRC="D05.gif" WIDTH="230" HEIGHT="96" ALIGN="BOTTOM"+{{ :openmusic:dev-resources:container.gif }}
  
-BORDER="0" NATURALSIZEFLAG="3"></CENTER></P> 
  
 +Using the //qvalue// mechanism, a local time scale can be defined at each level of the container tree. This helps maintaining complex container structures where some parts could belong to score level time scales while other could belong to audio level time scales, while still restraining to integer computation. Restraining to integer computation is very important for rhythm quantization issues.
  
  
-<br><br>+Here is an example where we use some musical subclasses of //container// and //simple-container//:
  
  
 +//Voice// is a subclass of //container//. It defines a musical voice in a score. Its //inside// slot is a list of //measure//, another //container//.
 +The //inside// slot of //measures// are either single //notes// (//simple-container//), //chords// or //groups// (//container//). //Groups// are groups of chords or notes that belong to a beat (e.g. three chords making a triplet).
  
 +The next picture shows the instantiation tree starting from //voice//. The arrows express the //inside// slot of the object they start from.
  
 +{{ :openmusic:dev-resources:voice-struct.gif }}
  
-<P><CENTER><IMG SRC="d04.gif" WIDTH="505" HEIGHT="166" ALIGN="BOTTOM" 
  
-BORDER="0" NATURALSIZEFLAG="3"></CENTER></P> 
  
  
 +{{ :openmusic:dev-resources:mesure.gif|}}
 +Here is an example of a measure:
  
 +and the instantiation tree showing the values for //qvalue//, //offset// and //extent// slots
  
 +{{:openmusic:dev-resources:mesure-classes.gif|}}
  
-<P>Using the qvalue mechanism, a local time scale can be defined 
  
-at each level of the container treeThis helps maintaining complex+Here is another example where we superpose the previous //voice// and an //audio file// which lasts 1230 ms.
  
-container structures where some parts could belong to score level +{{:openmusic:dev-resources:poly-classes.gif|}}
- +
-time scales while other could belong to audio level time scales, +
- +
-while still restraining to integer computation. Restraining to +
- +
-integer computation is very important for rhythm quantization +
- +
-issues.</P> +
- +
- +
- +
-<P>Here is an example where we use some musical subclasses of +
- +
-container and simple-container.</P> +
- +
- +
- +
-<P><CODE>voice</CODE> is a subclass of <CODE>container</CODE>. +
- +
-It defines a musical voice in a score. Its <CODE>inside</CODE> +
- +
-slot is a list of <CODE>measure</CODE>, another <CODE>container</CODE>. +
- +
-The <CODE>inside</CODE> slot of measures are either single <CODE>notes</CODE> +
- +
-(<CODE>simple-container</CODE>), <CODE>chords</CODE>, or <CODE>groups</CODE> +
- +
-(<CODE>container</CODE>). <CODE>Groups</CODE> are groups of chords +
- +
-or notes that belong to a beat (e.g. three chords making up a +
- +
-triplet).</P> +
- +
- +
- +
-<P>The next picture shows the instantiation tree starting from +
- +
-<CODE>voice</CODE>. The arrows express the <CODE>inside</CODE> +
- +
-slot of the object they start from.</P> +
- +
- +
- +
-<P><CENTER><IMG SRC="d02.gif" WIDTH="421" HEIGHT="212" ALIGN="BOTTOM" +
- +
-BORDER="0" NATURALSIZEFLAG="3"></CENTER></P> +
- +
- +
- +
-<br> +
- +
- +
- +
-<P>Here is an example of a measure :</P> +
- +
- +
- +
-<P><CENTER><IMG SRC="I13.gif" WIDTH="378" HEIGHT="117" ALIGN="BOTTOM" +
- +
-BORDER="0" NATURALSIZEFLAG="3"></CENTER></P> +
- +
- +
- +
-<P>and the instantiation tree showing the values for <CODE>qvalue, +
- +
-offset </CODE>and <CODE>extent</CODE> slots.</P> +
- +
- +
- +
-<P><CENTER><IMG SRC="D06.gif" WIDTH="476" HEIGHT="322"></CENTER></P> +
- +
- +
- +
- +
- +
-<P>Here is another example where we superpose the previous voice +
- +
-and an audio file which lasts 1230 ms.</P> +
- +
- +
- +
-<P><CENTER><IMG SRC="D07.gif" WIDTH="284" HEIGHT="264"</CENTER>+
  
  
 


openmusic/dev-resources/containers.txt · Dernière modification: 2011/01/28 18:50 par Dokuwiki Admin