Permalink
Browse files

Several misc. changes: Added getLast<file type>FileName() methods to …

…OutputManager. Added saveGuidoFile() to OutputManager. Fixed a bug with Section.createOutputManager(). Added FileHelper.readFileIntoString() method.
  • Loading branch information...
1 parent 997c5a9 commit 6e8ac3f9610587d28cede5f9c2275c42aa3f2ec3 @myronmarston committed Jul 3, 2008
Showing with 2,441 additions and 1,896 deletions.
  1. +66 −66 FractalComposer/build/cobertura-report/com.myronmarston.music.AudioFileCreator.html
  2. +14 −14 FractalComposer/build/cobertura-report/com.myronmarston.music.Dynamic.html
  3. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.GermIsEmptyException.html
  4. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.IncorrectNoteStringException.html
  5. +32 −32 FractalComposer/build/cobertura-report/com.myronmarston.music.Instrument.html
  6. +41 −41 FractalComposer/build/cobertura-report/com.myronmarston.music.MidiNote.html
  7. +146 −146 FractalComposer/build/cobertura-report/com.myronmarston.music.Note.html
  8. +100 −113 FractalComposer/build/cobertura-report/com.myronmarston.music.NoteList.html
  9. +78 −78 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.NoteStringParseException.html
  12. +470 −399 FractalComposer/build/cobertura-report/com.myronmarston.music.OutputManager.html
  13. +60 −50 FractalComposer/build/cobertura-report/com.myronmarston.music.SheetMusicCreator.html
  14. +28 −28 FractalComposer/build/cobertura-report/com.myronmarston.music.Tempo.html
  15. +9 −9 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.ChromaticScale.html
  16. +4 −4 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.HarmonicMinorScale.html
  17. +1 −1 ...alComposer/build/cobertura-report/com.myronmarston.music.scales.InvalidKeySignatureException.html
  18. +30 −30 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.KeySignature.html
  19. +5 −5 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MajorPentatonicScale.html
  20. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MajorScale.html
  21. +5 −5 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MinorPentatonicScale.html
  22. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.MinorScale.html
  23. +36 −36 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.Scale.html
  24. +21 −21 FractalComposer/build/cobertura-report/com.myronmarston.music.scales.Tonality.html
  25. +14 −14 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.AbstractVoiceOrSection.html
  26. +71 −71 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.FractalPiece.html
  27. +1 −1 ...omposer/build/cobertura-report/com.myronmarston.music.settings.InvalidTimeSignatureException.html
  28. +1 −1 ...ser/build/cobertura-report/com.myronmarston.music.settings.NonPositiveTimeSignatureException.html
  29. +82 −88 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.Section.html
  30. +31 −31 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.SectionSettings.html
  31. +36 −36 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.SelfSimilaritySettings.html
  32. +39 −39 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.TimeSignature.html
  33. +1 −1 ...bertura-report/com.myronmarston.music.settings.TimeSignatureDenominatorNotAPowerOf2Exception.html
  34. +18 −18 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.Voice.html
  35. +26 −26 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceOrSectionList.html
  36. +58 −58 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSection.html
  37. +15 −15 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSectionHashMapKey.html
  38. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSectionList.html
  39. +45 −45 FractalComposer/build/cobertura-report/com.myronmarston.music.settings.VoiceSettings.html
  40. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.InversionTransformer.html
  41. +11 −11 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.OctaveTransformer.html
  42. +5 −5 ...talComposer/build/cobertura-report/com.myronmarston.music.transformers.RetrogradeTransformer.html
  43. +15 −15 ...poser/build/cobertura-report/com.myronmarston.music.transformers.RhythmicDurationTransformer.html
  44. +37 −37 ...omposer/build/cobertura-report/com.myronmarston.music.transformers.SelfSimilarityTransformer.html
  45. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.Transformer.html
  46. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.TransposeTransformer.html
  47. +16 −16 FractalComposer/build/cobertura-report/com.myronmarston.music.transformers.VolumeTransformer.html
  48. +15 −15 FractalComposer/build/cobertura-report/com.myronmarston.util.AbstractPublisher.html
  49. +27 −27 FractalComposer/build/cobertura-report/com.myronmarston.util.ClassHelper.html
  50. +80 −24 FractalComposer/build/cobertura-report/com.myronmarston.util.FileHelper.html
  51. +60 −60 FractalComposer/build/cobertura-report/com.myronmarston.util.Fraction.html
  52. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.util.MathHelper.html
  53. +7 −7 FractalComposer/build/cobertura-report/com.myronmarston.util.ProcessRunner.html
  54. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.util.Publisher.html
  55. +1 −1 FractalComposer/build/cobertura-report/com.myronmarston.util.Subscriber.html
  56. +12 −12 FractalComposer/build/cobertura-report/com.myronmarston.util.ThreadedInputStreamRedirector.html
  57. +1 −1 FractalComposer/build/cobertura-report/frame-sourcefiles-com.myronmarston.music.html
  58. +1 −1 FractalComposer/build/cobertura-report/frame-sourcefiles-com.myronmarston.util.html
  59. +2 −2 FractalComposer/build/cobertura-report/frame-sourcefiles.html
  60. +8 −8 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.html
  61. +1 −1 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.scales.html
  62. +3 −3 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.settings.html
  63. +1 −1 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.music.transformers.html
  64. +5 −5 FractalComposer/build/cobertura-report/frame-summary-com.myronmarston.util.html
  65. +5 −5 FractalComposer/build/cobertura-report/frame-summary.html
  66. +7 −7 FractalComposer/dist/javadoc/com/myronmarston/music/AudioFileCreator.html
  67. +134 −0 FractalComposer/dist/javadoc/com/myronmarston/music/OutputManager.html
  68. +27 −3 FractalComposer/dist/javadoc/com/myronmarston/music/SheetMusicCreator.html
  69. +1 −1 FractalComposer/dist/javadoc/com/myronmarston/music/package-tree.html
  70. +25 −0 FractalComposer/dist/javadoc/com/myronmarston/util/FileHelper.html
  71. +3 −0 FractalComposer/dist/javadoc/index-files/index-15.html
  72. +6 −0 FractalComposer/dist/javadoc/index-files/index-16.html
  73. +15 −0 FractalComposer/dist/javadoc/index-files/index-6.html
  74. +3 −3 FractalComposer/src/com/myronmarston/music/AudioFileCreator.java
  75. +2 −0 FractalComposer/src/com/myronmarston/music/NoteList.java
  76. +69 −4 FractalComposer/src/com/myronmarston/music/OutputManager.java
  77. +18 −12 FractalComposer/src/com/myronmarston/music/SheetMusicCreator.java
  78. +4 −2 FractalComposer/src/com/myronmarston/music/settings/Section.java
  79. +37 −0 FractalComposer/src/com/myronmarston/util/FileHelper.java
  80. +80 −4 FractalComposer/test/com/myronmarston/music/OutputManagerTest.java
  81. +12 −9 FractalComposer/test/com/myronmarston/music/settings/PieceTest.java
  82. +13 −3 FractalComposer/test/com/myronmarston/music/settings/SectionTest.java
  83. +20 −1 FractalComposer/test/com/myronmarston/util/FileHelperTest.java
Oops, something went wrong.
@@ -69,15 +69,15 @@
<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;70</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;22</td> <td class="src"><pre class="src">&nbsp; PPP(10),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;29</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; PP(25),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;30</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; P(50),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;31</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; MP(60),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;32</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; MF(70),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;33</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; F(85),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; FF(100),</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;22</td> <td class="src"><pre class="src">&nbsp; FFF(120);</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;27</td> <td class="nbHitsCovered">&nbsp;75</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;27</td> <td class="src"><pre class="src">&nbsp; PPP(10),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;29</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; PP(25),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;30</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; P(50),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;31</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; MP(60),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;32</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; MF(70),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;33</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; F(85),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;34</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; FF(100),</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;35</td> <td class="nbHitsCovered">&nbsp;27</td> <td class="src"><pre class="src">&nbsp; FFF(120);</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>
@@ -86,9 +86,9 @@
<td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> <span class="keyword">static</span> String regexPattern;</pre></td></tr>
<tr> <td class="numLine">&nbsp;39</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;40</td> <td class="nbHitsCovered">&nbsp;176</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> Dynamic(<span class="keyword">int</span> midiVolume) {</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;41</td> <td class="nbHitsCovered">&nbsp;176</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.midiVolume = midiVolume;</pre></td></tr>
-<tr> <td class="numLineCover">&nbsp;42</td> <td class="nbHitsCovered">&nbsp;176</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;40</td> <td class="nbHitsCovered">&nbsp;216</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">private</span> Dynamic(<span class="keyword">int</span> midiVolume) {</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;41</td> <td class="nbHitsCovered">&nbsp;216</td> <td class="src"><pre class="src">&nbsp; <span class="keyword">this</span>.midiVolume = midiVolume;</pre></td></tr>
+<tr> <td class="numLineCover">&nbsp;42</td> <td class="nbHitsCovered">&nbsp;216</td> <td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;43</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; </pre></td></tr>
<tr> <td class="numLine">&nbsp;44</td> <td class="nbHits">&nbsp;</td>
@@ -103,7 +103,7 @@
<td class="src"><pre class="src">&nbsp;<span class="comment"> */</span></pre></td></tr>
<tr> <td class="numLine">&nbsp;49</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;50</td> <td class="nbHitsCovered">&nbsp;260</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;50</td> <td class="nbHitsCovered">&nbsp;272</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;51</td> <td class="nbHits">&nbsp;</td>
<td class="src"><pre class="src">&nbsp; }</pre></td></tr>
<tr> <td class="numLine">&nbsp;52</td> <td class="nbHits">&nbsp;</td>
@@ -161,6 +161,6 @@
<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 6/30/08 11:17 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 7/3/08 11:02 AM.</div>
</body>
</html>
@@ -89,6 +89,6 @@
<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 6/30/08 11:17 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 7/3/08 11:02 AM.</div>
</body>
</html>
@@ -95,6 +95,6 @@
<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 6/30/08 11:17 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/" target="_top">Cobertura</a> 1.9 on 7/3/08 11:02 AM.</div>
</body>
</html>
Oops, something went wrong.

0 comments on commit 6e8ac3f

Please sign in to comment.