R/print.sound.R

# Copyright (c) 2015 Santiago Barreda
# All rights reserved.

print.sound <-
function (x, ...){
  cat ("\n      Sound Object\n")
  cat ("\n   Read from file:        ", x$filename)
  cat ("\n   Sampling frequency:    ", x$fs, ' Hz')
  cat ("\n   Duration:              ", x$duration,  ' ms')
  cat ("\n   Number of Samples:     ", x$numSamples, '\n')
  cat ("\n")
}

Try the phonTools package in your browser

Any scripts or data that you put into this service are public.

phonTools documentation built on Nov. 21, 2023, 1:07 a.m.