TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: JIM JACKSON
date: 2020-01-03 18:07:00
subject: Re: ALSA sound cut short

On 2020-01-03, R.Wieser  wrote:
>> I'm not surprised. I don't think there are many people who have
>> programmed the ALSA interface,
>
> Not ?   In that case, how does everybody else get user-defined sounds from
> their speakers ?    Is there another approach available ?

They use existing software.

  system("aplay somesound.wav");

Yes I know :-(

The other way is hardware. Use a spare gpio pin to switch on and off a
ceramic sounder.

Jim

--- 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™.