Here are some analyses of bass guitar notes played different ways:
 
original recording resynthesis from analysis
bassGtNotes/openInorm.wav bassGtNotes/openInorm.snd

 
bassGtNotes/openIsulpont.wav bassGtNotes/openIsulpont.snd

 
bassGtNotes/openInailnorm.wav bassGtNotes/openInailnorm.snd

 
bassGtNotes/openIthumbslapnorm.wav bassGtNotes/openIthumbslapnorm.snd

 
bassGtNotes/hammeronFretII.wav bassGtNotes/hammeronFretII.snd

 
bassGtNotes/fretIIInorm.wav bassGtNotes/fretIIInorm.snd

 
bassGtNotes/fretIVnorm.wav bassGtNotes/fretIVnorm.snd

And phrases....
 
bassGtPhrases/3noteI.wav bassGtPhrases/3noteI.snd

 
bassGtPhrases/riff.wav bassGtPhrases/riff.snd

 
bassGtPhrases/tuning.wav bassGtPhrases/tuning.snd


Praat offers a suite of analytical tools with output to graphics and resynthesis. Using its "hum" player, the pitch contour in the following overlay of envelopes sounds pretty close to its input melody.
This analysis of the Chinese flute melody shows some of its character (and some of its flaws) when analyzed for its time varying

intensity (upper), pitch (mid) and spectral envelopes (background and lower).


The gross contour itself is enough to search into a database of Chinese melodies.
\ - \ / \ - \ \
where the contour is coded with up = /, down = \, unison = -

(the Chinese archive is not yet online, but for fun try the contour out to find its cousin tunes which are currently accessible with Themefinder).