The term ‘ Malħun ’ refers to a Moroccan Arabic genre of (sung) poetry, composed in a quantitative meter which opposes light and heavy syllables. We will characterize this meter by defining the prosodic categories it computes, manipulates and structures to build lines and stanzas, and by describing formally how such operations and processes are carried out. A Metrical Patterns Generator is proposed.