Calculation of radio emission from high-energy air showers