Dennis,
> If you are running in a graphical environment
I (ofcourse?) tried both the GUI as well as console-based suggestions that I
could find. Alas, none of them made a difference.
But I remembered having another sd card with the same, but not actually used
OS on it. It had no problem, using "speaker-test", to output sound over the
the audio jack. In other words: the only difference is that I used a
default configuration and no extra packages (same KVM config).
On the first I did enable SPI, I2C and Bluetooth, and installed some
packages. Might bluetooth be causing problems perhaps ? While pairing
(with a smartphone) I did see something come by related to bluetooth audio
...
And although I've not been able to google anything in this regard, do you
maybe know of a guide or maybe even a diagnostic program for problems like
these ?
> pi@rpi3bplus-1:~$ uname -a
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l
GNU/Linux
(for both of the above mentioned sd cards)
> The "alert" character only produces a sound if the terminal/console
> is configured to interpret the character and generate a sound.
While googeling I read it could be (nowerdays by default) disabled, yes (no
mentioning about how to change that though :-\ )
>>there another way to generate (a simple) sound using Python (other than
>>shelling to to an external program I mean) ?
>
> It is dependent upon the console in use
:-) I ment that as "something build into Python". I read about a "beep"
function, but that one needed another package to be installed.
I even tried an example that used writing to "/dev/audio", but it wouldn't
work (but didn't throw an error either). Only when I read that that device
was removed in v3.x I realized I had just been creating and writing to a
simple file. :-|
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|