Plotting Sound Level

Plotting Sound Level

This example demonstrates how to make a graph of a variable or sensor input. In this example we use the microphone sensor in the PC. 

Equipment:

  • Dongle

Description:

This program consists of an infinite loop which again and again adds a data point to the graph. The data point is a measurement of the sound level from the PC's microphone (remember to turn on the PC's microphone). 

A time-series plot is created in the interface. Here is one example with a high sound after 17,5 seconds:

Press the red stop button to terminate the program.

Get blockly source code here.

Copyright 2018 Shape Robotics. All Rights Reserved.
This website uses cookies to remember your settings and statistics. More info
Got it!