Forum Informatica Unict

LAUREA TRIENNALE (D.M. 270/04) => Informatica Musicale, 6 CFU => Topic started by: mdavid on 09-07-2011, 12:07:22



Title: esercizio xml
Post by: mdavid on 09-07-2011, 12:07:22
Qualcuno sa dirmi se questo esercizio è corretto? Grazie a tutti.


Tempo: 2/4

DO5-1/8, SI4-1/8, DO5-¼
MI5-1/8, RE5-1/8, DO5 ¼
RE5-2/4
DO5-2/4


<?xml version="1.0" encoding="UTF8" standalone="no">
<!DOCTYPE score-partwise PUBLIC
"-//Recordare//DTD MusicXML 1.0 Partwise//EN"   
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
<part-list>
<score-part id="esame">
<part-name>esame</part-name>
</score-part>
</part-list>

<part id="esame">
<measure number="1">

<attributes>
<divisions>8</division>
<key>
<fifths>0</fifths>
</key>
<time>
<beats>2</beats>
<beats-type>4</beats-type>
</time>
<cleaf>
<sign>G</sign>
<line>2</line>
</cleaf>
</attributes>

<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>2</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>2</duration>
</note>
</measure>

<measure number="2">
<note>
<pitch>
<step>E</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
</note>
</measure>

<measure number="3">
<note>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>1</duration>
</note>

<note>
<pitch>
<step>F</step>
<octave>4</octave>
</pitch>
<duration>1</duration>
</note>

<note>
<pitch>
<step>E</step>
<octave>4</octave>
</pitch>
<duration>1</duration>
</note>

<note>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>1</duration>
</note>
</measure>

<measure number="4">
<note>
<pitch>
<step>D</step>
<octave>4</octave>
</pitch>
<duration>2</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>1</duration>
</note>

<note>
</rest>
<duration>1</duration>
</note>
</measure>

</part>
</score-partwise>


Title: Re:esercizio xml
Post by: ottobit on 22-09-2011, 11:42:47
Credo sia giusto in questo modo...

Code:
<?xml version="1.0" encoding="UTF8" standalone="no">
<!DOCTYPE score-partwise PUBLIC
"-//Recordare//DTD MusicXML 1.0 Partwise//EN"   
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
<part-list>
<score-part id="esame">
<part-name>esame</part-name>
</score-part>
</part-list>

<part id="esame">
<measure number="1">

<attributes>
<divisions>8</division>
<key>
<fifths>0</fifths>
</key>
<time>
<beats>2</beats>
<beats-type>4</beats-type>
</time>
<clef>
<sign>G</sign>
<line>2</line>
</clef>
</attributes>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>B</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>8</duration>
</note>

</measure>

<measure number="2">
<note>
<pitch>
<step>E</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>D</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>8</duration>
</note>
</measure>

<measure number="3">

<note>
<pitch>
<step>D</step>
<octave>5</octave>
</pitch>
<duration>16</duration>
</note>
</measure>

<measure number="4">

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>16</duration>
</note>

</measure>

</part>
</score-partwise>


Title: Re:esercizio xml
Post by: lars87 on 27-09-2011, 18:50:59
Credo sia giusto in questo modo...

Code:
<?xml version="1.0" encoding="UTF8" standalone="no">
<!DOCTYPE score-partwise PUBLIC
"-//Recordare//DTD MusicXML 1.0 Partwise//EN"    
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
<part-list>
<score-part id="esame">
<part-name>esame</part-name>
</score-part>
</part-list>

<part id="esame">
<measure number="1">

<attributes>
<divisions>8</division>
<key>
<fifths>0</fifths>
</key>
<time>
<beats>2</beats>
<beats-type>4</beats-type>
</time>
<clef>
<sign>G</sign>
<line>2</line>
</clef>
</attributes>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>B</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>8</duration>
</note>

</measure>

<measure number="2">
<note>
<pitch>
<step>E</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>D</step>
<octave>5</octave>
</pitch>
<duration>4</duration>
</note>

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>8</duration>
</note>
</measure>

<measure number="3">

<note>
<pitch>
<step>D</step>
<octave>5</octave>
</pitch>
<duration>16</duration>
</note>
</measure>

<measure number="4">

<note>
<pitch>
<step>C</step>
<octave>5</octave>
</pitch>
<duration>16</duration>
</note>

</measure>

</part>
</score-partwise>



Title: Re:esercizio xml
Post by: Nyconator on 27-09-2011, 19:08:11
Se metti divisions a 8 dovrebbe voler significare che un'unità di ogni duracino che specificherai ad ogni note corrisponderebbe ad un ottavo di una semiminima, quindi se imposti le duration delle note a 2 dovresti ottenere tutte semicrome e non semiminime come richiesto. Qualcuno può darmi conferma?

Hai provato in ogni caso a leggere il file con finale reader?