Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with speaking. #210

Open
Achaean opened this issue Jul 13, 2020 · 7 comments
Open

Problem with speaking. #210

Achaean opened this issue Jul 13, 2020 · 7 comments

Comments

@Achaean
Copy link

Achaean commented Jul 13, 2020

Hi! :-)

I compiled locally and installed the latest mimic1 version (1.3.0.1), according the official guidelines (and disabling non-English languages), at MX Linux (19.2) x64.

Sometimes Mimic speaks the words loud and clear (eg. with "mimic -t "hello world""), while most of the time only produces some distorted sound. (A kind of a noise).
At my other system, I didn't have this problem.

@forslund
Copy link
Collaborator

Hi!

Can you check which audio driver it was compiled with? in config.log check the AUDIODRIVER value.

Also does it work ok when generating wav-files?

@Achaean
Copy link
Author

Achaean commented Jul 14, 2020

Hi!

Can you check which audio driver it was compiled with? in config.log check the AUDIODRIVER value.

AUDIODRIVER='alsa'

Also does it work ok when generating wav-files?

Generated WAVs are flawless. I played them with vlc and they're perfectly normal.

@forslund
Copy link
Collaborator

Ok cool so then it's likely in the alsa audiodriver. You can try to workaround it by switching to portaudio as playback driver: --with-audio=portaudio

This issue is vaguely familiar, but I can't quite remember where/when it was...

@forslund
Copy link
Collaborator

Do you know the alsa version on the system?

@Achaean
Copy link
Author

Achaean commented Jul 14, 2020

Alsa package: 1.1.7-1.

@Achaean
Copy link
Author

Achaean commented Jul 14, 2020

Ok cool so then it's likely in the alsa audiodriver. You can try to workaround it by switching to portaudio as playback driver: --with-audio=portaudio

Indeed! This worked out! :-)
Give me some time to test it and I'll be back ASAP.

@Achaean
Copy link
Author

Achaean commented Jul 14, 2020

OK! Everything seems to be fine.
Only 2 glitches during compilation:

  1. Make fails (although configure completed successfully)), reporting that misses Portaudio headers.
    Installing portaudio19-dev, solves the problem.

  2. "make -j4" fails.
    Probably something fails, because something other, isn't ready at the time.
    A simple "make" (only one compilation, at a time), solves this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants