I'm ready to learn a programming language. I have specific goals in mind, but don't know what language to learn to meet them. I know HTML & CSS and have some PHP/MySQL chops and I'm not afraid of a long and arduous journey to reach my destination.
1. I want to write an audio program that will randomly select four audio tracks from a database and mix them together, ad infinitum.
2. I want to begin developing a non-linear video editing platform or interface through which I can make/manipulate moving images, whether it be imported video footage or animation.
What language should I learn? Is there one suitable for both of these projects?
Any input is greatly appreciated.