quantizeAndRender

maelzel.scoring.render.quantizeAndRender(parts, struct, options, quantizationProfile=None)[source]

Quantize and render unquantized events organized into parts

Parameters:
  • parts (list[UnquantizedPart]) – the parts to render

  • struct (ScoreStruct) – the ScoreStruct used

  • options (RenderOptions) – RenderOptions

  • quantizationProfile (Optional[QuantizationProfile]) – the profile to use for quantization, passed to maelzel.scoring.quant.quantize. If not given a default profile is used

Return type:

Renderer

Returns:

the Renderer object