fix a previous new wav generator error
add ramp for wav generator(not used by default)
add interface of new functions(src, encoder, decoder, etc)