Search Results for

    Show / Hide Table of Contents

    Shorthand Chord

    Aliases

    SHORTHAND_CHORD, SHORTCHORD, SC

    Overview

    The Shorthand Chord function takes letters as input and turns them into chords.

    Note

    Not to be confused with the Letters function.

    This function is functionally identical to using . followed by a character.

    This function is quite handy if you need to write shorter Unilang code.

    Arguments

    Name Type Description
    ChordLetters string The shorthand chord letters.

    List of Chords

    Here is a list of what letters map to each chord. The rule is that the top note will change first.

    One note Two note chords Three note chords Four note chords Five note chords
    0 -> [0] a -> [12] k -> [123] u -> [1234] z -> [12345]
    1 -> [1] b -> [13] l -> [124] v -> [1235]
    2 -> [2] c -> [14] m -> [125] w -> [1245]
    3 -> [3] d -> [15] n -> [134] x -> [1345]
    4 -> [4] e -> [23] o -> [135] y -> [2345]
    5 -> [5] f -> [24] p -> [145]
    6 -> [6] g -> [25] q -> [234]
    7 -> [7] h -> [34] r -> [235]
    8 -> [8] i -> [35] s -> [245]
    9 -> [9] j -> [45] t -> [345]

    Example 1

    SC(abcd)
    

    Places the shorthand chords corresponding to the letters a, b, c, d, being [12], [13], [14], [15].

    Shorthand Chord Example 1

    Using Period . Characters

    You can write . followed by one of the chord letters above to achieve the same as SHORTHAND_CHORD() with one letter input.

    Example 2

    .a.e.h.j
    

    Places the shorthand chords corresponding to the letters a, e, h, j, being [12], [23], [34], [45].

    Shorthand Chord Example 2
    Tip

    Any chord is shorter to write using . notation. However, using it does come at the cost of readability.

    Tip

    If you have more than 4 short hand chords, SC(input) notation becomes shorter than using . notation.

    ☀
    ☾
    In This Article
    Back to top
    SideyBot by Sidney600 and RileyTheFox
    ☀
    ☾