notes2.hy 164 B

1234567891011
  1. (import [abjad [*]])
  2. (setv leaves [(Note "fs'4") (Note "g'4") (Rest "r4")])
  3. (setv tuplet (Tuplet (, 2 3) leaves))
  4. (print (format tuplet))
  5. (print (len tuplet))