Problem with FAVE rounding of boundaries

22 views
Skip to first unread message

AC

unread,
Feb 1, 2018, 1:09:21 PM2/1/18
to FAVE (Force Alignment and Vowel Extraction) Users Group
Hi,

I'm currently putting the output from a FAVE formant extraction into a table, and I need to match them against the time boundaries of the inputted .TextGrid (more specifically: a copy of the inputted file which contains an extra tier with annotations).
However, I find that I cannot make out the pattern of the rounding used by FAVE for boundaries.

Two examples:
    17.3904530  comes out as 17.3900
   123.9674940  comes out as 123.9680

It appears as if  17.3904530 is rounded to 3,  whereas 123.9674940 is rounded first to 4 and then to 3.

Any help would be greatly appreciated.

Keelan Evanini

unread,
Feb 1, 2018, 1:58:06 PM2/1/18
to fave-...@googlegroups.com
Hi amuich,

The following lines in the measureVowel() function in extractFormants.py indicate that the time stamps for the vowels from the input .TextGrid should be rounded to three decimal places:

    vm.beg = round(phone.xmin, 3)  # beginning of vowel (rounded to msec)
    vm.end = round(phone.xmax, 3)  # end of vowel (rounded to msec)

So, I am surprised by this result.  Could you share the configurations settings that you used when you ran FAVE-extract?  Even better, could you share sample .TextGrid and .wav files that produce this result so that I can see if I can replicate it?  That would help with troubleshooting.

Thanks,
Keelan

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+unsubscribe@googlegroups.com.
To post to this group, send email to fave-...@googlegroups.com.
Visit this group at https://groups.google.com/group/fave-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fave-users/17ffac45-e314-404f-b767-047d374830c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

AC

unread,
Feb 1, 2018, 8:09:13 PM2/1/18
to FAVE (Force Alignment and Vowel Extraction) Users Group
Hello Keelan,

Thank you so much for replying so quickly, it definitely brought up my spirits and I found a solution.
The problem was not FAVE, but the Matlab script that I use to create a "FAVE formatted" version of my original grids. 

Long story: it rounds the time boundary to 4, which then FAVE rounds to 3, which is different from the original rounded to 3 straight up.

Thanks again,

AC


On Thursday, February 1, 2018 at 1:58:06 PM UTC-5, Keelan Evanini wrote:
Hi amuich,

The following lines in the measureVowel() function in extractFormants.py indicate that the time stamps for the vowels from the input .TextGrid should be rounded to three decimal places:

    vm.beg = round(phone.xmin, 3)  # beginning of vowel (rounded to msec)
    vm.end = round(phone.xmax, 3)  # end of vowel (rounded to msec)

So, I am surprised by this result.  Could you share the configurations settings that you used when you ran FAVE-extract?  Even better, could you share sample .TextGrid and .wav files that produce this result so that I can see if I can replicate it?  That would help with troubleshooting.

Thanks,
Keelan
On Thu, Feb 1, 2018 at 1:09 PM, AC <amu...@gmail.com> wrote:
Hi,

I'm currently putting the output from a FAVE formant extraction into a table, and I need to match them against the time boundaries of the inputted .TextGrid (more specifically: a copy of the inputted file which contains an extra tier with annotations).
However, I find that I cannot make out the pattern of the rounding used by FAVE for boundaries.

Two examples:
    17.3904530  comes out as 17.3900
   123.9674940  comes out as 123.9680

It appears as if  17.3904530 is rounded to 3,  whereas 123.9674940 is rounded first to 4 and then to 3.

Any help would be greatly appreciated.

--
You received this message because you are subscribed to the Google Groups "FAVE (Force Alignment and Vowel Extraction) Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+...@googlegroups.com.

Keelan Evanini

unread,
Feb 1, 2018, 8:54:55 PM2/1/18
to fave-...@googlegroups.com
Hi AC,

Great!  I'm glad that you found the solution, and thanks for posting the cause of the issue to the list.

--Keelan

To unsubscribe from this group and stop receiving emails from it, send an email to fave-users+unsubscribe@googlegroups.com.

To post to this group, send email to fave-...@googlegroups.com.
Visit this group at https://groups.google.com/group/fave-users.
Reply all
Reply to author
Forward
0 new messages