how do I know where is the beggining of the new ,,period of sound"
To do that, one method is to store the data in an array, and search for the peak.
It takes (by default) about 110 microseconds to collect each data point, so record the time in microseconds when you start collecting data, find the array index of the peak and add to the start time 110*(array index of peak).