Margrete RPC

Slide

A ground slide: a long note threading through a sequence of joints.

Construct with the begin geometry (t/p, x, w), then add joints with :meth:add_step / :meth:add_ctrl (in place) or :meth:with_step / :meth:with_ctrl (returns a copy). A slide needs at least one joint and must end on a step or control joint. An :class:Air note may be attached via :attr:air.

Functions

funcwith_step(self, *, t, x, w) -> Self

Return a copy with a step joint appended at the given timing and geometry.

paramself
paramtint | PositionLike
paramxint
paramwint

Returns

typing.Self
funcwith_ctrl(self, *, t, x, w) -> Self

Return a copy with a control joint appended at the given timing and geometry.

paramself
paramtint | PositionLike
paramxint
paramwint

Returns

typing.Self
funcconverted(self, target, **overrides) -> T

Return a new note of type target carrying this note's geometry and joints.

paramself
paramtargettype[T]
paramoverridesAny
= {}

Returns

margrete_rpc.chart.notes.long.Slide.converted[T]
functo_raw(self, *, skip_validation=False) -> RawNote

Convert to a :class:RawNote tree (begin note with joint children).

paramself
paramskip_validationbool
= False

Returns

margrete_rpc.chart.notes.raw.RawNote

On this page