control dc motor with a mic!

This will give you some ideas for arduino audio input.

Get that working first, and then think how you want to control the motor, do you need to just open the curtains?
If so a simple relay will do the job, but you need a (light level) sensor to detect when the curtains are open enough.

So, detect audio level, switch on motor, detect light level, switch off motor.