Saves PitchTier to a file (in UTF-8 encoding).
pt is a list with $t and $f vectors (of the same length) at least.
If there are no $tmin and $tmax values, there are
set as min and max of $t vector.
Usage
pt.write(pt, fileNamePitchTier, format = "spreadsheet")
Arguments
pt
PitchTier object
fileNamePitchTier
file name to be created
format
Output file format ("short" (short text format), "text" (a.k.a. full text format), "spreadsheet" (default), "headerless" (not recommended, it does not contain tmin and tmax info))
# NOT RUN {pt <- pt.sample()
pt <- pt.Hz2ST(pt) # conversion of Hz to Semitones, reference 0 ST = 100 Hz.pt.plot(pt)
pt.write(pt, "demo/H_st.PitchTier")
# }