I’m a serving of wine, or a tall pint of beer;
In the church I am stained, but in banks I am clear;
I am Google’s computer that sits on your ear;
And a clever composer, intriguing to hear.
Who am I?
UPDATE: Riddle solved by Asher. See comments for answer.