Public bug reported:

I am bit new to linux and I tried to run this python code. At the first
time it asked me to install libespeak-dev and try to run the code again.
After installing it when I ran the code the sound was very weird and
very robotic and it was terrible to listen. Here is the code:

import pyttsx3

engine = pyttsx3.init()


def speak(text):
    engine.say(text)
    engine.runAndWait()


speak("Hello World and this is a test.")
When I tried to run the same code on windows 10, with the same python version, 
it sounded normal, but when I tried to run the code on ubuntu 20.04 LTS, it 
sounded very terrible.

For some reasons I am unable to attach the mp3 file to tell how terrible
it sounds. By the way I am using Ubuntu 20.04 LTS which comes with
default installation of python 3.8.5. Is there any fix to this? Because
it sounds very bad. Thanks in advance...

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.8.0-53.60~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-53-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  asus       1484 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Jun  6 01:46:07 2021
InstallationDate: Installed on 2021-05-31 (5 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Title: PCI/internal sound card not detected
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/27/2020
dmi.bios.release: 5.12
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X509UA.304
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X509UA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX509UA.304:bd04/27/2020:br5.12:svnASUSTeKCOMPUTERINC.:pnVivoBook_ASUSLaptopX509UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX509UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: VivoBook
dmi.product.name: VivoBook_ASUS Laptop X509UA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1930983

Title:
  PCI/internal sound card not detected

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  I am bit new to linux and I tried to run this python code. At the
  first time it asked me to install libespeak-dev and try to run the
  code again. After installing it when I ran the code the sound was very
  weird and very robotic and it was terrible to listen. Here is the
  code:

  import pyttsx3

  engine = pyttsx3.init()

  
  def speak(text):
      engine.say(text)
      engine.runAndWait()

  
  speak("Hello World and this is a test.")
  When I tried to run the same code on windows 10, with the same python 
version, it sounded normal, but when I tried to run the code on ubuntu 20.04 
LTS, it sounded very terrible.

  For some reasons I am unable to attach the mp3 file to tell how
  terrible it sounds. By the way I am using Ubuntu 20.04 LTS which comes
  with default installation of python 3.8.5. Is there any fix to this?
  Because it sounds very bad. Thanks in advance...

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-53.60~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-53-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  asus       1484 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jun  6 01:46:07 2021
  InstallationDate: Installed on 2021-05-31 (5 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 
(20210209.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_IN:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_IN
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Title: PCI/internal sound card not detected
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/27/2020
  dmi.bios.release: 5.12
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X509UA.304
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X509UA
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX509UA.304:bd04/27/2020:br5.12:svnASUSTeKCOMPUTERINC.:pnVivoBook_ASUSLaptopX509UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX509UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.family: VivoBook
  dmi.product.name: VivoBook_ASUS Laptop X509UA
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1930983/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to