Sound analysis and synthesis