Description Usage Arguments Details See Also Examples
Saves Collection of objects to a file (in UTF-8 encoding). col
is list of objects, each item col[[i]]
must contain class(col[[i]])["type"]
("TextGrid", "PitchTier", "IntensityTier", "Pitch 1", or "Formant 2") and class(col[[i]])["name"]
(name of the object) parameters set.
These parameters can be created easily using "as.something()" functions: as.tg()
, as.pt()
, as.it()
, as.pitch()
, as.formant()
1 |
col |
Collection object = list of objects ( |
fileNameCollection |
file name to be created |
format |
Output file format ( |
Sound objects in col.read()
and col.write()
are not supported at this moment because they would occupy too much disc space in text format.
1 2 3 4 5 6 7 | ## Not run:
col <- list(as.tg(tg.sample(), "My textgrid"), as.pt(pt.sample(), "My PitchTier 1"),
as.pt(pt.Hz2ST(pt.sample()), "My PitchTier 2"), as.it(it.sample(), "My IntensityTier"),
as.pitch(pitch.sample(), "My Pitch"), as.formant(formant.sample(), "My Formant"))
col.write(col, "my_collection.Collection")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.