To add to this, traffic and parking during the festival is a bit of a nightmare so I'd avoid that and just take the train. They will be busy, but they only take 45 minutes and run every 15 so it's an easy enough wee trip. Plus it means you can have a pint in Edinburgh.