Original text: English original text

Translation: Ye Da Xia

Vextab Editor: Here

This is a VexTab blog post about the music language of VexTab. You can click here to view and edit VexTab music.

What is VexTab?

VexTab is a language for writing music. You can use VexTab to create, edit, and share a VexTab. Unlike the ASCII spectrum, which was designed to be easy to read, VexTab was created to be easy to write about.

I can’t wait. Let’s get started.

Step 1: Table of music

The keyword tabstave is used to create a row of staves, and the following edit boxes are all editable, so try adding tabstave to a new row and see how it works.

Tabstave can be followed by parameters such as tabstave notation=true, which means to display a standard notation (staff at the top, hexagram at the bottom). Don’t just look! Give it a try.

Step 2: Add some notes

The keyword notes can be used to add notes. You can indicate this by position on the piano (note/octave) or guitar fretboard (fret/string). If you need to add more than one note to the same string or range, you can use this expression: fret-fret-fret/string (or note-note-note/octave). Choose according to your personal preference.

Try editing the notes below, noticing their position on the spectrum, and using the phonograph chart below to understand grammar. Notes can be followed by #, ##, @, @@, and n, which indicate a sharpened, whole sharpened, flat, flat, and reduced note respectively.

Steal a map and use it to understand the Note/Octave method.



Here is the guitar score:

Step 3: table key words

Tabstave can be followed by the following parameters:

Key value/example notationtrue/falsetablaturetrue/falsecleftreble, alto, tenor, bass, percussionkeyC, Am, F, Dm, Bb, Gm, Eb, Cm, Ab, Fm, Db, Bbm, Gb, Ebm, Cb, Abm, G, Em, D, Bm, A, F#m, E, C#m, B, G#m, F#, D#m, C#, A#mtimeC, C|, #/#tuningstandard, dropd, eb, E/5,B/4,G/4,D/4,A/3,E/3

Some examples:

  • tabstave notation=trueStands for display of standard staff and hexagram.
  • tabstave notation=true tablature=falseRepresents shows only the staff.
  • tabstave notation=true clef=altoStands for alto clef.
  • tabstave notation=true clef=bass key=C# time=C|The bass of the 4/4 beat, containing both staff and sextet.

Try it:

Step 4: Rest and add section

## indicates a rest and is automatically placed by default. You can also change the line by adding a number in the middle. The format is #4# and the value ranges from 0 to 9.

Section of the separator is |, you can add in the system.

In addition, there are some special bar lines.

  • = | |A double line, indicating the end of the piece, and the two bar lines are the same size
  • = | :Repeated start
  • = : |Repeat the end
  • = : :Repeat the beginning and end
  • = | =Termination of the line

Step 5: Push the strings

A common technique used in guitar playing is to add a B to the number of fingerboards to indicate a string push. For example, 10B12 represents a whole string, 10b11 represents a semitone string, and it’s not hard to guess that b is followed by the step value of the note. So what does that mean when you push up, you go back to the original note? The answer is 10b12b10, doesn’t it make sense.

Step 6: dumb, up and down, and vibrato

X means dumb, a small v followed by a vibrato, and a big V followed by a strong vibrato. You can also add a vibrato to a string, as shown in the example below.

U and D represent the uppluck and downpluck respectively.

Step 7: Add chords

So that’s all about single notes, and finally chords. Chords on the spectrum are passed through parentheses () and. C/4.E/4.G/4), of course, can also be used to refer to the number :(1/2.2/4.3/5).

Step 8: strike, hook, point and slide

These four techniques are denoted by h, P, T or S, which is the same as the usual guitar notation. For example, if you want to strike the string from 6 to 8 and then hook the string back to 6, you can use 6H8P6, and you can also use these symbols on chords.

Step 9: Add length (beat) and linkage

The default is a quarter note (beat), which you can change with a colon:.

For example, :w represents a whole note. Currently supported lengths are: whole note, half note, quarter note, eighth note, sixteenth note and thirty-second note, which correspond to the symbols W, H, q 8, 16, 32 respectively. If dotted notes are to be indicated, d may be added to the corresponding symbol, for example: :qd.

For example, the triplet of an eighth note is :8 4-5-6/4 ^3^.

Here is a more complex example that shows how to use length on slides, strings, and other techniques. Please feel it carefully.

Step 10: Lyrics, notes, or other text

You can add comments by enclosing the dollar sign $with a comma, delimiter text. You can use it in lyrics, chord cues, or some strumming cues.

$.top.$indicates the annotation above the spectral line, $.bottom.$indicates the annotation below.

There are two ways to change comment styles, either with a default style or with a custom style. For default, just add.style. + default styles to the dollar sign, such as $.big.C Major$for a large C Major display.

The current default styles are BIG, Medium, and ITALic.

For customizing, the syntax looks like this:.face.size. Style, where face represents the font, size represents the font size, and style represents the font style (italic, bold). For example, $.Times-14-italic.Blah$indicates the text annotation text Blah in the 14pt size, italic Times Roman font.

Step 11: Staccatos, Fermatas and more cohesive sounds.

You can add articulation by using $. Articulation /position.$. Different cohesive sounds are represented by different symbols. A. Stands for staccato and a@a stands for up-fermata, which can be placed above or below the spectral line.

Common cohesive sounds:

The following list shows all supported cohesive sounds:

Step 12: More text

VexTab also provides a very flexible way to add text. Using the text keyword, VexTab creates text that is vertically aligned with the notes. This is perfect for placing chord names.

In the example below, I have created two blocks of text, “G Minor” and “A Major”, each of which is A half note. Note that the text blocks are separated by commas, except that the regular representation of the length is the same as the note.

You can adjust the position of the block in the vertical direction as a number, so the default is 0, which means it’s at the top of the spectrum, and the higher the value is, the lower the value is, and the lower the value is if it’s negative, the higher the value is.

Like notes, you can also be separated by | text section, so that we can better align, in addition, you can also by + + syntax on the same line spectrum line to create a new line of text. It is too strong to have no ~

And that’s not all. You can add lots of musical symbols to the text, like endings and repetition. Just add # before the keyword, e.g., text #coda.

Step 13: Melody slash notation

You can use a capital S to change the notation to a slash. In the example below, you can try changing the sound name to see the effect. You can also use u or D to indicate up and down actions.

Step 14: Define the look

You can change the font, the size of the spectrum, and the distance between the spectrum lines to your liking. For example, options width=400 means the spectrum is 400 pixels wide.

The following is a list of relevant parameters.

Parameter description width indicates the width of the spectrum, in pixels. The default is 1space and the distance between the next line of the spectrum, in pixels. The unit is pixel font face/font style/font size the default parameter for annotated fonts

Can look big:

Add more space for notes higher up the spectrum:

To make a staff and a hexagram farther apart:

Step 15: Hexagram can also have a beat sign

Add the tab-stems parameter to show beat numbers on the sextet. For individual vocal melodies, you can specify the direction of the beat sign with the tab-stem-direction parameter.

Note that you need to change the space and stave distance parameters to avoid overlap.

Step 16: Play your notes

Add the player parameter equal to true and specify tempo tempo to play your notes immediately.

The first step N + 1:

Try it now, go to editor, available on mobile, iPad, PC.

Avoid getting lost guide: like playing music programmers can pay attention to the following public number:



Vocabulary:

  1. Stave: system
  2. Note: notes.
  3. -sheldon: Well, you know, it’s an octave
  4. Fret: refers to the board
  5. Natural: reduction of the sound
  6. Time: the beat
  7. Tuning: the sound
  8. Clef: clef
  9. A tablature, a form of notation
  10. The treble part
  11. In the alto
  12. Tenor: tenor
  13. -Blair: I’m on the bass
  14. Because: percussion
  15. Common time: 4/4 beat.
  16. Rest, rest
  17. A double bar
  18. .mute note: retuned
  19. Vibrato. Vibrato
  20. Chord: a chord
  21. Hammer – on: string
  22. The pull – off: string
  23. Tap: Tap the guitar
  24. Slide, slide
  25. Lyrics: lyrics
  26. Articulation: articulation, direction or technique in music. It affects the transition or continuity between the notes in the composition.
  27. Staccato: (Italian) when the actual duration of a note is shorter than that indicated by the score, with the truncated part silent and marked by a dot.
  28. Fermata: portamento
  29. Staccatissimo: staccato
  30. Accent: stress
  31. Codas: tail plays
  32. Segno: continuous token