Pianotech

  • 1.  Some BASIC

    Posted 05-10-2020 18:44
    I found in a box of old papers what would look to the uninitiated as a piece of silvered paper with black writing.

    It was a printout . . . 

    2 LET x=0
    3 LET n=0
    5 INPUT "Increment? Type the required shift or define your frequency by prefacing with: f", x$
    6 IF x$(1)="f" THEN GO TO 9
    7 LET X=VAL x$: GO TO 15
    9 LET x=((12/LN 2)*(LN (f/261.6256)))-n
    15 LET n=n+x
    20 INPUT "Duration?",t
    32 PRINT n, 261.6256*2^(n/12)
    35 BEEP t,n
    40 GO TO 5

    Running on a SInclair Spectrum, this, together with a microphone and dual beam oscilloscope was a ETD in the 1980s. It worked remarkably well, until a journey into temperament began.

    Best wishes

    David P

    ------------------------------
    David Pinnegar BSc ARCS
    Hammerwood Park, East Grinstead, Sussex, UK
    +44 1342 850594
    "High Definition" Tuning
    ------------------------------


  • 2.  RE: Some BASIC

    Posted 05-11-2020 02:38

    Hi, David,

    That really brings back memories.?? We used something very much like that in my High School Physics course.?? That was?? while back, now...I vaguely remember something about parting waters...

    And...like yours, our setup tuned to C...just as it should be.

    Kind regards.

    Horace

    On 5/10/2020 3:43 PM, David Pinnegar via Piano Technicians Guild wrote:
    0100017200c24593-c5d05b46-a62d-4fcf-b426-c08439511606-000000@email.amazonses.com">
    Please do not forward this message due to Auto Login.  I found in a box of old papers what would look to the uninitiated as a piece of silvered paper with black writing.  It was a printout . . .??  2 LET x=0 3 LET n=0 5 INPUT "Increment? Type the required shift or define your frequency by prefacing with: f", x$ 6 IF x$(1)="f" THEN GO TO 9 7 LET X=VAL x$: GO TO 15 9 LET x=((12/LN 2)*(LN (f/261.6256)))-n 15 LET n=n+x 20 INPUT "Duration?",t 32 PRINT n, 261.6256*2^(n/12) 35 BEEP t,n 40 GO TO 5  Running on a SInclair Spectrum, this, together with a microphone and dual beam oscilloscope was a ETD in the 1980s. It worked remarkably well, until a journey into temperament began.  Best wishes  David P  ------------------------------ David Pinnegar BSc ARCS Hammerwood Park, East Grinstead, Sussex, UK +44 1342 850594 "High Definition" Tuning ------------------------------   Reply to Sender : https://my.ptg.org/eGroups/PostReply/?GroupId=43&SenderKey=7f402c9f-73cc-49de-a019-e57c66358edf&MID=719404&MDATE=757545%253a465&UserKey=3feecf45-4a69-4cff-bbb2-fd6c7eaf0569&sKey=KeyRemoved  Reply to Discussion : https://my.ptg.org/eGroups/PostReply/?GroupId=43&MID=719404&MDATE=757545%253a465&UserKey=3feecf45-4a69-4cff-bbb2-fd6c7eaf0569&sKey=KeyRemoved    You are subscribed to "Pianotech" as hgreeley@sonic.net. To change your subscriptions, go to http://my.ptg.org/preferences?section=Subscriptions&MDATE=757545%253a465&UserKey=3feecf45-4a69-4cff-bbb2-fd6c7eaf0569&sKey=KeyRemoved.  To unsubscribe from this community discussion, go to http://my.ptg.org/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=3feecf45-4a69-4cff-bbb2-fd6c7eaf0569&sKey=KeyRemoved&GroupKey=2bb4ebe8-4dba-4640-ae67-111903beaddf.





  • 3.  RE: Some BASIC

    Registered Piano Technician
    Posted 05-11-2020 10:09
    That is so cool. Thanks for sharing!

    ------------------------------
    Maggie Jusiel
    Athens, WV
    (304)952-8615
    mags@timandmaggie.net
    ------------------------------



  • 4.  RE: Some BASIC

    Registered Piano Technician
    Posted 05-12-2020 08:00
    👍  Cool indeed!

    Pwg

    ------------------------------
    Peter Grey
    Stratham NH
    603-686-2395
    pianodoctor57@gmail.com
    ------------------------------