mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-05 22:35:06 +00:00
2024.03.05
This commit is contained in:
@@ -120,7 +120,12 @@ zeros.) In the case same channel occurs in several tracks, these
|
||||
numbers are the totals for all track containing that channel.
|
||||
Here is a description of these properties.
|
||||
.PP
|
||||
nnotes: the total number of notes in each channel
|
||||
programs: channel to midi program mapping
|
||||
.PP
|
||||
cnotes: the total number of notes in each channel
|
||||
.PP
|
||||
nnotes: the number of notes in each channel not including
|
||||
those playing in the same time interval.
|
||||
.br
|
||||
nzeros: the number of notes whose previous note was the same pitch
|
||||
.br
|
||||
|
||||
@@ -6,7 +6,7 @@ abc2abc version 2.21 February 19 2024
|
||||
yaps version 1.93 February 19 2024
|
||||
abcmatch version 1.83 February 19 2024
|
||||
midicopy version 1.39 November 08 2022
|
||||
midistats version 0.87 February 11 2024
|
||||
midistats version 0.88 March 05 2024
|
||||
|
||||
24th January 2002
|
||||
Copyright James Allwright
|
||||
|
||||
11
midistats.c
11
midistats.c
@@ -17,7 +17,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define VERSION "0.87 February 11 2024 midistats"
|
||||
#define VERSION "0.88 March 05 2024 midistats"
|
||||
|
||||
/* midistrats.c is a descendent of midi2abc.c which was becoming to
|
||||
large. The object of the program is to extract statistical characterisitic
|
||||
@@ -1345,8 +1345,12 @@ printf("\n");
|
||||
|
||||
void outputChannelSummary() {
|
||||
int i;
|
||||
for (i=0;i<17;i++) {
|
||||
printf("nnotes: ");
|
||||
|
||||
printf("\nprograms: ");
|
||||
for(i=1;i<17;i++) printf(" %d",channel2prog[i]);
|
||||
printf("\ncnotes: ");
|
||||
for(i=1;i<17;i++) printf(" %d",channel2nnotes[i]);
|
||||
printf("\nnnotes: ");
|
||||
for(i=0;i<16;i++) printf(" %d",nm[i].totalNotes);
|
||||
printf("\nnzeros: ");
|
||||
for(i=0;i<16;i++) printf(" %d",nm[i].zeroCount);
|
||||
@@ -1360,7 +1364,6 @@ for (i=0;i<17;i++) {
|
||||
/* avoid dividing by 0 */
|
||||
for(i=0;i<16;i++) printf(" %d",nm[i].totalPitches/(1+nm[i].totalNotes));
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
void dualDrumPattern (int perc1, int perc2) {
|
||||
|
||||
Reference in New Issue
Block a user