Learn R Programming

⚠️There's a newer version (2.2.4) of this package.Take me there.

seewave (version 2.2.0)

Sound Analysis and Synthesis

Description

Functions for analysing, manipulating, displaying, editing and synthesizing time waves (particularly sound). This package processes time analysis (oscillograms and envelopes), spectral content, resonance quality factor, entropy, cross correlation and autocorrelation, zero-crossing, dominant frequency, analytic signal, frequency coherence, 2D and 3D spectrograms and many other analyses. See Sueur et al. (2008) and Sueur (2018) .

Copy Link

Version

Install

install.packages('seewave')

Monthly Downloads

3,699

Version

2.2.0

License

GPL (>= 2)

Maintainer

Jerome Sueur

Last Published

March 4th, 2022

Functions in seewave (2.2.0)

TFSD

normalized Time and Frequency Second Derivative
TKEO

Teager-Kaiser energy tracking operator
H

Total entropy
M

Median of the amplitude envelope
ACI

Acoustic Complexity Index
SAX

Symbolic Aggregate approXimation
NDSI

Normalized Difference Soundscape Index
Q

Resonance quality factor of a frequency spectrum
AR

Acoustic Richness index
acoustat

Statistics on time and frequency STFT contours
attenuation

Generate sound intensity attenuation data
beep

Beep sound
cepstro

2D-cepstrogram of a time wave
afilter

Amplitude filter
addsilw

Add or insert a silence section
crest

Crest factor and visualization
akamatsu

Water tank minimum resonant and cutoff frequencies
covspectro

Covariance between two spectrograms
cutw

Cut a section of a time wave
audiomoth.rename

Rename audiomoth files in a readable format
duration

Duration of a time wave
dBscale

dB colour scale for a spectrogram display
coh

Coherence between two time waves
audiomoth

Reading and interpreting Audiomoth file name
dfreq

Dominant frequency of a time wave
env

Amplitude envelope of a time wave
ceps

Cepstrum or real cepstrum
ccoh

Continuous coherence function between two time waves
echo

Echo generator
corenv

Cross-correlation between two time wave envelopes
field

Near field and far field limits
gammatone

Gammatone filter
fund

Fundamental frequency track
ffilter

Frequency filter
ama

Amplitude modulation analysis of a time wave
bwfilter

Butterworth frequency filter
corspec

Cross-correlation between two frequency spectra
dBweight

dB weightings
fma

Frequency modulation analysis
dynoscillo

Dynamic oscillogram
mel

Hertz / Mel conversion
peewit

Song of the bird Vanellus vanellus
micsens

Microphone sensitivity and conversion
melfilterbank

Mel-filter bank for MFCC computation
deletew

Delete a section of a time wave
fir

Finite Impulse Response filter
moredB

Addition of dB values
hilbert

Hilbert transform and analytic signal
repw

Repeat a time wave
ggspectro

2D-spectrogram of a time wave using ggplot2
dynspec

Dynamic sliding spectrum
export

Export sound data
diffcumspec

Difference between two cumulative frequency spectra
resamp

Resample a time wave
rmnoise

Remove noise
fadew

Fade in and fade out of a time wave
combfilter

Comb filter
itakura.dist

Itakuro-Saito distance
kl.dist

Kullback-Leibler distance
dynspectro

Dynamic sliding spectrogramn
listen

Play a sound wave
noisew

Generate noise
mutew

Replace time wave data by 0 values
pulsew

Generate rectangle pulse
csh

Continuous spectral entropy
pellucens

Calling song of the tree cricket Oecanthus pellucens
convSPL

Convert sound pressure level in other units
cutspec

Cut a frequency spectrum
read.audacity

Audacity audio markers import
diffwave

Difference between two time waves
autoc

Short-term autocorrelation of a time wave
diffenv

Difference between two amplitude envelopes
setenv

Set the amplitude envelope of a time wave to another one
rmoffset

Remove the offset of a time wave
localpeaks

Local maximum frequency peak detection
ks.dist

Kolmogorov-Smirnov distance
fpeaks

Frequency peak detection
smoothw

A function to tentativily smooth a time wave
roughness

Roughness or total curvature
discrets

Time series discretisation
rms

Root Mean Square
diffspec

Difference between two frequency spectra
simspec

Similarity between two frequency spectra
oscilloST

Show a stereo time wave as oscillograms
ftwindow

Fourier transform windows
sfm

Spectral Flatness Measure
lfs

Linear Frequency Shift
phaseplot2

Phase-phase 2D plot of a time wave
phaseplot

Phase-phase 2D or 3D plot of a time wave
zcr

Zero-crossing rate
symba

Symbol analysis of a numeric (time) series
synth

Synthesis of time wave (additive model)
logspec.dist

Log-spectral distance
lts

Long-term spectrogram
zc

Instantaneous frequency of a time wave by zero-crossing
drawenv

Draw the amplitude envelope of a time wave
th

Temporal entropy
orni

Song of the cicada Cicada orni
synth2

Synthesis of time wave (tonal model)
sddB

Standard deviation of dB values
rmam

Remove the amplitude modulations of a time wave
oscillo

Show a time wave as an oscillogram
revw

Time reverse of a time wave
write.audacity

Audacity audio markers export
seedata

A quick look at quantitative data
playlist

Play a list of sound files
sh

Shannon and Renyi spectral entropy
zapsilw

Zap silence periods of a time wave
drawfilter

Draw the amplitude profile of a frequency filter
pastew

Paste a time wave to another one
rugo

Rugosity of a time wave
fdoppler

Doppler effect
fbands

Frequency bands plot
ifreq

Instantaneous frequency
preemphasis

Pre-emphasis speech filter
sheep

Sheep bleat
wav2flac

wav-flac file conversion
specflux

Spectral flux
spec

Frequency spectrum of a time wave
notefreq

Frequency of a muscical note
savewav

Save a .wav file
meanspec

Mean frequency spectrum of a time wave
meandB

Mean of dB values
istft

Inverse of the short-term Fourier transform
wf

Waterfall display
octaves

Octave values
seewave-internal

Internal Seewave Functions
songmeterdiag

Songmeter file diagnostics and diagram
songmeter

Reading and interpreting SongMeter file name
sox

Calls SoX
spectro3D

3D-spectrogram of a time wave
soundscapespec

Soundscape frequency spectrum of a time wave
timer

Time measurements of a time wave
seewave

Sound analysis and synthesis
tico

Song of the bird Zonotrichia capensis
timelapse

Time lapse
squarefilter

Frequency square filter
spectro

2D-spectrogram of a time wave
specprop

Spectral properties
wasp

WAve length and SPeed of sound