pt.Hz2ST: pt.Hz2ST

Description Usage Arguments Value See Also Examples

View source: R/pt.R

Description

Converts Hz to Semitones with given reference (default 0 ST = 100 Hz).

Usage

1
pt.Hz2ST(pt, ref = 100)

Arguments

pt

PitchTier object

ref

reference value (in Hz) for 0 ST. Default: 100 Hz.

Value

PitchTier object

See Also

pt.read, pt.write, pt.plot, pt.interpolate, pt.cut, pt.cut0

Examples

1
2
3
4
5
6
7
pt <- pt.sample()
pt2 <- pt.Hz2ST(pt, ref = 200)
## Not run: 
pt.plot(pt)  %>% dygraphs::dyAxis("y", label = "Frequency (Hz)")
pt.plot(pt2) %>% dygraphs::dyAxis("y", label = "Frequency (ST re 200 Hz)")

## End(Not run)

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.