Two ways to write a note
For tab, write fret.string: 0.1 is fret 0 on string 1 (the thinnest). For notation only, write the pitch name and octave: c4 is middle C. Use fret.string for guitar and bass, pitch names for piano or voice. One staff takes one kind only, so put each kind on its own \track.
\track "Guitar"
:4 0.1 1.2 0.3 2.4 |
\track "Voice"
\staff {score}
:4 e4 c4 g3 e3 |0.6 c4 in the same staff stops with error AT218. Start a new \track for the other kind.