mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 15:05:07 +00:00
Compare commits
1 Commits
2022.05.20
...
2022.06.07
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
243477ba58 |
16
abcmatch.c
16
abcmatch.c
@@ -49,7 +49,7 @@ Matching:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define VERSION "1.80 Novemeber 25 2021 abcmatch"
|
#define VERSION "1.81 June 07 2021 abcmatch"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
@@ -111,14 +111,14 @@ extern int voicesused;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* data structure for input to matcher. */
|
/* data structure for input to matcher. */
|
||||||
int imidipitch[2000]; /* pitch-barline midi note representation of input tune */
|
int imidipitch[10000]; /* pitch-barline midi note representation of input tune */
|
||||||
int inotelength[2000]; /* notelength representation of input tune */
|
int inotelength[10000]; /* notelength representation of input tune */
|
||||||
int innotes; /*number of notes in imidipitch,inotelength representation */
|
int innotes; /*number of notes in imidipitch,inotelength representation */
|
||||||
int inbars; /*number of bars in input tune */
|
int inbars; /*number of bars in input tune */
|
||||||
int ibarlineptr[500]; /*pointers to bar lines in imidipitch */
|
int ibarlineptr[2000]; /*pointers to bar lines in imidipitch */
|
||||||
int itimesig_num, itimesig_denom;
|
int itimesig_num, itimesig_denom;
|
||||||
int imaxnotes = 2000; /* maximum limits of this program */
|
int imaxnotes = 10000; /* maximum limits of this program */
|
||||||
int imaxbars = 200;
|
int imaxbars = 2000;
|
||||||
int resolution = 12; /* default to 1/8 note resolution */
|
int resolution = 12; /* default to 1/8 note resolution */
|
||||||
int anymode = 0; /* default to matching all bars */
|
int anymode = 0; /* default to matching all bars */
|
||||||
int ignore_simple = 0; /* ignore simple bars */
|
int ignore_simple = 0; /* ignore simple bars */
|
||||||
@@ -295,12 +295,12 @@ make_note_representation (int *nnotes, int *nbars, int maxnotes, int maxbars,
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (*nnotes > 2000)
|
if (*nnotes > imaxnotes)
|
||||||
{
|
{
|
||||||
printf ("ran out of space for midipitch for xref %d\n",xrefno);
|
printf ("ran out of space for midipitch for xref %d\n",xrefno);
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
if (*nbars > 599)
|
if (*nbars > imaxbars)
|
||||||
{
|
{
|
||||||
printf ("ran out of space for barlineptr for xref %d\n",xrefno);
|
printf ("ran out of space for barlineptr for xref %d\n",xrefno);
|
||||||
exit (0);
|
exit (0);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ midi2abc version 3.54 April 28 2022
|
|||||||
abc2midi version 4.73 May 20 2022
|
abc2midi version 4.73 May 20 2022
|
||||||
abc2abc version 2.17 May 20 2022
|
abc2abc version 2.17 May 20 2022
|
||||||
yaps version 1.89 May 20 2022
|
yaps version 1.89 May 20 2022
|
||||||
abcmatch version 1.80 November 25 2021
|
abcmatch version 1.81 June 07 2022
|
||||||
midicopy version 1.38 May 06 2022
|
midicopy version 1.38 May 06 2022
|
||||||
|
|
||||||
24th January 2002
|
24th January 2002
|
||||||
|
|||||||
Reference in New Issue
Block a user