Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2015 Apr 29;10(4):e0123111.
doi: 10.1371/journal.pone.0123111. eCollection 2015.

Discerning pig screams in production environments

Affiliations

Discerning pig screams in production environments

J Vandermeulen et al. PLoS One. .

Abstract

Pig vocalisations convey information about their current state of health and welfare. Continuously monitoring these vocalisations can provide useful information for the farmer. For instance, pig screams can indicate stressful situations. When monitoring screams, other sounds can interfere with scream detection. Therefore, identifying screams from other sounds is essential. The objective of this study was to understand which sound features define a scream. Therefore, a method to detect screams based on sound features with physical meaning and explicit rules was developed. To achieve this, 7 hours of labelled data from 24 pigs was used. The developed detection method attained 72% sensitivity, 91% specificity and 83% precision. As a result, the detection method showed that screams contain the following features discerning them from other sounds: a formant structure, adequate power, high frequency content, sufficient variability and duration.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Ground plan of the pig compartment.
Each pen had six animals, one feeder and one drinker. One microphone recorded the sound.
Fig 2
Fig 2. Overview of the classifier elements.
The rectangles represent the four parts. The raw data is transformed into an output that indicates if a scream is present. (CGD = Chirp Group Delay, FFT = Fast Fourier Transform)
Fig 3
Fig 3. The FFT spectrograms and CGD spectrograms.
The upper two figures show the same screams, the lower figures show the same sneeze. The left figures depict the spectrogram made from FFT while the figures on the right side depict the spectrogram made from CGD. The formant structure of a scream is visible (B). These formants are the whiter values in the CGD spectrogram. It is not straightforward to find the same structure in the FFT spectrogram. Because the difference between the formant value and the surrounding values is much bigger relative to the maximum and minimum values of the CGD compared to the FFT
Fig 4
Fig 4. The Mel CGD spectogram.
The left figure (A) shows the CGD spectrogram with Mel frequency resolution. The right figure (B) shows the corresponding mean values of each frequency value from the Mel CGD spectrogram. This figure further shows the straight line fitted trough these mean values.
Fig 5
Fig 5. The resulting classification.
These were the found thresholds for each feature after applying the gini index to all sound events in the traing dataset. Each line resembles on feature with acompagning threshold. When an event’s feature value was above the threshold value, the sound event received one vote. All ten votes were subsequently summed together for one sound event.
Fig 6
Fig 6. The two ROC curves.
They showing the True and False positive Rates (TPR and FPR). The numbers on the plots give the minimal required votes for the training and validation set.

References

    1. MacLean SA, Bonter DN (2013) The Sound of Danger: Threat Sensitivity to Predator Vocalizations, Alarm Calls, and Novelty in Gulls. PLoS ONE 8: e82384 10.1371/journal.pone.0082384 - DOI - PMC - PubMed
    1. Wyman MT, Charlton BD, Locatelli Y, Reby D (2011) Variability of Female Responses to Conspecific vs. Heterospecific Male Mating Calls in Polygynous Deer: An Open Door to Hybridization? PLoS ONE 6: e23296 10.1371/journal.pone.0023296 - DOI - PMC - PubMed
    1. Kasanen S, Algers B (2002) A note on the effects of additional sow gruntings on suckling behaviour in piglets. Applied Animal Behaviour Science 75: 93–101.
    1. Grauvogl A (1957) variations Über das Verhalten des Hausschweines unter besonderer Berücksichtigung des Fortpflanzungsverhaltens.
    1. Kiley M (1972) The Vocalizations of Ungulates, their Causation and Function. Zeitschrift für Tierpsychologie 31: 171–222. 10.1107/S0108767309007235 - DOI - PubMed

Publication types