Weakly nonlinear propagation in thermoacoustic engines: a