on testGetPixel
  toComputer
  repeat with y = 1 to 348
    repeat with x = 1 to 512
      put x && "," && y
      if getPixel(x,y) then
        beep
        wait until the sound is done
      end if
    end repeat
  end repeat
end testGetPixel