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 @@
get_sound_duration("s1/s1_tap.wav")
It is also possible to analyze the whole folder:
@@ -2973,7 +2973,7 @@The resulting file can be parsed with Praat (subscripted t is the result of Praat’s conversion):
- +## [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
).
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:
title
– the title for the plotIt is also possible using the zoom
argument to show the part of the spectrogram keeping the broader oscilogram context:
draw_sound("s1/s1_all.wav",
"s1/s1_all.TextGrid",
zoom = c(0.4, 0.95))
-
+
If the output_file
argument is provided, R will save the plot in your directory instead of displaying it.
draw_sound(file_name = "s1/s1_sounds/2_s1_ı.wav",
output_file = "s1/s1_tip",
diff --git a/docs/s1/backup/01.wav b/docs/s1/backup/01.wav
index d585810..07ae049 100644
Binary files a/docs/s1/backup/01.wav and b/docs/s1/backup/01.wav differ
diff --git a/docs/s1/backup/02.wav b/docs/s1/backup/02.wav
index 07ae049..d585810 100644
Binary files a/docs/s1/backup/02.wav and b/docs/s1/backup/02.wav differ
diff --git a/docs/s1/s1_all.wav b/docs/s1/s1_all.wav
index 5340285..f22a87b 100644
Binary files a/docs/s1/s1_all.wav and b/docs/s1/s1_all.wav differ
diff --git "a/docs/s1/s1_pics/1_s1_\303\246.png" "b/docs/s1/s1_pics/1_s1_\303\246.png"
index 8b20466..491d2c0 100644
Binary files "a/docs/s1/s1_pics/1_s1_\303\246.png" and "b/docs/s1/s1_pics/1_s1_\303\246.png" differ
diff --git "a/docs/s1/s1_pics/2_s1_\304\261.png" "b/docs/s1/s1_pics/2_s1_\304\261.png"
index 486839c..a517d15 100644
Binary files "a/docs/s1/s1_pics/2_s1_\304\261.png" and "b/docs/s1/s1_pics/2_s1_\304\261.png" differ
diff --git "a/docs/s1/s1_sounds/1_s1_\303\246.wav" "b/docs/s1/s1_sounds/1_s1_\303\246.wav"
index ee25eac..8dd8c10 100644
Binary files "a/docs/s1/s1_sounds/1_s1_\303\246.wav" and "b/docs/s1/s1_sounds/1_s1_\303\246.wav" differ
diff --git "a/docs/s1/s1_sounds/2_s1_\304\261.wav" "b/docs/s1/s1_sounds/2_s1_\304\261.wav"
index e162488..a006101 100644
Binary files "a/docs/s1/s1_sounds/2_s1_\304\261.wav" and "b/docs/s1/s1_sounds/2_s1_\304\261.wav" differ
diff --git a/docs/s1/s1_tap.wav b/docs/s1/s1_tap.wav
index 07ae049..d585810 100644
Binary files a/docs/s1/s1_tap.wav and b/docs/s1/s1_tap.wav differ
diff --git a/docs/s1/s1_tip.png b/docs/s1/s1_tip.png
index a50cd19..b23924d 100644
Binary files a/docs/s1/s1_tip.png and b/docs/s1/s1_tip.png differ
diff --git a/docs/s1/s1_tip.wav b/docs/s1/s1_tip.wav
index d585810..07ae049 100644
Binary files a/docs/s1/s1_tip.wav and b/docs/s1/s1_tip.wav differ
diff --git a/docs/s1/stimuli_viewer.html b/docs/s1/stimuli_viewer.html
index fe708f1..7332536 100644
--- a/docs/s1/stimuli_viewer.html
+++ b/docs/s1/stimuli_viewer.html
@@ -3252,8 +3252,8 @@ Sound Viewer
data
-
-
+
+
×