Skip to content

Commit

Permalink
Thinking about summary2().
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHD committed Jun 24, 2024
1 parent 74adb49 commit 7283e9d
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions javasrc/org/hd/d/statsHouse/feedHits/GenerateSummary.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public final class GenerateSummary
{
/**Generate sonification from summary information across 1 or more data blocks.
* @param summaryType type of summary to generate (small +ve int)
* @param dirnames names of directories to extract data from
* @param dirnames in-order names of directories to extract data from
*/
public static MIDITune summary(final int summaryType, final List<String> dirnames)
throws IOException
Expand All @@ -60,7 +60,11 @@ public static MIDITune summary(final int summaryType, final List<String> dirname
};
}

/**Summary type 1; by-hour data blocks percussion. */
/**Summary type 1; by-hour data blocks percussion.
* @param dirnames in-order names of directories to extract data from; never null
* @return a complete MIDI 'tune'; never null
* @throws IOException
*/
public static MIDITune summary1(final List<String> dirnames) throws IOException
{
final FeedStatusBlocks fsbs = FeedStatusBlocks.loadStatusByHourFromDirs(dirnames);
Expand Down Expand Up @@ -191,7 +195,16 @@ public static MIDITune summary1(final List<String> dirnames) throws IOException
}


/**Summary type 2; by-hour data blocks percussion and some trend melody. */
/**Summary type 2; by-hour data blocks percussion and some trend melody.
* Uses the same (drums) percussion as summary type 1.
* <p>
* Uses one melody track for 'good' responses, and another for errors,
* playing a separate (chord) note for each response type.
*
* @param dirnames in-order names of directories to extract data from; never null
* @return a complete MIDI 'tune'; never null
* @throws IOException
*/
public static MIDITune summary2(final List<String> dirnames) throws IOException
{
// final FeedStatusBlocks fsbs = FeedStatusBlocks.loadStatusByHourFromDirs(dirnames);
Expand Down

0 comments on commit 7283e9d

Please sign in to comment.