Controlling USB output voltages

Hi. I'm currently trying to work out a way to control the power from a USB port. The main aim would be to use a software interface to create sequences of different voltages or to change in real-time. I'm completely inexperienced with Arduino but had this suggested to me by a friend. I'd really appreciate it if anyone could let me know it this is feasible at all. Thanks

actually, I was just thinking if I could experiment with an optocoupler it might be possible to control an external voltage source with the current of a flashing led. Sorry if this is a daft question but can Arduino chips send messages to the chips for changing led sequences via usb on-the-fly?

Your explanation seems a bit confusing, but I guess you mean controlling the bightness of a series of leds by communication with a computer?
that is definetly possible and quite easy,
look into pwm, as well as serial communication

Thanks for that! I think it would only have to be an Arduino chip voltage to one LED-->LDR/optocoupler.. I had actually just started reading about pwm. It's quite a heap of information but definitely promising