Skip to main content

Metadata

Metadata is specified using \tagname value value at the beginning of the score. It can be used to specify global information like title, tempo or track tuning. Metadata is optional, but if specified, it must be followed by a dot to indicate the end of the metadata.

Some of the metadata tags can also be specified when starting a new staff or track. Please refer to the Tracks and Staves or details on how to start new tracks and staves.

// Song information (only at the beginning) \title "Song Title" \subtitle Subtitle \artist Artist \album 'My Album' \words Daniel \music alphaTab \copyright Daniel // Tempo in BPM \tempo 200 // Track and Staff Settings (can be used after \track and \staff) // Instrument as General MIDI number or name \instrument 30 // Capo fret \capo 2 // String tuning starting at the most bottom string \tuning e5 b4 g4 d4 a3 e3 // end of metadata .
// Song information (only at the beginning)
\title "Song Title"
\subtitle Subtitle
\artist Artist
\album 'My Album'
\words Daniel
\music alphaTab
\copyright Daniel
// Tempo in BPM
\tempo 200
// Track and Staff Settings (can be used after \track and \staff)
// Instrument as General MIDI number or name
\instrument 30
// Capo fret
\capo 2
// String tuning starting at the most bottom string
\tuning e5 b4 g4 d4 a3 e3
// end of metadata
.

Instrument​

As indicated above, the instrument can be changed via the \instrument metadata. Refer to the table below for all possible values and names. The list represents the General MIDI instrument list. You can either leave out the spaces or put the names into quotes e.g. AcousticBass vs "Acoustic Bass".

NumberName
0Acoustic Grand Piano
1Bright Grand Piano
2Electric Grand Piano
3Honky tonk Piano
4Electric Piano 1
5Electric Piano 2
6Harpsichord
7Clavinet
8Celesta
9Glockenspiel
10Musicbox
11Vibraphone
12Marimba
13Xylophone
14Tubularbells
15Dulcimer
16Drawbar Organ
17Percussive Organ
18Rock Organ
19Church Organ
20Reed Organ
21Accordion
22Harmonica
23Tango Accordion
24Acoustic Guitar Nylon
25Acoustic Guitar Steel
26Electric Guitar Jazz
27Electric Guitar Clean
28Electric Guitar Muted
29Overdriven Guitar
30Distortion Guitar
31Guitar Harmonics
32Acoustic Bass
33Electric Bass Finger
34Electric Bass Pick
35Fretless Bass
36Slap Bass 1
37Slap Bass 2
38Synth Bass 1
39Synth Bass 2
40Violin
41Viola
42Cello
43Contrabass
44Tremolo Strings
45Pizzicato Strings
46Orchestral Harp
47Timpani
48String Ensemble 1
49String Ensemble 2
50Synth Strings 1
51Synth Strings 2
52Choir Aahs
53Voice Oohs
54Synth Voice
55Orchestra Hit
56Trumpet
57Trombone
58Tuba
59Muted Trumpet
60French Horn
61Brass Section
62Synth Brass 1
63Synth Brass 2
64Soprano Sax
65Alto Sax
66Tenor Sax
67Baritone Sax
68Oboe
69English Horn
70Bassoon
71Clarinet
72Piccolo
73Flute
74Recorder
75Pan Flute
76Blown bottle
77Shakuhachi
78Whistle
79Ocarina
80Lead 1 Square
81Lead 2 Sawtooth
82Lead 3 Calliope
83Lead 4 Chiff
84Lead 5 Charang
85Lead 6 Voice
86Lead 7 Fifths
87Lead 8 Bass and Lead
88Pad 1 newage
89Pad 2 warm
90Pad 3 polysynth
91Pad 4 choir
92Pad 5 bowed
93Pad 6 metallic
94Pad 7 halo
95Pad 8 sweep
96Fx 1 rain
97Fx 2 soundtrack
98Fx 3 crystal
99Fx 4 atmosphere
100Fx 5 brightness
101Fx 6 goblins
102Fx 7 echoes
103Fx 8 scifi
104Sitar
105Banjo
106Shamisen
107Koto
108Kalimba
109Bag pipe
110Fiddle
111Shanai
112Tinkle Bell
113Agogo
114Steel Drums
115Woodblock
116Taiko Drum
117Melodic Tom
118Synth Drum
119Reverse Cymbal
120Guitar Fret Noise
121Breath Noise
122Seashore
123Bird Tweet
124Telephone Ring
125Helicopter
126Applause
127Gunshot

Tuning​

The tuning of the instrument is defined by the \tuning tag. For stringed instruments like the Guitar, each tuning value defines one string. The format of the tuning value is {note}{octave}. {note} is one value of the following values: C, C# or Db, D, D# or Eb, E, F, F# or Gb, G, G# or Ab, A, A# or Bb, B. {octave} is a number defining the octave.

For example, a standard guitar tuning is \tuning E4 B3 G3 D3 A2 E2. A 5 string bass would be \tuning G2 D2 A1 E1 B0.

For non-stringed instruments, the values piano, none or voice can be used depending on preference.

If \instrument is specified without \tuning, alphaTab will try to make a guess and apply the right default tuning.