-
Notifications
You must be signed in to change notification settings - Fork 1
CharlesYeh/MusicArranger
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
------COMPILE------
javac */*.java
--------RUN--------
java arranger.Main
----CODING STYLE----
package pckg;
public class {
/* This method is totally useless!
*
* Params: arg - some useless int
* arg2 - some other useless double
* Returns: nothing at all
*/
public void doOtherStuff(int arg, double arg2) {
// note all the spaces
if (object.method() + number == 1 ||
object.getVar() < 20) {
doStuff();
}
}
}
-----SAMPLE XML-----
<piece>
<timeSignatures>
<timeSignature numerator=”4” denominator=”4”>
<timestep durNumerator=”4” durDenominator=”1” />
</timeSignature>
</timeSignatures>
<keySignatures>
<keySignature accidentals=”0” isMajor=”true”>
<timestep durNumerator=”4” durDenominator=”1” />
</keySignature>
</keySignatures>
<staff>
<clefs>
<clef type=”GCLEF” center_line=”-2”>
<timestep durNumerator=”2” durDenominator=”1” />
</clef>
<clef type=”FCLEF” center_line=”2”>
<timestep durNumerator=”2” durDenominator=”1” />
</clef>
</clefs>
<voice>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave=”4” key=”C” accidental=”NATURAL” />
<pitch octave=”4” key=”E” accidental=”NATURAL” />
<pitch octave=”4” key=”G” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave=”4” key=”C” accidental=”NATURAL” />
<pitch octave=”4” key=”F” accidental=”NATURAL” />
<pitch octave=”4” key=”A” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave=”4” key=”B” accidental=”NATURAL” />
<pitch octave=”4” key=”D” accidental=”NATURAL” />
<pitch octave=”4” key=”G” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave=”4” key=”C” accidental=”NATURAL” />
<pitch octave=”4” key=”E” accidental=”NATURAL” />
<pitch octave=”4” key=”G” accidental=”NATURAL” />
</pitches>
</multinote>
</voice>
</staff>
<staff>
<clefs>
<clef type=”GCLEF” center_line=”-2”>
<timestep durNumerator=”2” durDenominator=”1” />
</clef>
<clef type=”FCLEF” center_line=”2”>
<timestep durNumerator=”2” durDenominator=”1” />
</clef>
</clefs>
<voice>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave = “3” key=”C” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave = “3” key=”F” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave = “3” key=”G” accidental=”NATURAL” />
</pitches>
</multinote>
<multinote>
<timestep durNumerator=”1” durDenominator=”1” />
<pitches>
<pitch octave = “3” key=”C” accidental=”NATURAL” />
</pitches>
</multinote>
</voice>
</staff>
</piece>
About
Music Composition and Arranger which also harmonizes inputs with tonal theory
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published