Katz’s middle convolution algorithm provides a description of rigid connections on ℙ1 with regular singularities. We extend the algorithm by adding the Fourier transform to it. The extended algorithm provides a description of rigid connections with arbitrary singularities.