PWGL

Function summary
export-melody-to-pwgl omn-mel &key (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-raw1.lisp") (harmonies '((60 64 67))) (harm-rhythm '(2)) (scales '((60 62 64 65 67 69 71))) (scale-rhythm '(2)) (meter '((4 4))) (bar-range nil)
import-transformed-melody-from-pwgl omn-mel &key (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-transformed1.lisp") (bar-range nil)
import-underlying-harmony-from-pwgl &key (velocity '(ppppp)) (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-transformed1.lisp")
pwgl-time-signatures ts-forms
export-melody-to-pwgl   omn-mel &key (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-raw1.lisp") (harmonies '((60 64 67))) (harm-rhythm '(2)) (scales '((60 62 64 65 67 69 71))) (scale-rhythm '(2)) (meter '((4 4))) (bar-range nil)  [Function]

Export a melody `omn-mel' alongside harmonic information for further processing by a PWGL patch. For documentation of further arguments see PWGL patch FitInHarmony.

Arguments:

  • bar-range (default nil): if non-nil, must be pair (<start-bar-index> <end-bar-index>), that specifies a range of bars from `omn-mel' to export. `omn-mel' must be nested in that case. Indices are 0-based, and start-bar-index/end-bar-index specify the index of the first/last bar to include.

import-transformed-melody-from-pwgl   omn-mel &key (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-transformed1.lisp") (bar-range nil)  [Function]

Complements export-melody-to-PWGL to import result from PWGL patch. `omn-mel' should be the same as given to export-melody-to-PWGL (its articulations and dynamics are merged into the result).

Arguments:

  • bar-range: should be the same value as the `bar-range' of the corresponding call to `export-melody-to-PWGL'.

import-underlying-harmony-from-pwgl   &key (velocity '(ppppp)) (dir "/Users/torsten/Compositions/0-Flute-solo/z-Opusmodus-PWGL-communication/") (file "melody-transformed1.lisp")  [Function]

Complements import-transformed-melody-from-PWGL to import harmonic result from PWGL patch. `harm-durations' is the

pwgl-time-signatures   ts-forms  [Function]

Translates OMN format of time signatures into very similar but slighly simpler PWGL format.

Examples:

    (PWGL-time-signatures '((3 4 2) (2 4 1))) 
     => ((3 4) (3 4) (2 4))