abcjs logo

Analyze tune book string

Given the following ABC string, the following information can be gleaned from it.

ABC String


	  

Creation

var tuneBook = new ABCJS.TuneBook(abc)

Header

tuneBook.header


	  

Number Of Tunes

tuneBook.tunes.length


	  

Tune Names

tuneBook.tunes[i].title


	  

Tune Ids

tuneBook.tunes[i].id


	  

Tune "101"

tuneBook.getTuneById(101)


	  

Tune "Cooley's"

tuneBook.getTuneByTitle("Cooley's")


	  

Parse Only - warnings

var visualObj = ABCJS.parseOnly(abc)