US computer software manufacturer Microsoft Corp has developed a prototype of a smart scarf designed to manage the users emotional state and interpret that of others.