* is 440 Hz the true harmonic wave
@ 2014-03-31 5:36 Joël Krähemann
2014-03-31 7:45 ` Clemens Ladisch
0 siblings, 1 reply; 6+ messages in thread
From: Joël Krähemann @ 2014-03-31 5:36 UTC (permalink / raw)
To: alsa-devel
Is 440 Hz the true harmonic wave? Is there a constant for it in glibc,
like M_PI?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: is 440 Hz the true harmonic wave
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
0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2014-03-31 7:45 UTC (permalink / raw)
To: Joël Krähemann, alsa-devel
Joël Krähemann wrote:
> Is 440 Hz the true harmonic wave?
440 Hz is a frequency, not a wave.
A single sine wave does not have overtones, so it is not possible to
apply the term "harmony".
I do not understand what you mean with "true".
> Is there a constant for it in glibc, like M_PI?
What would be the use of a definition like "#define HZ_440 440"?
Regards,
Clemens
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: is 440 Hz the true harmonic wave
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>
0 siblings, 1 reply; 6+ messages in thread
From: Joël Krähemann @ 2014-03-31 8:20 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
On Mon, 2014-03-31 at 09:45 +0200, Clemens Ladisch wrote:
> Joël Krähemann wrote:
> > Is 440 Hz the true harmonic wave?
>
> 440 Hz is a frequency, not a wave.
>
> A single sine wave does not have overtones, so it is not possible to
> apply the term "harmony".
>
> I do not understand what you mean with "true".
>
> > Is there a constant for it in glibc, like M_PI?
>
> What would be the use of a definition like "#define HZ_440 440"?
>
>
> Regards,
> Clemens
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.
thank you!
Joël
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: is 440 Hz the true harmonic wave
[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
0 siblings, 1 reply; 6+ messages in thread
From: Joël Krähemann @ 2014-03-31 9:30 UTC (permalink / raw)
To: Felix Homann; +Cc: alsa-devel, Clemens Ladisch
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?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: is 440 Hz the true harmonic wave
2014-03-31 9:30 ` Joël Krähemann
@ 2014-03-31 9:49 ` Joël Krähemann
2014-03-31 9:57 ` Joël Krähemann
0 siblings, 1 reply; 6+ messages in thread
From: Joël Krähemann @ 2014-03-31 9:49 UTC (permalink / raw)
To: Felix Homann; +Cc: alsa-devel, Clemens Ladisch
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: is 440 Hz the true harmonic wave
2014-03-31 9:49 ` Joël Krähemann
@ 2014-03-31 9:57 ` Joël Krähemann
0 siblings, 0 replies; 6+ messages in thread
From: Joël Krähemann @ 2014-03-31 9:57 UTC (permalink / raw)
To: Felix Homann; +Cc: alsa-devel, Clemens Ladisch
On Mon, 2014-03-31 at 11:49 +0200, Joël Krähemann wrote:
> 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
It runs into a deadlock! It could practically intefer with any software.
But back to topic: I'm doing softsynth.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-03-31 9:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2014-03-31 9:57 ` Joël Krähemann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).