speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pulseaudio problems again


From: Michał Zegan
Subject: pulseaudio problems again
Date: Fri, 01 May 2015 17:55:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just for sure, can you tell me what issue are you exactly getting?

W dniu 2015-05-01 o 07:42, Jeremy Whiting pisze:
> Hey all,
> 
> I hit this issue this evening a bit (have hit it off and on lately)
> so I asked in #pulseaudio and got some suggestions. I first tried
> using libao, but with that I got no speech at all. At any rate, it
> seems we are asking for too small of a tlength in the bufferAttr we
> pass in to pa_simple_new. The default in the code is 100, and it's
> taking a value from the config also. default of 100. If I set it to
> something much bigger like 4096, everything sounds fine (and pacmd
> list-input-sinks shows the latency we are asking for as much longer
> than .50ms. I gather that ideally we should calculate that from the
> sample itself. I.e with a 30ms latency and a sample of 22050Hz
> (which I'm getting here from espeak) * 0.03 seconds (30ms) * 1
> channel * 2 bytes because of the 16 bit sample we should be asking
> for 1324, not 100. If that makes sense to everyone I'll put
> together a patch that does the calculation based on the sample
> tomorrow.
> 
> thanks, Jeremy
> 
> On Wed, Feb 25, 2015 at 3:02 PM, Micha? Zegan 
> <webczat_200 at poczta.onet.pl> wrote: Hey.
> 
> I have installed archlinux with pulse/speech-dispatcher compiled
> with libao, set libao as my default module, and set libao to use
> pulse. It seems that at the moment everything mostly works, like it
> still happens that there is a bad sound on login or on login
> screen, but it is far better, and for a very short period of time. 
> After that, the sound of espeak is okay, unless someone overuses
> the cpu of course. On a side note, I am using teamtalk and when
> there are too many people then the effect is sometimes a little bit
> similar to the thing that happens on the beginning of the session
> so I am wondering if this is the same issue and what it actually is
> :O anyway libao seems to be better, so if you have this problem you
> can test it yourself to confirm if it's gone.
>> 
>> _______________________________________________ Speechd mailing
>> list Speechd at lists.freebsoft.org 
>> http://lists.freebsoft.org/mailman/listinfo/speechd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVQ6HkAAoJEHb1CzgxXKwYi6AQAMdk0ISQYxEK8f9d8M+0bzRP
6W9KF+ziCADkAoa+y3eSNOSN1zzkG5CiQgur8nV8BGHmwaIWoP4ei5sISupNI9po
DFdSfqnSevm77+wZzp4ZEhfsQ+YyhW940eAX90NaJWSTqBqoCeTnXjyQuqoHtSyi
rDRScI4lzh4a6h8JC2WIPDW3FfnVh5Sj+pb/UbJVMZWJ8eG240o+jr7MPtNOvr+h
zWJQzvxFlYVH78S4Ap6PZtpQuAY16tntOsADt11XJyTINx67b9J0M4R0ZlRl2ixk
PV/C9A1OAmF0oiA8iNqcSmURr6zrHVzDJBWpXVYc5NIVWnmyG2fAN56DBzks3szt
sQzOJtn/pOPuXocjBzXC9YLTsFnQ5ssg4rtPoDDfV+sEB5qdE27S2E+a26p5vyIH
LqB4MPaBY0vCoB9w/RD8lzYfLSx6H78th+rJ2JtvjrScJwyr7fr6dq+yVXThs7iM
Wn7qsrztoPoNhuAc7Ng8sHIqBa1oIsCpLwTEli0toUoJsSDLoNVipARBMpjvPEIN
+imJ26e/anBDBfnKhHIhJBxgmre+JQGsOrPFPXGa/ubMZZb6Y1mvLVZmD7hH4FN0
gCkuFgP53GbJFB4b++YUmpixpDiRv9zBhgA5GpvbRomH1x4OIn4YCji/QNnlFhzm
tq6WVpUXfNOsz/MOvzPP
=vbqx
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]