B major or B-flat major is a major scale starting on B-flat . Its key signature has two flats . B major or B-flat major is a major scale based on B-flat , consisting of the pitches ( ( Bâ ( musical note ) B ) ) , C , D , ( ( Eâ ( musical note ) E ) ) , F , G , and A. Its key signature has two flats , B\/E ( see below : Scales and keys ) .