Thu May 27 20:02:36 PDT 1999 Measurements of the piano ========================== each key of the piano is remembered by the computer for 5 seconds or up to 60 seconds programmable with the computer keyboard keys '[' and ']' (brackets). The computer also tracks the average duration of the notes from the last 15 seconds. The computer trys to avoid the pianist's hands by breaking the piano into three registers: if the pianist is playing in any of those three registers, then the computer will not play in those registers. computer keyboard commands: n = display piano's history input pitch set m = display piano's currently on pitch set d = display baton's output notes c = display baton's control variables r = display piano's register tracking variables v = display active voice count of baton's notes space = activate/deactivate program z = forget the current notes from the piano [ = shorten note memory by 1 second ] = length note memory by 1 second Stick 1: ======== x-axis: DENSITY x(0) = 0 voices ... x(127) = 6 voices control how many voices are playing at one time y-axis: REGISTER y(0) = low ... y(127) = high choose a register in which the pianist is not playing any notes. Base the choice on the y-axis value, preferring low registers if y < 64 and high registers if y > 64 z-axis: CONSONANCE z(127) = consonant ... z(50) = dissonant 0 7 5 4 9 8 3 10 2 11 1 6 P1 P5 P4 M3 M6 m6 m3 m7 M2 M7 m2 A4 Stick 2: ======== x-axis: VELOCITY x(0) = softer ... x(64) = same ... x(127) = louder y-axis: ARTICULATION y(0) = shorter ... y(64) = same ... y(127) = longer Computer keeps track of the average duration over the past 15 seconds. z-axis: RHYTHM z(127) = shorter ... z(50) = longer Computer measures the average duration of each piano note and then uses the z-axis value to generate the rhythm of the computer's output notes.