by aoeu (no login)


note names are in lower case, rests are represented by r. 1, 2, 4, 8 after the letter for a whole, half, quarter, etc note. From your program, it looks like the easiest thing to use would be absolute pitches for every note, which is done by adding quotes or commas after the pitch name:

c' up to b' for middle c up to the b above middle c,
c'' for high up to high b which is b''
c for low c up to the b below middle c which is b

A sharp is formed by adding -is to the end of a pitch name and a flat is formed by adding -es. The input d e f is interpreted as “print a D-natural, E-natural, and an F-natural,” regardless of the key signature.

Instead of using print to stdout for the values, OPEN "foobar" for output AS #1 and use PRINT #1, "whatever"
Also, don't put brackets around the line labels in QuickBASIC, instead put a colon after it like this:

foo: PRINT "hello"
GOTO foo


Posted on Aug 2, 2009, 4:24 PM

Respond to this message   

Goto Forum Home

Response TitleAuthor and Date
* Good catch on the line label! I missed that....Clippy on Aug 2

 Copyright © 1999-2018 Network54. All rights reserved.   Terms of Use   Privacy Statement