Determining the characteristic of a played note on a virtual instrument