From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Michael Schierl" <schierlm@gmx.de>
Cc: 250@emacsbugs.donarmstrong.com
Subject: bug#250: play-sound causes "Invalid sound specification" on valid :data (on Windows)
Date: Mon, 12 Jan 2009 21:37:47 +0100 [thread overview]
Message-ID: <f7ccd24b0901121237i62129bb2vc2e8d7216b7f92d5@mail.gmail.com> (raw)
In-Reply-To: <4672E371.9050908@gmx.de>
On Fri, Jun 15, 2007 at 20:07, Michael Schierl <schierlm@gmx.de> wrote:
> - Create a valid .au file in a string (it's easier than .wav):
>
> (setq mysound (concat ".snd" ; magic number
> "\0\0\0\30" ; sound offset 0x18
> "\0\0\0\1" ; sound length 1 byte
> "\0\0\0\2" ; encoding 8-bit PCM
> "\0\0\37@" ; sampling rate 8kHZ
> "\0\0\0\1" ; 1 channel (mono)
> "x")) ; some random "sound"
>
[...]
> - Playing it from there does not produce any error, but not sound either
> (should produce a short click sound; tested with other players).
Does this produce a click sound with other players on Windows? I
tested it with Winamp and it didn't.
OTOH, if you use a sound of 4 bytes or more, it works (in Emacs, and
also Winamp). So it seems like a limitation of Windows (or some
underdocumented feature of the .au file format),
> On Sat, Jun 16, 2007 at 13:52, Eli Zaretskii <eliz@gnu.org> wrote:
> It wasn't. I added it to PROBLEMS.
I've also added a comment to play-sound's docstring. :device is not
supported, either.
Juanma
next prev parent reply other threads:[~2009-01-12 20:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f7ccd24b0901140814n28aee82mb89d0f3d48c9c5@mail.gmail.com>
2007-06-15 19:07 ` play-sound causes "Invalid sound specification" on valid :data (on Windows) Michael Schierl
2007-06-16 10:28 ` Eli Zaretskii
2007-06-16 11:38 ` Michael Schierl
2007-06-16 12:52 ` Eli Zaretskii
2009-01-12 20:37 ` Juanma Barranquero [this message]
2009-01-14 16:20 ` bug#250: marked as done (play-sound causes "Invalid sound specification" on valid :data (on Windows)) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0901121237i62129bb2vc2e8d7216b7f92d5@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=250@emacsbugs.donarmstrong.com \
--cc=schierlm@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.