postprocessors

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph cluster_builtins { graph [label=builtins]; node [color=1]; "builtins.object" [URL="https://docs.python.org/3.9/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_pang.postprocessors" { graph [label="pang.postprocessors"]; node [color=2]; "pang.postprocessors.ManualOttavaHandler" [URL="../api/pang/postprocessors.html#pang.postprocessors.ManualOttavaHandler", color=black, fontcolor=white, label="Manual\nOttava\nHandler", target=_top]; "pang.postprocessors.OttavaHandler" [URL="../api/pang/postprocessors.html#pang.postprocessors.OttavaHandler", color=black, fontcolor=white, label="Ottava\nHandler", target=_top]; "pang.postprocessors.VerboseOttavaHandler" [URL="../api/pang/postprocessors.html#pang.postprocessors.VerboseOttavaHandler", color=black, fontcolor=white, label="Verbose\nOttava\nHandler", target=_top]; "pang.postprocessors.OttavaHandler" -> "pang.postprocessors.ManualOttavaHandler"; "pang.postprocessors.OttavaHandler" -> "pang.postprocessors.VerboseOttavaHandler"; } "builtins.object" -> "pang.postprocessors.OttavaHandler"; }


Classes

ManualOttavaHandler

Manual Ottava Handler.

OttavaHandler

Ottava Handler.

VerboseOttavaHandler

Verbose Ottava Handler.

class pang.postprocessors.ManualOttavaHandler(n=1)

Manual Ottava Handler.


Attributes Summary

__call__

Call self as a function.

n


Special methods

overridden __call__(voice)

Call self as a function.


Read-only properties

n
class pang.postprocessors.OttavaHandler

Ottava Handler.


Attributes Summary

__call__

Call self as a function.


Special methods

overridden __call__(voice)

Call self as a function.

class pang.postprocessors.VerboseOttavaHandler(high_threshold=32, low_threshold=- 31)

Verbose Ottava Handler.


Attributes Summary

__call__

Call self as a function.

high_threshold

low_threshold


Special methods

overridden __call__(voice)

Call self as a function.


Read-only properties

high_threshold
low_threshold

Functions

pad_voices_with_grace_skips

Pad voices with grace skips to fix the spacing issue with full-length tuplet brackets.

pang.postprocessors.pad_voices_with_grace_skips(voices)

Pad voices with grace skips to fix the spacing issue with full-length tuplet brackets.