All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] PC speaker emulation (square wave)
Date: Thu, 26 Jan 2006 04:50:43 +0000	[thread overview]
Message-ID: <20060126045043.GA23296@mail.shareable.org> (raw)
In-Reply-To: <ED00D612-2AD2-4BE8-AC9A-585C70F4660D@gmx.de>

Joachim Henke wrote:
> Ok, I simplified my patch to generate just plain square waves.  
> Indeed, its sound is much closer to a real PC speaker now.
> 
> Does "cut off frequency" mean, that we have silence above that  
> specific frequency? I changed my patch to go this way. Before, it  
> always played the highest possible frequency for that case (f > 16 kHz).

No, it means the higher-frequency harmonic components of the square
wave are attenuated, which affects how it sounds.  Filtering a square
wave in this way is particularly simple, but unlikely to be worth the
effort.

-- Jamie

  reply	other threads:[~2006-01-26  4:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-09 19:01 [Qemu-devel] [patch] minimal PC speaker output Joachim Henke
2006-01-09 20:40 ` Fabrice Bellard
2006-01-10  9:11   ` he.jo
2006-01-18 23:05   ` [Qemu-devel] [PATCH] PC speaker emulation Joachim Henke
2006-01-18 23:32     ` [Qemu-devel] " Joachim Henke
2006-01-19  0:32     ` [Qemu-devel] " malc
2006-01-19 20:44       ` [Qemu-devel] [PATCH] PC speaker emulation (fixed) Joachim Henke
2006-01-19 23:29         ` malc
2006-01-20  9:42           ` Joachim Henke
2006-01-20 13:03             ` Johannes Schindelin
2006-01-20 12:03           ` Sebastian Kaliszewski
2006-01-23 21:10             ` [Qemu-devel] [PATCH] PC speaker emulation (fixed point) Joachim Henke
2006-01-24 12:35               ` Sebastian Kaliszewski
2006-01-24 15:50                 ` Joachim Henke
2006-01-24 18:29                   ` Sebastian Kaliszewski
2006-01-24 21:45                     ` Fabrice Bellard
2006-01-25  0:38                       ` Sebastian Kaliszewski
2006-01-25 21:54                       ` [Qemu-devel] [PATCH] PC speaker emulation (square wave) Joachim Henke
2006-01-26  4:50                         ` Jamie Lokier [this message]
2006-01-26 16:55                         ` Sebastian Kaliszewski
2006-01-29 10:44                           ` Joachim Henke

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=20060126045043.GA23296@mail.shareable.org \
    --to=jamie@shareable.org \
    --cc=qemu-devel@nongnu.org \
    /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.
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.