mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55: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.
|
numbers are the totals for all track containing that channel.
|
||||||
Here is a description of these properties.
|
Here is a description of these properties.
|
||||||
.PP
|
.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
|
.br
|
||||||
nzeros: the number of notes whose previous note was the same pitch
|
nzeros: the number of notes whose previous note was the same pitch
|
||||||
.br
|
.br
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ abc2abc version 2.21 February 19 2024
|
|||||||
yaps version 1.93 February 19 2024
|
yaps version 1.93 February 19 2024
|
||||||
abcmatch version 1.83 February 19 2024
|
abcmatch version 1.83 February 19 2024
|
||||||
midicopy version 1.39 November 08 2022
|
midicopy version 1.39 November 08 2022
|
||||||
midistats version 0.87 February 11 2024
|
midistats version 0.88 March 05 2024
|
||||||
|
|
||||||
24th January 2002
|
24th January 2002
|
||||||
Copyright James Allwright
|
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
|
* 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
|
/* midistrats.c is a descendent of midi2abc.c which was becoming to
|
||||||
large. The object of the program is to extract statistical characterisitic
|
large. The object of the program is to extract statistical characterisitic
|
||||||
@@ -1345,8 +1345,12 @@ printf("\n");
|
|||||||
|
|
||||||
void outputChannelSummary() {
|
void outputChannelSummary() {
|
||||||
int i;
|
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);
|
for(i=0;i<16;i++) printf(" %d",nm[i].totalNotes);
|
||||||
printf("\nnzeros: ");
|
printf("\nnzeros: ");
|
||||||
for(i=0;i<16;i++) printf(" %d",nm[i].zeroCount);
|
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 */
|
/* avoid dividing by 0 */
|
||||||
for(i=0;i<16;i++) printf(" %d",nm[i].totalPitches/(1+nm[i].totalNotes));
|
for(i=0;i<16;i++) printf(" %d",nm[i].totalPitches/(1+nm[i].totalNotes));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void dualDrumPattern (int perc1, int perc2) {
|
void dualDrumPattern (int perc1, int perc2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user