This example shows how you can record incoming data, in this case, changing amplitude values, using the mtr object.