| Index | |
| ET31 | |
| DB | |
| Out | |
| C | |
| Score | |
| ET31 |
- OS
- FS
- Explorer
- GUtils at "x-ozlib://anders/strasheela/source/GeneralUtils.ozf"
- Out at "x-ozlib://anders/strasheela/source/Output.ozf"
- Score at "x-ozlib://anders/strasheela/source/ScoreCore.ozf"
- HS at "x-ozlib://anders/strasheela/HarmonisedScore/HarmonisedScore.ozf"
- DB at "DB.ozf"
- ET31_Score at "Score.ozf"
- <P/2:RenderAndShowLilypond>
- <P/1:AddExplorerOut_ChordsToScore>
- <P/0:AddExplorerOuts_ArchiveInitRecord>
- <P/2:MakeChordComment>
- <P/2:MakeChordRatios>
- <P/2:MakeScaleComment>
- <P/2:IsEt31Note>
- <P/2:IsEt31Chord>
- <P/2:IsEt31Scale>
- <P/2:NoteEt31ToLily>
- <P/2:NoteEt31ToLily_AdaptiveJI>
- Et31AsEt12_TuningTable
proc{RenderAndShowLilypond MyScore Args}
Proc is like Out.renderAndShowLilypond, but provides buildin support for notes and chords with pitch units in et31.
Please note that this support is defined by the argument Clauses (see Out.renderAndShowLilypond) -- additional clauses are still possible, but adding new note/chord clauses will overwrite the support for 31 ET.
Additional Args:
'chordDescription' (default MakeChordComment): unary function expecting a chord and returning a VS used as annotation for chords.
'scaleDescription': (default MakeScaleComment): unary function expecting a scale and returning a VS used as annotation for scale.
proc{AddExplorerOut_ChordsToScore Args}
Creates an Explorer output. The script solution must be a sequential container with chord objects (i.e. without the actual notes).
The Explorer output action creates a CSP with expects a chord sequence and returns a homophonic chord progression. AddExplorerOut_ChordsToScore internally uses ET31.score.chordsToScore for this purpose.
The result is transformed into music notation (with Lilypond), sound (with Csound), and Strasheela code (archived score objects).
Args are outname and the arguments of ET31.score.chordsToScore. the outname arg sets the output file name (which gets added the space number in the Explorer and then a random number). outname also sets the name under which this action appears in the Explorer menu.
IMPORTANT: ET31.score.chordsToScore conducts a search which potentially can fail (e.g., if insufficient arguments are provided)!
proc{AddExplorerOuts_ArchiveInitRecord }
Adds ET31 declaration on top of *.ssco file and calls {HS.db.setDB ET31.db.fullDB}
proc{MakeChordComment MyChord Result}
Expects a chord and returns the chord comment (a VS).
proc{MakeChordRatios MyChord Result}
proc{MakeScaleComment MyScale Result}
Expects a scale and returns the scale comment (a VS).
fun{IsEt31Note X}
Returns true if X is a note object with pitch unit et31.
fun{IsEt31Chord X}
Returns true if X is a chord object with root pitch unit et31.
fun{IsEt31Scale X}
Returns true if X is a scale object with root pitch unit et31.
fun{NoteEt31ToLily MyNote}
Expects a Strasheela note object and returns the corresponding
Lilypond code (a VS). For simplicity, this transformation does not
support any additional expessions (e.g. fingering marks, or articulation
marks).
fun{NoteEt31ToLily_AdaptiveJI MyNote}
Like NoteEt31ToLily, but additionally notates the adaptive JI pitch offset of this note with respect to 31 ET.