People from different parts of Scotland have different accents.
Edinburgh accents are sometimes considered somewhat 'posh' compared to other areas.
Follow this link to hear a male Edinburgh accent (that of Malcolm Rifkind who attended James Gillespie's Boys' School, the male branch of James Gillespie's High School for Girls on which Muriel Spark based the Marcia Blaine School).
Follow this link to hear a male Glasgow accent.
The character Miss Jean Brodie is partly based on Christina Kay, one of Muriel Spark's teachers at James Gillespie's.