How to delete sound node

Hi guys,
I have a problem with a sound node in a mel script.

I have created an audio node using the command:

sound -file $fileN -offset 0 -name "speech" -length;

($fileN is a variable that contains the file name of an audio file captured from a browse dialog window).
I want to delete this audio node in order to create a new one when the user select another audio file, but i don't know which command to use because, reading from mel reference command, neither delete and delete Ui seem to do this.

any suggestion?

thank u

Daniela

yeah, delete will kill a sound node for you. you can find out the name of the sound node just by going to the option box when you select the active sound node in the timeline. then just type "delete soundNodeName" and thats it.

its not obvious I know... I had the same trouble just the other day. This worked fine for me anyway.