On sound propagation in a nozzle with non-uniform swirl