Controlling a vex motor with an electret microphone

So I am working on a project for my high school class and I'm trying to make an alarm clock type of device. What I am trying to do is have my alarm go off in the morning, have my microphone pick up the noise and then perform a function. I want the electret microphone to controll a vex motor depending on what value the microphone gets but for some reason it isn't working. Any suggestions? I am kinda new to this so I don't really know much about this. Thanks

People are more likely to help if you give them a circuit diagram and an explanation of what you have tried and what you expect to happen...