; score file to test the first doppler instrument ; sine wave f 1 0 1024 10 1 ; two frequencies for the "siren" f 2 0 2 -2 440 330 ; a rich harmonic waveform (with 8 harmonics) f 3 0 4096 10 1 0.8 0.4 0.7 0.2 0.3 0.1 0.5 ; instrument 1 determines the location of the sound source ; instrument 2 is the sound source, ; with amplitude and delay determined by the location obtained from instrument 1 ; a sound moving just in front of us, from right to left ; this sound moves 400 meters in 20 seconds, which is about 45 mph ; p1=instr p2=start p3=dur. p4=startx p5=starty p6=endx p7=endy i 1 0 20 200 3 -200 3 i 2 0 20 1 ; a sound zooming right past us, from front left to back right ; this sound moves about 566 meters in 30 seconds, or about 42 mph i 1 20 30 -194 200 206 -200 i 2 20 30 1 ; the same as the first sound, but passing by us at a much greater distance ; so the doppler shift is much more gradual i 1 50 20 200 50 -200 50 i 2 50 20 1