sillsdev / SpeechAnalyzer

SIL Speech Analyzer is a Windows program for acoustic analysis of speech sounds.
https://software.sil.org/speech-analyzer/
7 stars 3 forks source link

A problem in Speech Analyzer that effects finding Phonology Assistant #101

Open terrygibbs opened 1 year ago

terrygibbs commented 1 year ago

The issue is that SA is not able to locate PA.

I've tried many options and methods and various versions of both SA and PA with no real success. Here is a straight forward test.

Open any SA file. Then select the main menu item "File" and then select "Phonology Assistant...", the result is a pop-up screen that says...

        "Enable Phonology Assistant to find Speech Analyzer?".

So I did that by running PA and opening a project of interest in PA and then clicking OK in SA. The result was this:

        Unable to update registry!
        Please restart Speech  Analyzer with Administrator privileges.

So I closed SA, but left PA running.

I did a right-mouse click on SA and selected "Run as administrator". SA opened the file as usual. I again selected...

"Enable Phonology Assistant to find Speech Analyzer?".

When I clicked Ok, that resulted in the same message as before:

        Unable to update registry!
        Please restart Speech  Analyzer with Administrator privileges.

We could use some help in figuring what's going on.

Terry

darcywong00 commented 1 year ago

On my Windows 10 setup If I run SA normally, I do get the error message "Unable to update registry!".

But if I run SA as administrator, the dialog seems to go fine.

darcywong00 commented 1 year ago

The registry SA is trying to access:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\SIL\Speech Analyzer

Which has two keys:

Name Type Data
Default REG_SZ (value not set)
Location REG_SZ C:\Program Files (x86)\SIL\Speech Analyzer\SA.exe
darcywong00 commented 1 year ago

Working with a student. He went through the setup in SA fine and the registry is updated.

Expected behavior

The issue is in PA --> Edit Source Record It's supposed to launch SA with the corresponding .saxml file

Actual behavior

SA gives an error "Failed to open wave file {path}" to the folder (without an .saxml filename.

terrygibbs commented 1 year ago

I suggest a test be done in which the "FileName.wav" and it's exact companion "FileName.saxml" are in a file next to each other.