All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joël Krähemann" <joel@weedlight.ch>
To: Felix Homann <linuxaudio@showlabor.de>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Clemens Ladisch <clemens@ladisch.de>
Subject: Re: is 440 Hz the true harmonic wave
Date: Mon, 31 Mar 2014 11:49:28 +0200	[thread overview]
Message-ID: <1396259368.3923.22.camel@debian> (raw)
In-Reply-To: <1396258256.3923.8.camel@debian>

On Mon, 2014-03-31 at 11:30 +0200, Joël Krähemann wrote:
> On Mon, 2014-03-31 at 10:27 +0200, Felix Homann wrote:
> > 2014-03-31 10:20 GMT+02:00 Joël Krähemann <joel@weedlight.ch>:
> >         
> >         
> >         I believe that 440 Hz is an approximation rather than true
> >         harmonic on
> >         it's pressure. Or am I wrong? Sine is harmonic in default arc.
> >         
> > 
> > 
> > What are you talking about??? 
> 
> About scale. Am I wrong when I believe 440 Hz has physical property to
> be harmonic?
> 
> 
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Note: 1/45 is 90 degree.

(250000000 * (1 / 45)) calculated with calculator on GNU/Linux equals:
5555555.555555556

This, some handy threading functions and nanosleep makes my application
run with a thread tree.

sf.net/p/ags

As I'm reflecting I recognize that there are 10^3 more zero's as I
wanted. I give it a try with: 250000

That would result about 4𝜇s

That could you have seen if you didn't ban me from
linux-kernel@vger.kernel.org:

GNU/Linux is great!

This changed my life:

    /* and now async */
    {
      static const struct timespec req = {
        0,
        (250000000 * 1 / 45),
      };

      if(!AGS_IS_DEVOUT_THREAD(thread)){
        nanosleep(&req, NULL);
      }
    }

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2014-03-31  9:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31  5:36 is 440 Hz the true harmonic wave Joël Krähemann
2014-03-31  7:45 ` Clemens Ladisch
2014-03-31  8:20   ` Joël Krähemann
     [not found]     ` <CAFz=ag7Xgvjq6JL7i=KMjCoh==3EDw2Y-NSoeBm3hnjKt2ZDrw@mail.gmail.com>
2014-03-31  9:30       ` Joël Krähemann
2014-03-31  9:49         ` Joël Krähemann [this message]
2014-03-31  9:57           ` Joël Krähemann

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=1396259368.3923.22.camel@debian \
    --to=joel@weedlight.ch \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=linuxaudio@showlabor.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.
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.