<HTML>
<HEAD>
<TITLE>Re: Excel beeps</TITLE>
</HEAD>
<BODY>
The program that Ric Brekne mentioned, called WaveGen, can do the multiple =
sine waves at once. But it can't (apparently) do tenths-of-a-cycle per secon=
d. So whereas the C3E3 major third should beat at 5.2 (not counting inharmon=
icity), it can produce a 5.0. Ric's .wav files illustrate 1 bps through 10 b=
ps, but they're all at 440 and 441, 440/442, etc through 440/450. I experime=
nted today with making the beats sound more real by creating them with the f=
requency of the 4th partial of the upper and the 5th partial of the lower, a=
nd the wave is nice and accurate. Then I experimented with adding the fundam=
ental as well ... sounded awful. But for now, I can report that this sharewa=
re program is capable of doing what you are asking for, and creating nice .w=
av files with two, three and possibly more sine waves at once. Stay tuned (s=
o to speak)... <BR>
..........<BR>
. jason kanter . <FONT COLOR="#0000FF"><U>jkanter@rollingball.com</U>=
</FONT> . jason.kanter@wamu.net<BR>
. manager . learning & performance development<BR>
. consumer loan servicing . washington mutual bank<BR>
. office 206 490 6708 . cell 425 830 1561<BR>
. home (bellevue): 425 562 4127 . fax 425 562 4132<BR>
. 14847 ne 14th st . bellevue wa 98007<BR>
. (orcas): 360 376 2799 . 136 perch tree lane . eastsound wa 98245<BR=
>
............................... <BR>
<BLOCKQUOTE><BR>
<B>From: </B>"Richard Moody" <remoody@midstatesd.net><BR>
<B>Reply-To: </B>Pianotech <pianotech@ptg.org><BR>
<B>Date: </B>Sat, 4 Jan 2003 22:45:54 -0600<BR>
<B>To: </B>"Pianotech" <pianotech@ptg.org><BR>
<B>Subject: </B>Re: Excel beeps<BR>
<BR>
</BLOCKQUOTE><BR>
<BLOCKQUOTE><TT>I have wondered if a data base can be used to call up two o=
r four<BR>
sounds at once. If I remember right old BASIC used to hav=
e four<BR>
sounds.<BR>
If there is a data base that allows sounds that would be a head<BR>
start. If there were a data base of sounds that would be even<BR>
better.<BR>
<BR>
If it is possible for a data base to call up 16 sine sou=
nds at<BR>
once I would be interested in that!!<BR>
<BR>
For creating beat rates I don't know why it can't be don=
e by<BR>
using the actual frequencies. Of course they would have to have=
<BR>
the right partials, ie , for 3rds each tone would have to have the<BR>
4th and 5th partial.<BR>
So the question returns to, if two pure sine sounds are =
played<BR>
together, will beats result? Pure "sine sounds"=
means absence<BR>
of upper partials.<BR>
Or would the loudspeaker diaphragm or headphone speakers vibrate<BR>
in partials also? ---rm<BR>
<BR>
<BR>
<BR>
----- Original Message -----<BR>
From: Bill Ballard <yardbird@vermontel.net><BR>
To: Pianotech <pianotech@ptg.org><BR>
Sent: Friday, January 03, 2003 12:07 AM<BR>
Subject: Re: Excel beeps<BR>
<BR>
<BR>
> At 9:04 PM -0800 1/2/03, Jason Kanter wrote:<BR>
> >Please give it a try...<BR>
> >...........<BR>
> >.. jason kanter . jason.kanter@wamu.net .<BR>
jkanter@rollingball.com<BR>
> ><BR>
> >> At 4:06 PM -0800 1/1/03, Jason Kanter wrote:<BR>
> >> >Anyone know how to program Visual Basic in Excel to=
produce<BR>
x beeps<BR>
> >> >per second?<BR>
> >><BR>
> >> I could write it as a loop in my database.<BR>
> >><BR>
> >> Bill Ballard RPT<BR>
> >> NH Chapter, P.T.G.<BR>
> >><BR>
> >> "Trust me, you've got all the equipment, You just =
need to<BR>
read the manual"<BR>
> >> ...........Reese Withersp=
oon in "Legally Blonde"<BR>
> >> +++++++++++++++++++++<BR>
> >><BR>
><BR>
> What it would involve is a unit of sound (.wav or .aaif) say<BR>
1/30<BR>
> long. Then set up a "counter" variable to cycle things throu=
gh<BR>
the<BR>
> correct number of loops, and one for the number of bps desired<BR>
(not<BR>
> nec . a whole number). One you've set the number of bps you want<BR>
t<BR>
> hear, that deterimnes a timed loop, in which the period is the<BR>
> inverse of the bps. Whatever the period of the beat rate (and<BR>
that<BR>
> could even be input as +/- ¢ with an anchor frequency), the time<BR>
> consumed by the 0.033 second sine wave .wav would remain<BR>
constant.<BR>
> For 2.5 pbs, it would be 8.25% of the 0.4 sec period.<BR>
><BR>
> That's how I would do it. I have no idea whether the database<BR>
app's<BR>
> connection to the OS would have its own inefficiency. 'Puter<BR>
> telephone dialing involves a delay of 4 sec between execution<BR>
and the<BR>
> internal modem dialing out. It's not just my database, it's the<BR>
Palm<BR>
> Desktop's phone dialer behaving that way too.<BR>
><BR>
> Whether or not I could do it might or might not be useful to<BR>
you. I'm<BR>
> sure you don't have the Mac OS, and even if if polished up the<BR>
> beat-rate generator real swell, it would still be just a<BR>
database<BR>
> file required the app to run it. The cross-platform version of<BR>
this<BR>
> database does exist, but the value of such a eat-rate generator<BR>
would<BR>
> probably be far less than the price to you of the database to<BR>
run it.<BR>
> (Although for $50, I could register a run-time file distributed<BR>
only<BR>
> by the database's web site.)<BR>
><BR>
> I agree it would be a fun project. Say, you wouldn't need this<BR>
this<BR>
> to be learning arual tuning by any chance? <g><BR>
><BR>
> Mr. Bill Ballard RPT<BR>
> NH Chapter, P.T.G.<BR>
><BR>
> "I gotta go ta woik...."<BR>
> ...........Ian Shoales, Duck's Breath My=
stery Theater<BR>
> +++++++++++++++++++++<BR>
> _______________________________________________<BR>
> pianotech list info:<BR>
https://www.moypiano.com/resources/#archives<BR>
<BR>
_______________________________________________<BR>
pianotech list info: https://www.moypiano.com/resources/#archives<BR>
</TT></BLOCKQUOTE><TT><BR>
</TT>
</BODY>
</HTML>