| read.audacity {seewave} | R Documentation |
Audacity audio markers import
Description
Read audio markers as exported by Audacity.
Usage
read.audacity(file, format)
Arguments
file |
A .txt file produced by Audacity when exporting time or time x frequency markers. |
format |
The format of the file name that will appear in the
value, that is in the first column of the data frame returned. if
|
Details
Audacity opens the possibility to annotate sound files with a
marker channel. These markers can be exported as .txt files. The
function read.audacity import such .txt files whether they
contain time markers or time x frequency markers.
Value
A data.frame. The size of the data.frame differs
whether the .txt file contains time markers or time x frequency
markers.
For time markers, the data.frame contains 4 columns:
filereturning the name of the input file either with the full path or with the base name only (see argumentformat),labelthe text label,t1the start time in seconds,t2the end time in seconds.
For time x frequency markers, the data.frame contains 6
columns:
filereturning the name of the input file either with the full path or with the base name only (see argumentformat),labelthe text label,t1the start time in seconds,t2the end time in seconds,f1the lower frequency in Hz,f2the upper frequency in Hz.
Author(s)
Jerome Sueur
References
Audacity is a free software
distributed under the terms of the GNU General Public License.
Web site: https://www.audacityteam.org/
See Also
Examples
## Not run:
## If 'markers.txt' is an export of Audacity markers
x <- read.audacity("markers.txt")
## End(Not run)