<HTML>
<HEAD>
<TITLE>Re: Excel beeps</TITLE>
</HEAD>
<BODY>
Thanks for the response, Bill Ballard. &quot;I'm sure you don't have the Ma=
c OS&quot;?? Please don't be so sure about such things, it raises hackles. &=
lt;g&gt; I have had the Mac OS since February 1984, and currently have four =
functioning Macs running systems 8.6, 9.2 and OS X, and four functioning PCs=
 running Wingows 98, 2000, and XP. I always try for cross-platform functiona=
lity.<BR>
<BR>
Now that my hackles are back down, I agree the database approach is not ver=
y efficient. But I have had a couple of good responses, one from our Mr Noss=
aman, and one from an Excel MVP on the Excel Programming newsgroup, so prett=
y soon I will have a nice little Excel sheet that produces a beat rate of yo=
ur choice.<BR>
<BR>
It's partly for the purpose of learning tuning ... more efficient than maki=
ng a 1-second pendulum and saying &quot;from mississippi to New York&quot;, =
which is how I learned in 1970 ... and partly for experimenting with alterna=
te temperaments, such as some of the modified meantones that have recently c=
ome our way, that call for setting beat rates such as 4.5 per second ... mor=
e efficient than setting a metronome. <BR>
<BR>
And yes, I am preparing for the RPT tuning exam in about 6 weeks and will a=
ttempt the Sanderson-Baldassin temperament, and as I practice, this will be =
very useful to me. But I'm building it so that it will in turn be useful to =
others. Right now I have two early prototypes that don't work reliably cross=
-platform. Stay tuned, I will publish it when the time comes. <BR>
<BR>
<BR>
|| ||| || ||| || ||| || ||| || ||| || ||| || ||| || |||<BR>
jason kanter * piano tuning * piano teaching<BR>
bellevue, wa * 425 562 4127 * cell 425 831 1561<BR>
orcas island * 360 376 2799<BR>
|| ||| || ||| || ||| || ||| || ||| || ||| || ||| || |||<BR>
<BR>
<BR>
<BLOCKQUOTE><B>From: </B>Bill Ballard &lt;yardbird@vermontel.net&gt;<BR>
<B>Reply-To: </B>Pianotech &lt;pianotech@ptg.org&gt;<BR>
<B>Date: </B>Fri, 3 Jan 2003 01:07:26 -0500<BR>
<B>To: </B>Pianotech &lt;pianotech@ptg.org&gt;<BR>
<B>Subject: </B>Re: Excel beeps<BR>
<BR>
</BLOCKQUOTE><BR>
<BLOCKQUOTE><TT>At 9:04 PM -0800 1/2/03, Jason Kanter wrote:<BR>
&gt;Please give it a try...<BR>
&gt;...........<BR>
&gt;.. &nbsp;jason kanter . jason.kanter@wamu.net . jkanter@rollingball.com=
<BR>
&gt;<BR>
&gt;&gt; &nbsp;At 4:06 PM -0800 1/1/03, Jason Kanter wrote:<BR>
&gt;&gt; &nbsp;&gt;Anyone know how to program Visual Basic in Excel to prod=
uce x beeps<BR>
&gt;&gt; &nbsp;&gt;per second?<BR>
&gt;&gt;<BR>
&gt;&gt; &nbsp;I could write it as a loop in my database.<BR>
&gt;&gt;<BR>
&gt;&gt; &nbsp;Bill Ballard RPT<BR>
&gt;&gt; &nbsp;NH Chapter, P.T.G.<BR>
&gt;&gt;<BR>
&gt;&gt; &nbsp;&quot;Trust me, you've got all the equipment, You just need =
to read the manual&quot;<BR>
&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...........Reese Witherspoon i=
n &quot;Legally Blonde&quot;<BR>
&gt;&gt; &nbsp;+++++++++++++++++++++<BR>
&gt;&gt;<BR>
<BR>
What it would involve is a unit of sound (.wav or .aaif) say 1/30 <BR>
long. Then set up a &quot;counter&quot; variable to cycle things through th=
e <BR>
correct number of loops, and one for the number of bps desired (not <BR>
nec . a whole number). One you've set the number of bps you want 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 that <BR>
could even be input as +/- ¢ with an anchor frequency), the time <BR>
consumed by the 0.033 second sine wave .wav &nbsp;would remain constant. <B=
R>
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 app's <BR>
connection to the OS would have its own inefficiency. 'Puter <BR>
telephone dialing involves a delay of 4 sec between execution and the <BR>
internal modem dialing out. It's not just my database, it's the 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 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 database <BR>
file required the app to run it. The cross-platform version of this <BR>
database does exist, but the value of such a eat-rate generator would <BR>
probably be far less than the price to you of the database to run it. <BR>
(Although for $50, I could register a run-time file distributed only <BR>
by the database's web site.)<BR>
<BR>
I agree it would be a fun project. Say, you wouldn't need this this <BR>
to be learning arual tuning by any chance? &lt;g&gt;<BR>
<BR>
Mr. Bill Ballard RPT<BR>
NH Chapter, P.T.G.<BR>
<BR>
&quot;I gotta go ta woik....&quot;<BR>
 &nbsp;&nbsp;&nbsp;&nbsp;...........Ian Shoales, Duck's Breath Mystery Thea=
ter<BR>
+++++++++++++++++++++<BR>
_______________________________________________<BR>
pianotech list info: https://www.moypiano.com/resources/#archives<BR>
</TT></BLOCKQUOTE><TT><BR>
</TT>
</BODY>
</HTML>