Edit Audio Clips?

Is it possible to generate/edit audio clips via scripting?

In other words, have a script create a new audio clip during runtime - Or edit one.

Its not possible through scripting .but you can do it by plugins.