Added comments,changed sampleRate to global var
packaged apps for all OSes