Re: [Unixcw-user] weird problem
Morse code library and applications for GNU/Linux
Brought to you by:
acerion
From: Kamil I. <ac...@wp...> - 2015-01-03 21:05:14
|
> hello, Hello! > I was using unicw 3.0.2 in ubuntu 14.10, but the sound what horrible > and distorted. > So I decided to try the latest uniwcw 3.4 as there was all the needed > file to make a package for ubuntu/debian. > l wuse the little joined script. > > and it does not detect correctly the pulseaudio device. it seems to > default to alsa... weird. > If I force the pulse audio output in cw with -s p then I got no sound > and it stops. cw defaults to ALSA because it doesn't detect PulseAudio server, or it cannot access it. I don't know why exactly that happens on your system. Please double check that you have the PulseAudio server running and that other applications that you start can use it. > when I use my script, cwgen spits out many character at once on > screen, whereas it didn't do that before with 3.0.2, just once at a > time. I just checked the behaviour of cwgen in 3.0.2 and in 3.4.0. In both cases the behaviour is the same: cwgen generates a group of characters (as specified by command line, or with default settings). The man page for cwgen mentions that *groups* of characters are generated. In you script you use this set of commands: $ cwgen | cw cwgen has to generate all the characters at once. There is no way that cw can tell the cwgen "generate me next character". What you describe is the intended behaviour of cwgen. > if I use the -x 1 switch, it stops after one character which may be > the intended behavior but not clear to me from the man page. This is also intended behaviour. From man page: -x, --limit Specifies an upper limit on the number of characters printed. Please let me know if you have any other questions. Best regards, Kamil |