humlab-speech / superassp

A wrassp super-package that re-exports all the functionality of wrassp, and adds the ability to get Praat and MATLAB signals into SSFF format.
https://humlab-speech.github.io/superassp/
2 stars 1 forks source link

Reducing the number of expected formants causes praat crash #20

Open FredrikKarlssonSpeech opened 2 years ago

FredrikKarlssonSpeech commented 2 years ago

This issue affects praat_formant_burg and praat_formantpath_burgh, - but may also affect other praat functions which extract formant:

Applying the function 'praat_formant_burg' to all .wav files for which a signal track file (.mnpfb) does not exist.

  |===================                                                                                                                |  15%Error: Number of tracks (3) should not exceed minimum number of formants (2).
Formant "file8b7a46c8d656": not tracked.
Script line 51 not performed or completed:
« Track: number_of_tracks, reference_F1, reference_F2, reference_F3, reference_F4, reference_F5, frequency_cost, bandwidth_cost, transition_cost »
Script “/var/folders/vc/lhvg_40x50l3nb3rndb4kwbm0000gp/T//RtmppfclZk/file8b7a1a5b0deb.praat” not completed.
Praat: script command <</var/folders/vc/lhvg_40x50l3nb3rndb4kwbm0000gp/T//RtmppfclZk/file8b7a1a5b0deb.praat>> not completed.

Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file '/var/folders/vc/lhvg_40x50l3nb3rndb4kwbm0000gp/T//RtmppfclZk/file8b7a4feeccd1.csv': No such file or directory
> 

I guess the issue is with the interaction between computed and then tracked formants.