Echo generation method using web audio api

I am writing a program using web audio api. I want to upload an mp3 file to apply the echo effect. Does anyone know how to do this, or anyone with a hint? Please help me.