Added audio capture feature

Users can now capture audio fragments and play them directly in the
webapp. The length of the captured audio is configurable by the users.