diff --git a/javasrc/org/hd/d/statsHouse/feedHits/GenerateSummary.java b/javasrc/org/hd/d/statsHouse/feedHits/GenerateSummary.java index e94876c..201b17f 100644 --- a/javasrc/org/hd/d/statsHouse/feedHits/GenerateSummary.java +++ b/javasrc/org/hd/d/statsHouse/feedHits/GenerateSummary.java @@ -55,11 +55,12 @@ public static MIDITune summary(final int summaryType, final List dirname return switch (summaryType) { case 1 -> (summary1(dirnames)); + case 2 -> (summary2(dirnames)); default -> throw new IllegalArgumentException("unknown summary type " + summaryType); }; } - /**Summary type 1; by-hour data blocks. */ + /**Summary type 1; by-hour data blocks percussion. */ public static MIDITune summary1(final List dirnames) throws IOException { final FeedStatusBlocks fsbs = FeedStatusBlocks.loadStatusByHourFromDirs(dirnames); @@ -188,4 +189,18 @@ public static MIDITune summary1(final List dirnames) throws IOException final TuneSectionPlan tsp = null; return(new MIDITune(dataMelody, supportTracks, tsp, dv)); } + + + /**Summary type 2; by-hour data blocks percussion and some trend melody. */ + public static MIDITune summary2(final List dirnames) throws IOException + { +// final FeedStatusBlocks fsbs = FeedStatusBlocks.loadStatusByHourFromDirs(dirnames); + + // Take type 1 and add some melody to it... + final MIDITune percussion = summary1(dirnames); + + // TODO: melody! + + return(percussion); + } }