diff --git a/docs/glossed_document.docx b/docs/glossed_document.docx index f4f6bb3..db35b7e 100644 Binary files a/docs/glossed_document.docx and b/docs/glossed_document.docx differ diff --git a/docs/index.html b/docs/index.html index 57f5057..26f314d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2940,7 +2940,7 @@

4.3 Rename collected data

get_sound_duration("s1/s1_tap.wav")

It is also possible to analyze the whole folder:

@@ -2973,7 +2973,7 @@

4.4 Merge all data together

## ├── s2_tip_1.wav ## └── s2_top_3.wav

The resulting file can be parsed with Praat (subscripted t is the result of Praat’s conversion):

-

+

4.5 Annotate your data

@@ -2982,21 +2982,21 @@

4.5 Annotate your data

## [1] "tip" "tap" "top"
annotate_textgrid(annotation =  sort(my_stimuli_df$stimuli),
                   textgrid = "s1/s1_all.TextGrid")
-

+

As you can see in the example, the annotate_textgrid() function creates a backup of the tier and adds a new tier on top of the previous one. It is possible to prevent the function from doing so by setting the backup argument to FALSE.

Imagine that we are interested in annotation of vowels. The most common solution will be open Praat and create new annotations. But it is also possible to create them in advance using subannotations. The idea that you choose some baseline tier that later will be automatically cutted into smaller pieces on the other tier.

create_subannotation(textgrid = "s1/s1_all.TextGrid", 
                      tier = 1, # this is a baseline tier
                      n_of_annotations = 3) # how many empty annotations per unit?
-

+

Now we can annotate created tier:

annotate_textgrid(annotation = c("", "æ", "", "", "ı", "", "", "ɒ", ""),
                   textgrid = "s1/s1_all.TextGrid",
                   tier = 3, 
                   backup = FALSE)
-

+

You can see that we created a third tier with annotation. The only thing left is to move annotation boundaries in Praat (this can not be automated):

-

+

You can see from the last figure that no backup tier was created (backup = FALSE), that the third tier was annotated (tier = 3).

@@ -3031,7 +3031,7 @@

4.6 Extracting your data

4.7 Visualizing your data

It is possible to view an oscilogram and spetrogram of any soundfile:

draw_sound(file_name = "s1/s1_sounds/2_s1_ı.wav")
-

+

There are additional parameters: