Spectral-envelope and group-delay models for transient signals - Applications to castanets and stop consonants