A transient is any clear momentary change in waveform amplitude values (sample values) over a short time. "An attack" in audio is a strong transient (high amplitude change in a short period of time).