|
EXP float | musicxml2guidoVersion () |
| Gives the guido converter version number.
|
EXP const char * | musicxml2guidoVersionStr () |
| Gives the guido converter version as a string.
|
EXP xmlErr | musicxmlfile2guido (const char *file, bool generateBars, int beginMeasure, int endMeasure, int partFilter, std::ostream &out) |
| Converts a MusicXML representation to the Guido format.
|
EXP xmlErr | musicxmlfd2guido (FILE *fd, bool generateBars, int beginMeasure, int endMeasure, int partFilter, std::ostream &out) |
| Converts a MusicXML representation to the Guido format.
|
EXP xmlErr | musicxmlstring2guido (const char *buff, bool generateBars, std::ostream &out) |
| Converts a MusicXML representation to the Guido format.
|
EXP xmlErr | musicxmlstring2guidoOnPart (const char *buffer, bool generateBars, int partFilter, std::ostream &out) |
| Converts a MusicXML representation to the Guido format ONLY on asked Part number ID.
|
EXP xmlErr | musicxmlstring2guidoPartial (const char *buffer, bool generateBars, int partFilter, int beginMeasure, int endMeasure, std::ostream &out) |
| Partial Conversion of MusicXML representation to the Guido format ONLY on asked Part number ID and asked Measure Numbers (begin/end)
|
The library includes a high level API to convert from the MusicXML format to the Guido Music Notation (GMN) format. For more information about this format, see https://guidodoc.grame.fr
◆ musicxml2guidoVersion()
EXP float musicxml2guidoVersion |
( |
| ) |
|
- Returns
- a version number as a float value
◆ musicxml2guidoVersionStr()
EXP const char * musicxml2guidoVersionStr |
( |
| ) |
|
◆ musicxmlfd2guido()
EXP xmlErr musicxmlfd2guido |
( |
FILE * | fd, |
|
|
bool | generateBars, |
|
|
int | beginMeasure, |
|
|
int | endMeasure, |
|
|
int | partFilter, |
|
|
std::ostream & | out ) |
- Parameters
-
fd | a file descriptor |
generateBars | a boolean to force barlines generation |
beginMeasure | for Partial conversion: start measure number (default: 0) |
endMeasure | for Partial conversion: end measure number (default: infinite) |
partFilter | Part number to convert or 0 for all (default: 0) |
out | the output stream |
- Returns
- an error code (
kNoErr
when success)
◆ musicxmlfile2guido()
EXP xmlErr musicxmlfile2guido |
( |
const char * | file, |
|
|
bool | generateBars, |
|
|
int | beginMeasure, |
|
|
int | endMeasure, |
|
|
int | partFilter, |
|
|
std::ostream & | out ) |
- Parameters
-
file | a file name |
generateBars | a boolean to force barlines generation |
beginMeasure | for Partial conversion: start measure number (default: 0) |
endMeasure | for Partial conversion: end measure number (default: infinite) |
partFilter | Part number to convert or 0 for all (default: 0) |
out | the output stream |
- Returns
- an error code (
kNoErr
when success)
◆ musicxmlstring2guido()
EXP xmlErr musicxmlstring2guido |
( |
const char * | buff, |
|
|
bool | generateBars, |
|
|
std::ostream & | out ) |
- Parameters
-
buff | a string containing MusicXML code |
generateBars | a boolean to force barlines generation |
out | the output stream |
- Returns
- an error code (
kNoErr
when success)
◆ musicxmlstring2guidoOnPart()
EXP xmlErr musicxmlstring2guidoOnPart |
( |
const char * | buffer, |
|
|
bool | generateBars, |
|
|
int | partFilter, |
|
|
std::ostream & | out ) |
Courtesy of Antescofo
- Parameters
-
buff | a string containing MusicXML code |
generateBars | a boolean to force barlines generation |
partFilter | 0 for all parts. Part number only otherwise (default:0). |
out | the output stream |
- Returns
- an error code (
kNoErr
when success)
◆ musicxmlstring2guidoPartial()
EXP xmlErr musicxmlstring2guidoPartial |
( |
const char * | buffer, |
|
|
bool | generateBars, |
|
|
int | partFilter, |
|
|
int | beginMeasure, |
|
|
int | endMeasure, |
|
|
std::ostream & | out ) |
Courtesy of Antescofo
- Parameters
-
buff | a string containing MusicXML code |
generateBars | a boolean to force barlines generation |
partFilter | 0 for all parts. Part number only otherwise. |
beginMeasure | Beginning measure number |
endMeausre | Ending measure number |
out | the output stream |
- Returns
- an error code (
kNoErr
when success)