LibMusicXML 3.18
Functions
MSR to BSR format

Functions

EXP void generateBrailleCodeFromBsrScore (const S_bsrScore bScore, S_bsrOah bsrOpts, indentedOstream &logOstream, ostream &brailleCodeOutputStream)
 
EXP S_bsrScore generateFinalizedBsrScoreFromBsrScore (const S_bsrScore bScore, S_bsrOah bsrOpts, indentedOstream &logOstream)
 
EXP void displayFinalizedBsrScore (const S_bsrScore bScore, S_msrOah msrOpts, S_bsrOah bsrOpts, indentedOstream &logOstream)
 
EXP float musicxml2guidoVersion ()
 Gives the guido converter version number. More...
 
EXP const char * musicxml2guidoVersionStr ()
 Gives the guido converter version as a string. More...
 
EXP float musicxml2lilypondVersion ()
 Gives the LilyPond converter version number. More...
 
EXP const char * musicxml2lilypondVersionStr ()
 Gives the LilyPond converter version as a string. More...
 
EXP float musicxml2brailleVersion ()
 Gives the Braille converter version number. More...
 
EXP const char * musicxml2brailleVersionStr ()
 Gives the LilyPond converter version as a string. More...
 
EXP xmlErr musicxmlfile2guido (const char *file, bool generateBars, std::ostream &out)
 Converts a MusicXML representation to the Guido format. More...
 
EXP xmlErr musicxmlfd2guido (FILE *fd, bool generateBars, std::ostream &out)
 Converts a MusicXML representation to the Guido format. More...
 
EXP xmlErr musicxmlstring2guido (const char *buff, bool generateBars, std::ostream &out)
 Converts a MusicXML representation to the Guido format. More...
 
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. More...
 
EXP void generateLilypondCodeFromLpsrScore (const S_lpsrScore lpScore, S_msrOah msrOpts, S_lpsrOah lpsrOpts, indentedOstream &logOstream, indentedOstream &lilypondCodeOstream)
 
EXP S_bsrScore buildBsrScoreFromMsrScore (const S_msrScore mScore, S_msrOah msrOpts, S_bsrOah bsrOpts, indentedOstream &logOstream)
 
EXP void displayFirstBsrScore (const S_bsrScore bScore, S_msrOah msrOpts, S_bsrOah bsrOpts, indentedOstream &logOstream)
 
EXP S_lpsrScore buildLpsrScoreFromMsrScore (const S_msrScore mScore, S_msrOah msrOpts, S_lpsrOah lpsrOpts, indentedOstream &logOstream)
 
EXP void displayLpsrScore (const S_lpsrScore lpScore, S_msrOah msrOpts, S_lpsrOah lpsrOpts, indentedOstream &logOstream)
 
EXP S_msrVoice buildMsrMasterFromMsrVoice (const S_msrVoice mVoice, S_msrOah msrOpts, indentedOstream &logOstream)
 
EXP void displayMsrMasterVoice (const S_msrVoice masterVoice, S_msrOah msrOpts, indentedOstream &logOstream)
 
EXP S_msrScore buildMsrSkeletonFromElementsTree (S_msrOah &msrOpts, Sxmlelement mxmlTree, indentedOstream &logOstream)
 
EXP void displayMsrSkeleton (S_msrOah &msrOpts, S_msrScore mScore, indentedOstream &logOstream)
 

Detailed Description

The library includes a high level API to convert from the MusicXML format to the BSR (Braille Score Representation) format.

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 http://guidolib.sourceforge.net

The library includes a high level API to convert from the MusicXML format to the MSR (Music Score Representation) format.

Function Documentation

◆ musicxml2brailleVersion()

EXP float MusicXML2::musicxml2brailleVersion ( )
Returns
a version number as a float value

◆ musicxml2brailleVersionStr()

EXP const char * MusicXML2::musicxml2brailleVersionStr ( )
Returns
a string

◆ musicxml2guidoVersion()

EXP float MusicXML2::musicxml2guidoVersion ( )
Returns
a version number as a float value

◆ musicxml2guidoVersionStr()

EXP const char * MusicXML2::musicxml2guidoVersionStr ( )
Returns
a string

◆ musicxml2lilypondVersion()

EXP float MusicXML2::musicxml2lilypondVersion ( )
Returns
a version number as a float value

◆ musicxml2lilypondVersionStr()

EXP const char * MusicXML2::musicxml2lilypondVersionStr ( )
Returns
a string

◆ musicxmlfd2guido()

EXP xmlErr MusicXML2::musicxmlfd2guido ( FILE *  fd,
bool  generateBars,
std::ostream &  out 
)
Parameters
fda file descriptor
generateBarsa boolean to force barlines generation
outthe output stream
Returns
an error code (kNoErr when success)

◆ musicxmlfile2guido()

EXP xmlErr MusicXML2::musicxmlfile2guido ( const char *  file,
bool  generateBars,
std::ostream &  out 
)
Parameters
filea file name
generateBarsa boolean to force barlines generation
outthe output stream
Returns
an error code (kNoErr when success)

◆ musicxmlstring2guido()

EXP xmlErr MusicXML2::musicxmlstring2guido ( const char *  buff,
bool  generateBars,
std::ostream &  out 
)
Parameters
buffa string containing MusicXML code
generateBarsa boolean to force barlines generation
outthe output stream
Returns
an error code (kNoErr when success)

◆ musicxmlstring2guidoOnPart()

EXP xmlErr MusicXML2::musicxmlstring2guidoOnPart ( const char *  buffer,
bool  generateBars,
int  partFilter,
std::ostream &  out 
)

Courtesy of Antescofo

Parameters
buffa string containing MusicXML code
generateBarsa boolean to force barlines generation
outthe output stream
Returns
an error code (kNoErr when success)