TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: AHEM A RIVET`S SHOT
date: 2019-12-20 10:12:00
subject: Re: Problem: No sound out

On Thu, 19 Dec 2019 17:55:24 +0100
"R.Wieser"  wrote:

> Using Python I printed a "\a" (which google said would generate a beep),
> but got nothing (other than displaying a "landline telephone"
> character).  Is there another way to generate (a simple) sound using
> Python (other than shelling to to an external program I mean) ?

 None too sure about from python but from a shell prompt:

echo ^G

 should work. You type the control-G (ASCII BEL) at the command line
by first typing control-V (which prevents the CLI interpreter from mangling
the next character) then control-G. This should work from any terminal or
console in just about any unix-like environment.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.