drumscript.notation_generator.pdf_exporter

Module for rendering the drum score to PDF using ReportLab.

Functions

draw_bar_line

Draws a vertical bar line.

draw_clef

Draws the Percussion Clef (two vertical blocks).

draw_notehead

Draws ONLY the notehead and ledger lines (stems are handled by beaming).

draw_staff

Draws the 5 lines of the percussion staff.

draw_time_signature

Draws the time signature numbers centered in the correct staff spaces.

export_pdf

Generates a PDF drum score using ReportLab engine.

get_vertical_position

Calculates the Y-coordinate for a note based on its staff position.