* Getting sound online in GNU Emacs
@ 2024-07-07 22:42 Davin Pearson
2024-07-08 6:49 ` Juergen Fenn
2024-07-10 18:47 ` tpeplt
0 siblings, 2 replies; 3+ messages in thread
From: Davin Pearson @ 2024-07-07 22:42 UTC (permalink / raw)
To: gnu.emacs.help
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
I am having trouble installing sound driver support on my home copy of GNU
Emacs.
Here are the sequence of commands that I execute to install GNU Emacs:
(1) cd ~/Downloads/emacs-29.1/ && tar fvx ... OK
(2a) cd ~/Downloads/emacs-29.1/ && ./configure --with-x-toolkit=no
--with-xpm=ifavailable --with-jpeg=ifavailable --with-png=ifavailable
--with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable
... OK
(4) cd ~/Downloads/emacs-29.1/ && make ... OK
(5) cd ~/Downloads/emacs-29.1/ && make check ... OK
When I execute the following command inside of Emacs:
(play-sound (list 'sound :file "amiga--trick-crazy-mode.wav"))
It comes back with the following error message:
play-sound: No usable sound device driver found
What gives?
--
Sincerely and kindest regards,
*Davin Pearson* http://davin.50webs.com
[-- Attachment #2: amiga--trick-crazy-mode.wav --]
[-- Type: audio/x-wav, Size: 11374 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting sound online in GNU Emacs
2024-07-07 22:42 Getting sound online in GNU Emacs Davin Pearson
@ 2024-07-08 6:49 ` Juergen Fenn
2024-07-10 18:47 ` tpeplt
1 sibling, 0 replies; 3+ messages in thread
From: Juergen Fenn @ 2024-07-08 6:49 UTC (permalink / raw)
To: help-gnu-emacs
Am 08.07.24 um 00:42 Uhr schrieb Davin Pearson:
> (1) cd ~/Downloads/emacs-29.1/ && tar fvx ... OK
> (2a) cd ~/Downloads/emacs-29.1/ && ./configure --with-x-toolkit=no
> --with-xpm=ifavailable --with-jpeg=ifavailable --with-png=ifavailable
> --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable
> ... OK
> (4) cd ~/Downloads/emacs-29.1/ && make ... OK
> (5) cd ~/Downloads/emacs-29.1/ && make check ... OK
>
> When I execute the following command inside of Emacs:
>
> (play-sound (list 'sound :file "amiga--trick-crazy-mode.wav"))
>
> It comes back with the following error message:
>
> play-sound: No usable sound device driver found
I gather you could try
./configure --with-sound=yes
I did not use the option because I feel fine without any sound, and my
Emacs 30 keeps quiet on macOS. :)
Regards,
Jürgen.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting sound online in GNU Emacs
2024-07-07 22:42 Getting sound online in GNU Emacs Davin Pearson
2024-07-08 6:49 ` Juergen Fenn
@ 2024-07-10 18:47 ` tpeplt
1 sibling, 0 replies; 3+ messages in thread
From: tpeplt @ 2024-07-10 18:47 UTC (permalink / raw)
To: Davin Pearson; +Cc: gnu.emacs.help
Davin Pearson <davin.pearson@gmail.com> writes:
> I am having trouble installing sound driver support on my home copy of GNU
> Emacs.
>
> Here are the sequence of commands that I execute to install GNU Emacs:
>
> (1) cd ~/Downloads/emacs-29.1/ && tar fvx ... OK
> (2a) cd ~/Downloads/emacs-29.1/ && ./configure --with-x-toolkit=no
> --with-xpm=ifavailable --with-jpeg=ifavailable --with-png=ifavailable
> --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable
> ... OK
> (4) cd ~/Downloads/emacs-29.1/ && make ... OK
> (5) cd ~/Downloads/emacs-29.1/ && make check ... OK
>
> When I execute the following command inside of Emacs:
>
> (play-sound (list 'sound :file "amiga--trick-crazy-mode.wav"))
>
> It comes back with the following error message:
>
> play-sound: No usable sound device driver found
>
1. I was able to download your attached file to my home directory and
play it using the following expression:
(play-sound (list 'sound
:file (expand-file-name "amiga--trick-crazy-mode.wav" "~")))
(The sound emitted was about 1/2 second of static.)
2. The ‘play-sound’ function is documented in the Emacs Lisp manual.
Evaluate the following expression in Emacs to read the "Sound Output"
section of the "Operating System Interface" chapter:
(info "(elisp) Sound Output")
The section begins with the paragraph:
"To play sound using Emacs, use the function ‘play-sound’. Only certain
systems are supported; if you call ‘play-sound’ on a system which cannot
really do the job, it gives an error."
So it is possible that your system is not supported.
3. The function ‘report-emacs-bug’ generates a report about the
configuration of Emacs when it was built. Among the information listed
is a section titled "Configured features:". For my Emacs, this section
includes "SOUND" as one of the configured features. You could run
‘report-emacs-bug’ to get that listing and check to see whether your
Emacs was configured to include support for sound. (Rather than send
the email with a bug report, simply kill the *mail* buffer after you
have looked up the information.)
If "SOUND" is not included in your list of configured features, then
you likely need to investigate the configuration options to add sound.
If "SOUND" is included, then your system might not be supported.
Someone who is knowledgeable about configuring and building recent
versions of Emacs may be able to provide more insight.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-10 18:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-07 22:42 Getting sound online in GNU Emacs Davin Pearson
2024-07-08 6:49 ` Juergen Fenn
2024-07-10 18:47 ` tpeplt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.