From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tpeplt Newsgroups: gmane.emacs.help Subject: Re: Getting sound online in GNU Emacs Date: Wed, 10 Jul 2024 14:47:35 -0400 Message-ID: <87cynl2iew.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: gnu.emacs.help@gnu.org To: Davin Pearson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 10 20:49:19 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sRcNR-0006Vr-Rs for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 10 Jul 2024 20:49:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRcMv-0007lZ-5j; Wed, 10 Jul 2024 14:48:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRcMt-0007lI-T6 for help-gnu-emacs@gnu.org; Wed, 10 Jul 2024 14:48:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRcMt-0003Wy-LH for help-gnu-emacs@gnu.org; Wed, 10 Jul 2024 14:48:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRcMt-00088Y-CC for gnu.emacs.help@gnu.org; Wed, 10 Jul 2024 14:48:43 -0400 Original-Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRcMq-0003Bq-Nq for gnu.emacs.help@gnu.org; Wed, 10 Jul 2024 14:48:43 -0400 Original-Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-7035d5eec5aso15881a34.1 for ; Wed, 10 Jul 2024 11:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720637257; x=1721242057; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bUDu8YBEG9wFc594KUhTWhnUedi0dnNDqsp9cUqqDZI=; b=E41j52qnRUckm0kh0RTvBpkYlmbynyrXCUFmZ5+UOy71B7DNs1MeUU6HvOWtcRDvtE 4uCJwh2FEj6aaEwk5kpJLBqX6Sab7+MQdZUTBt6qyPrh3utMc2XaSvV5JBN5u86gt62r Nd/TvA0Ry8vdpj09oTxHBBv2GdWd3C+dzEMch7bJ6bSl3BkuH+5hB5x9LrnXFX5Ul4ua +TpYmJNlPfuN3bT1QGvIM0LS4UO5iTsTzcdNYJpiBI3GSAYZAJZWIQzwr3iwhNzDnh7D 02cxKOD9Urulw1c/S8PBuyqlPYnz5Ikx6lZzTBy3poI+fMFjCqlFMOAZp6rt0ZryK1jE CKdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720637257; x=1721242057; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=bUDu8YBEG9wFc594KUhTWhnUedi0dnNDqsp9cUqqDZI=; b=Pjr2SLRxgEYJuLw2NtLMyrGR5xCrfZE/DA5Jjoa5SdFZI1PeiStq1PGRXbpDwKIxlN PsxOG2oUdSyexTVbNRAhrb9V8NzltLlD/SWVjZ9cOP//hAfQyHHhoO+f0dUrN3ANMkIl tvExZQHMU1e7Kfe4IgQ33ZJ40pYPgyD7QmpUWAUAFmvGwV9zXX356OMsHVi0B8mPM+Ar 2BfZZZAyvD1HJKGZBY6+PkMw3H4LWYqMmIe3bZfhK3Do8ZFFrYwlvYhY3JuPQ4GnrA8D Ls7KfZ5iiEpLgZVZO/qPz/2jXbLzBLj3/5BNXBPt8XGp6jpFvSkBvQsCZk6Q+YIbD7d+ CbGQ== X-Gm-Message-State: AOJu0YwMko+vT4WkKrVooKyhgLRRn8m+dEpddUFSEhhM4rNUbOB7pEdn FQ4MLUq5K9OaPUD2aYqSj0v9FAjoKek1nsBdGVqHzacEkrnlGTmp X-Google-Smtp-Source: AGHT+IHFayUTmtsfVvJjg9c88uNHsePitct7BfyBujHsXEKo73j8Zfj4WjGYJ+9CJ3Ajbzo5swEsvw== X-Received: by 2002:a9d:4d99:0:b0:703:6093:e289 with SMTP id 46e09a7af769-70375a17c02mr7115951a34.21.1720637256873; Wed, 10 Jul 2024 11:47:36 -0700 (PDT) Original-Received: from t530.local ([2600:8806:a801:3150:6232:a925:a650:ba8c]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70374fcbfafsm965853a34.67.2024.07.10.11.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 11:47:36 -0700 (PDT) In-Reply-To: (Davin Pearson's message of "Mon, 8 Jul 2024 10:42:54 +1200") Received-SPF: pass client-ip=2607:f8b0:4864:20::32c; envelope-from=tpeplt@gmail.com; helo=mail-ot1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147134 Archived-At: Davin Pearson 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=3Dno > --with-xpm=3Difavailable --with-jpeg=3Difavailable --with-png=3Difavailab= le > --with-gif=3Difavailable --with-tiff=3Difavailable --with-gnutls=3Difavai= lable > ... 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 =E2=80=98play-sound=E2=80=99 function is documented in the Emacs Lis= p 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 =E2=80=98play-sound=E2=80= =99. Only certain systems are supported; if you call =E2=80=98play-sound=E2=80=99 on a sy= stem which cannot really do the job, it gives an error." So it is possible that your system is not supported. 3. The function =E2=80=98report-emacs-bug=E2=80=99 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 =E2=80=98report-emacs-bug=E2=80=99 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. --=20 The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds.