Module:ET/doc: Difference between revisions

Fix a copying error
ArrowHead294 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation|{{dochead|header=none}}
{{documentation|
{{dochead|header=none}}{{lua|rational|sequence}}
This module provides helper functions for [[equal-step tuning]]s.
This module provides helper functions for [[equal-step tuning]]s.


Line 7: Line 8:


; <code>parse</code>
; <code>parse</code>
; Designed to convert strings in the format <code>[number of steps]ed[equave]</code> into an ET structure, and returns it via the <code>new</code> function. For example, <code>ET.parse("12edo")</code> returns an array containing <code>{12, 2, "edo"}</code>
: Designed to convert strings in the format <code>[number of steps]ed[equave]</code> into an ET structure, and returns it via the <code>new</code> function. For example, <code>ET.parse("12edo")</code> returns an array containing <code>{12, 2, "edo"}</code>


; <code>as_string</code>
; <code>as_string</code>