Permalink
Browse files

Changed the way the output is handled from Guido and Lilypond, so tha…

…t warnings just get returned from the method, and errors throw exceptions. Remove extra quotes from the Guido key signature tag. Updated the fraction regex.
  • Loading branch information...
myronmarston committed Aug 18, 2008
1 parent 9e500a8 commit 37122e32f1881eb10fd1d8f9e4f0a4a103251e25
Showing with 3,612 additions and 3,543 deletions.
  1. +64 −64 FractalComposer/build/cobertura-report/com.myronmarston.music.AudioFileCreator.html
  2. +22 −22 FractalComposer/build/cobertura-report/com.myronmarston.music.Dynamic.html
  3. +3 −3 FractalComposer/build/cobertura-report/com.myronmarston.music.GermIsEmptyException.html
  4. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.IncorrectNoteStringException.html
  5. +33 −33 FractalComposer/build/cobertura-report/com.myronmarston.music.Instrument.html
  6. +41 −41 FractalComposer/build/cobertura-report/com.myronmarston.music.MidiNote.html
  7. +157 −157 FractalComposer/build/cobertura-report/com.myronmarston.music.Note.html
  8. +97 −97 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteList.html
  9. +79 −79 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteName.html
  10. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteStringInvalidPartException.html
  11. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteStringOnlyRestException.html
  12. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteStringParseException.html
  13. +613 −596 FractalComposer/build/cobertura-report/com.myronmarston.music.OutputManager.html
  14. +29 −29 FractalComposer/build/cobertura-report/com.myronmarston.music.Tempo.html
  15. +2 −2 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.AbstractNotationElement.html
  16. +155 −153 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.Clef.html
  17. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.GuidoRunException.html
  18. +4 −4 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.LilypondRunException.html
  19. +24 −24 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.NotationDynamic.html
  20. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.NotationElement.html
  21. +53 −53 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.NotationElementList.html
  22. +65 −65 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.NotationNote.html
  23. +96 −96 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.Part.html
  24. +44 −44 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.PartSection.html
  25. +70 −70 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.Piece.html
  26. +283 −236 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.SheetMusicCreator.html
  27. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.notation.Tuplet.html
  28. +5 −5 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.AbstractDiatonicScale.html
  29. +11 −11 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.ChromaticScale.html
  30. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.DorianScale.html
  31. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.HarmonicMinorScale.html
  32. +1 −1 ...alComposer/build/cobertura-report/com.myronmarston.music.scales.InvalidKeySignatureException.html
  33. +39 −39 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.KeySignature.html
  34. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.LocrianScale.html
  35. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.LydianScale.html
  36. +9 −9 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MajorPentatonicScale.html
  37. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MajorScale.html
  38. +9 −9 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MinorPentatonicScale.html
  39. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MixolydianScale.html
  40. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.NaturalMinorScale.html
  41. +6 −6 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.PhrygianScale.html
  42. +52 −52 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.Scale.html
  43. +30 −30 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.Tonality.html
  44. +16 −16 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.AbstractVoiceOrSection.html
  45. +48 −48 ...mposer/build/cobertura-report/com.myronmarston.music.settings.AbstractVoiceOrSectionSettings.html
  46. +126 −126 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.FractalPiece.html
  47. +1 −1 ...omposer/build/cobertura-report/com.myronmarston.music.settings.InvalidTimeSignatureException.html
  48. +1 −1 ...ser/build/cobertura-report/com.myronmarston.music.settings.NonPositiveTimeSignatureException.html
  49. +65 −65 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.Section.html
  50. +30 −30 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.SectionSettings.html
  51. +38 −38 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.SelfSimilaritySettings.html
  52. +44 −44 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.TimeSignature.html
  53. +1 −1 ...bertura-report/com.myronmarston.music.settings.TimeSignatureDenominatorNotAPowerOf2Exception.html
  54. +23 −23 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.Voice.html
  55. +43 −43 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceOrSectionList.html
  56. +64 −64 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSection.html
  57. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSectionHashMap.html
  58. +15 −15 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSectionHashMapKey.html
  59. +13 −13 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSectionList.html
  60. +29 −29 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSettings.html
  61. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.InversionTransformer.html
  62. +11 −11 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.OctaveTransformer.html
  63. +13 −13 ...talComposer/build/cobertura-report/com.myronmarston.music.transformers.RetrogradeTransformer.html
  64. +15 −15 ...poser/build/cobertura-report/com.myronmarston.music.transformers.RhythmicDurationTransformer.html
  65. +38 −38 ...omposer/build/cobertura-report/com.myronmarston.music.transformers.SelfSimilarityTransformer.html
  66. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.Transformer.html
  67. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.TransposeTransformer.html
  68. +18 −18 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.VolumeTransformer.html
  69. +15 −15 FractalComposer/build/cobertura-report/com.myronmarston.util.AbstractPublisher.html
  70. +27 −27 FractalComposer/build/cobertura-report/com.myronmarston.util.ClassHelper.html
  71. +66 −66 FractalComposer/build/cobertura-report/com.myronmarston.util.FileHelper.html
  72. +422 −471 FractalComposer/build/cobertura-report/com.myronmarston.util.Fraction.html
  73. +26 −26 FractalComposer/build/cobertura-report/com.myronmarston.util.MathHelper.html
  74. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.util.ProcessRunner.html
  75. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.util.Publisher.html
  76. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.util.Subscriber.html
  77. +30 −30 FractalComposer/build/cobertura-report/com.myronmarston.util.ThreadedInputStreamRedirector.html
  78. +0 −3 FractalComposer/build/cobertura-report/frame-packages.html
  79. +1 −1 FractalComposer/build/cobertura-report/frame-sourcefiles-com.myronmarston.music.notation.html
  80. +1 −1 FractalComposer/build/cobertura-report/frame-sourcefiles-com.myronmarston.util.html
  81. +2 −5 FractalComposer/build/cobertura-report/frame-sourcefiles.html
  82. +4 −4 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.html
  83. +5 −5 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.notation.html
  84. +1 −1 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.scales.html
  85. +1 −1 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.settings.html
  86. +1 −1 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.transformers.html
  87. +3 −3 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.util.html
  88. +5 −19 FractalComposer/build/cobertura-report/frame-summary.html
  89. +32 −26 FractalComposer/dist/javadoc/com/myronmarston/music/OutputManager.html
  90. +19 −16 FractalComposer/dist/javadoc/com/myronmarston/music/notation/SheetMusicCreator.html
  91. +2 −2 FractalComposer/dist/javadoc/com/myronmarston/music/notation/package-tree.html
  92. +1 −1 FractalComposer/dist/javadoc/com/myronmarston/music/package-tree.html
  93. +20 −0 FractalComposer/dist/javadoc/com/myronmarston/util/Fraction.html
  94. +3 −0 FractalComposer/dist/javadoc/index-files/index-5.html
  95. +21 −14 FractalComposer/src/com/myronmarston/music/OutputManager.java
  96. +1 −0 FractalComposer/src/com/myronmarston/music/notation/Clef.java
  97. +45 −18 FractalComposer/src/com/myronmarston/music/notation/SheetMusicCreator.java
  98. +1 −1 FractalComposer/src/com/myronmarston/music/scales/KeySignature.java
  99. +5 −2 FractalComposer/src/com/myronmarston/util/Fraction.java
  100. +1 −1 FractalComposer/test/com/myronmarston/music/OutputManagerTest.java
  101. +1 −1 FractalComposer/test/com/myronmarston/music/notation/PartTest.java
  102. +3 −3 FractalComposer/test/com/myronmarston/music/scales/KeySignatureTest.java
  103. +2 −0 FractalComposer/test/com/myronmarston/util/FractionTest.java

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -69,15 +69,15 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> * @author Myron</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;26</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;27</td> <td class="nbHitsCovered">&nbsp;4515</td> <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> enum Dynamic {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;28</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; PPP(1),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;29</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; PP(2),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;30</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; P(3),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;31</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; MP(4),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;32</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; MF(5),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;33</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; F(6),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; FF(7),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; FFF(8);</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;27</td> <td class="nbHitsCovered">&nbsp;3663</td> <td class="src"><pre class="src">&nbsp;<span class="keyword">public</span> enum Dynamic {</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;28</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; PPP(1),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;29</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; PP(2),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;30</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; P(3),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;31</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; MP(4),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;32</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; MF(5),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;33</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; F(6),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; FF(7),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; FFF(8);</pre></td></tr>
<tr> <td class="numLine">&nbsp;36</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; </pre></td></tr>
<tr> <td class="numLine">&nbsp;37</td> <td class="nbHits">&nbsp;</td>
@@ -98,13 +98,13 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> * note string.</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;45</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;46</td> <td class="nbHitsCovered">&nbsp;30</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">public</span> <span class="keyword">static</span> String REGEX_PATTERN = <span class="string">"(?:,(.*))?"</span>;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;46</td> <td class="nbHitsCovered">&nbsp;29</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">public</span> <span class="keyword">static</span> String REGEX_PATTERN = <span class="string">"(?:,(.*))?"</span>;</pre></td></tr>
<tr> <td class="numLine">&nbsp;47</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;48</td> <td class="nbHitsCovered">&nbsp;240</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> Dynamic(<span class="keyword">int</span> dynamicLevel) {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;49</td> <td class="nbHitsCovered">&nbsp;240</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.dynamicLevel = dynamicLevel;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;50</td> <td class="nbHitsCovered">&nbsp;240</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.midiVolume = (dynamicLevel * MIDI_VOLUME_PER_LEVEL) + ADDITIONAL_OFFSET;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;51</td> <td class="nbHitsCovered">&nbsp;240</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;48</td> <td class="nbHitsCovered">&nbsp;232</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> Dynamic(<span class="keyword">int</span> dynamicLevel) {</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;49</td> <td class="nbHitsCovered">&nbsp;232</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.dynamicLevel = dynamicLevel;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;50</td> <td class="nbHitsCovered">&nbsp;232</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.midiVolume = (dynamicLevel * MIDI_VOLUME_PER_LEVEL) + ADDITIONAL_OFFSET;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;51</td> <td class="nbHitsCovered">&nbsp;232</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;52</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; </pre></td></tr>
<tr> <td class="numLine">&nbsp;53</td> <td class="nbHits">&nbsp;</td>
@@ -119,7 +119,7 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;58</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; <span class="keyword">public</span> <span class="keyword">int</span> getMidiVolume() {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;59</td> <td class="nbHitsCovered">&nbsp;844</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> <span class="keyword">this</span>.midiVolume;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;59</td> <td class="nbHitsCovered">&nbsp;790</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> <span class="keyword">this</span>.midiVolume;</pre></td></tr>
<tr> <td class="numLine">&nbsp;60</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;61</td> <td class="nbHits">&nbsp;</td>
@@ -155,9 +155,9 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;77</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> <span class="keyword">static</span> Dynamic getDynamicForDynamicLevel(<span class="keyword">int</span> dynamicLevel) {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;78</td> <td class="nbHitsCovered">&nbsp;4345</td> <td class="src"><pre class="src">&nbsp; Dynamic d = Dynamic.values()[dynamicLevel - 1];</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;79</td> <td class="nbHitsUncovered"><a title="Line 79: Conditional coverage 50% (2/4) [each condition: 50%, 50%].">&nbsp;4345</a></td> <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 79: Conditional coverage 50% (2/4) [each condition: 50%, 50%]."> <span class="keyword">assert</span> d.dynamicLevel == dynamicLevel : d;</a></span></pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;80</td> <td class="nbHitsCovered">&nbsp;4345</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> d;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;78</td> <td class="nbHitsCovered">&nbsp;3495</td> <td class="src"><pre class="src">&nbsp; Dynamic d = Dynamic.values()[dynamicLevel - 1];</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;79</td> <td class="nbHitsUncovered"><a title="Line 79: Conditional coverage 50% (2/4) [each condition: 50%, 50%].">&nbsp;3495</a></td> <td class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line 79: Conditional coverage 50% (2/4) [each condition: 50%, 50%]."> <span class="keyword">assert</span> d.dynamicLevel == dynamicLevel : d;</a></span></pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;80</td> <td class="nbHitsCovered">&nbsp;3495</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> d;</pre></td></tr>
<tr> <td class="numLine">&nbsp;81</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;82</td> <td class="nbHits">&nbsp;</td>
@@ -178,11 +178,11 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;90</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; <span class="keyword">public</span> <span class="keyword">static</span> Dynamic getDynamicForMidiVolume(<span class="keyword">int</span> midiVolume) {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;91</td> <td class="nbHitsCovered"><a title="Line 91: Conditional coverage 100% (4/4) [each condition: 100%, 100%].">&nbsp;4379</a></td> <td class="src"><pre class="src">&nbsp;<a title="Line 91: Conditional coverage 100% (4/4) [each condition: 100%, 100%]."> <span class="keyword">if</span> (midiVolume &lt;= MidiNote.MIN_VELOCITY || midiVolume &gt; MidiNote.MAX_VELOCITY) <span class="keyword">return</span> <span class="keyword">null</span>;</a></pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;91</td> <td class="nbHitsCovered"><a title="Line 91: Conditional coverage 100% (4/4) [each condition: 100%, 100%].">&nbsp;3529</a></td> <td class="src"><pre class="src">&nbsp;<a title="Line 91: Conditional coverage 100% (4/4) [each condition: 100%, 100%]."> <span class="keyword">if</span> (midiVolume &lt;= MidiNote.MIN_VELOCITY || midiVolume &gt; MidiNote.MAX_VELOCITY) <span class="keyword">return</span> <span class="keyword">null</span>;</a></pre></td></tr>
<tr> <td class="numLine">&nbsp;92</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; </pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;93</td> <td class="nbHitsCovered">&nbsp;4345</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">int</span> dynamicLevel = (midiVolume - (MIDI_VOLUME_PER_LEVEL + ADDITIONAL_OFFSET)) / MIDI_VOLUME_PER_LEVEL + 1;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;94</td> <td class="nbHitsCovered">&nbsp;4345</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> getDynamicForDynamicLevel(dynamicLevel);</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;93</td> <td class="nbHitsCovered">&nbsp;3495</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">int</span> dynamicLevel = (midiVolume - (MIDI_VOLUME_PER_LEVEL + ADDITIONAL_OFFSET)) / MIDI_VOLUME_PER_LEVEL + 1;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;94</td> <td class="nbHitsCovered">&nbsp;3495</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">return</span> getDynamicForDynamicLevel(dynamicLevel);</pre></td></tr>
<tr> <td class="numLine">&nbsp;95</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;96</td> <td class="nbHits">&nbsp;</td>
@@ -220,6 +220,6 @@ <h5>Coverage Report - com.myronmarston.music.Dynamic</h5>
<td class="src"><pre class="src">&nbsp;}</pre></td></tr>
</table>
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/5/08 11:52 AM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/18/08 1:27 PM.</div>
</body>
</html>
@@ -83,12 +83,12 @@ <h5>Coverage Report - com.myronmarston.music.GermIsEmptyException</h5>
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;33</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; <span class="keyword">public</span> GermIsEmptyException() {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;2</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">super</span>(<span class="string">"The germ is empty. A midi sequence cannot be created without it."</span>);</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;2</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;1</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">super</span>(<span class="string">"The germ is empty. A midi sequence cannot be created without it."</span>);</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;1</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;36</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp;}</pre></td></tr>
</table>
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/5/08 11:52 AM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/18/08 1:27 PM.</div>
</body>
</html>
@@ -95,6 +95,6 @@ <h5>Coverage Report - com.myronmarston.music.IncorrectNoteStringException</h5>
<td class="src"><pre class="src">&nbsp;}</pre></td></tr>
</table>
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/5/08 11:52 AM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 8/18/08 1:27 PM.</div>
</body>
</html>
Oops, something went wrong.

0 comments on commit 37122e3

Please sign in to comment.