Learn R Programming

seewave (version 2.2.4)

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,000

Version

2.2.4

License

GPL (>= 2)

Maintainer

Jerome Sueur

Last Published

August 19th, 2025

Functions in seewave (2.2.4)

afilter

Amplitude filter
addsilw

Add or insert a silence section
akamatsu

Water tank minimum resonant and cutoff frequencies
attenuation

Generate sound intensity attenuation data
bstd

Brigthness, Standard Deviation time plot
ama

Amplitude modulation analysis of a time wave
beep

Beep sound
autoc

Short-term autocorrelation of a time wave
audiomoth

Reading and interpreting Audiomoth file name
audiomoth.rename

Rename audiomoth files in a readable format
cepstro

2D-cepstrogram of a time wave
convSPL

Convert sound pressure level in other units
covspectro

Covariance between two spectrograms
corspec

Cross-correlation between two frequency spectra
combfilter

Comb filter
bwfilter

Butterworth frequency filter
ccoh

Continuous coherence function between two time waves
corenv

Cross-correlation between two time wave envelopes
ceps

Cepstrum or real cepstrum
coh

Coherence between two time waves
crest

Crest factor and visualization
csh

Continuous spectral entropy
dBweight

dB weightings
diffenv

Difference between two amplitude envelopes
cutw

Cut a section of a time wave
cutspec

Cut a frequency spectrum
deletew

Delete a section of a time wave
dBscale

dB colour scale for a spectrogram display
diffcumspec

Difference between two cumulative frequency spectra
dfreq

Dominant frequency of a time wave
duration

Duration of a time wave
diffspec

Difference between two frequency spectra
drawenv

Draw the amplitude envelope of a time wave
diffwave

Difference between two time waves
echo

Echo generator
drawfilter

Draw the amplitude profile of a frequency filter
dynspectro

Dynamic sliding spectrogramn
dynoscillo

Dynamic oscillogram
discrets

Time series discretisation
dynspec

Dynamic sliding spectrum
fdoppler

Doppler effect
fma

Frequency modulation analysis
env

Amplitude envelope of a time wave
export

Export sound data
field

Near field and far field limits
ffilter

Frequency filter
fadew

Fade in and fade out of a time wave
fbands

Frequency bands plot
hilbert

Hilbert transform and analytic signal
istft

Inverse of the short-term Fourier transform
fir

Finite Impulse Response filter
fpeaks

Frequency peak detection
gammatone

Gammatone filter
kl.dist

Kullback-Leibler distance
ifreq

Instantaneous frequency
itakura.dist

Itakuro-Saito distance
listen

Play a sound wave
ggspectro

2D-spectrogram of a time wave using ggplot2
fund

Fundamental frequency track
logspec.dist

Log-spectral distance
micsens

Microphone sensitivity and conversion
meandB

Mean of dB values
ks.dist

Kolmogorov-Smirnov distance
localpeaks

Local maximum frequency peak detection
melfilterbank

Mel-filter bank for MFCC computation
lfs

Linear Frequency Shift
meanspec

Mean frequency spectrum of a time wave
pastew

Paste a time wave to another one
playlist

Play a list of sound files
oscilloEQ

Oscillogram 'equalizer'
mutew

Replace time wave data by 0 values
repw

Repeat a time wave
octaves

Octave values
sheep

Sheep bleat
simspec

Similarity between two frequency spectra
sfm

Spectral Flatness Measure
savewav

Save a .wav file
moredB

Addition of dB values
notefreq

Frequency of a muscical note
rms

Root Mean Square
rmam

Remove the amplitude modulations of a time wave
seedata

A quick look at quantitative data
sh

Shannon and Renyi spectral entropy
pellucens

Calling song of the tree cricket Oecanthus pellucens
oscilloST

Show a stereo time wave as oscillograms
orni

Song of the cicada Cicada orni
specprop

Spectral properties
timer

Time measurements of a time wave
timelapse

Time lapse
seewave

Sound analysis and synthesis
ftwindow

Fourier transform windows
revw

Time reverse of a time wave
spectro

2D-spectrogram of a time wave
phaseplot2

Phase-phase 2D plot of a time wave
spectro3D

3D-spectrogram of a time wave
squarefilter

Frequency square filter
wav2leq

Convert wave amplitude to equivalent continuous sound pressure level (Leq)
scd

Soundcape chord diagram
resamp

Resample a time wave
th

Temporal entropy
setenv

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

Long-term spectrogram
smoothw

A function to tentativily smooth a time wave
read.audacity

Audacity audio markers import
soundscapespec

Soundscape frequency spectrum of a time wave
zcr

Zero-crossing rate
mel

Hertz / Mel conversion
preemphasis

Pre-emphasis speech filter
specflux

Spectral flux
tico

Song of the bird Zonotrichia capensis
write.audacity

Audacity audio markers export
songmeter

Reading and interpreting SongMeter file name
peewit

Song of the bird Vanellus vanellus
seewave-internal

Internal Seewave Functions
spec

Frequency spectrum of a time wave
synth

Synthesis of time wave (additive model)
pulsew

Generate rectangle pulse
phaseplot

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

Songmeter file diagnostics and diagram
rmnoise

Remove noise
rugo

Rugosity of a time wave
zapsilw

Zap silence periods of a time wave
wf

Waterfall display
sddB

Standard deviation of dB values
wav2flac

wav-flac file conversion
synth2

Synthesis of time wave (tonal model)
sox

Calls SoX
noisew

Generate noise
zc

Instantaneous frequency of a time wave by zero-crossing
wav2dBSPL

Convert wave amplitude to instantaneous sound pressure level (dB SPL)
symba

Symbol analysis of a numeric (time) series
oscillo

Show a time wave as an oscillogram
roughness

Roughness or total curvature
wasp

WAve length and SPeed of sound
rmoffset

Remove the offset of a time wave