In this manuscript, some interesting properties for generalized or nonuniform phase-shifting algorithms are shown in the Fourier frequency space. A procedure to find algorithms with equal amplitudes for their sampling function transforms is described. We also consider in this procedure the finding of algorithms that are orthogonal for all possible values in the frequency space. This last kind of algorithms should closely satisfy the first order detuning insensitive condition. The procedure consists of the minimization of functionals associated with the desired insensitivity conditions.