It's very interesting to read how / when to sound the trainhoens in the UK.
I've managed to have ridden & watch trains in N. America, & the Association of American Railroads have rules for level crossings that would raise a few eyebrows over here.
Basically the driver has to sound 2 x long applications, 1 short & then 1 long, with the last "long" lasting until the train is on the crossing.
Having spent a few nights in a farmhouse B&B in rural Ontario, only a few 100 yards from a grade crossing, you need to be very tired to get a good nights sleep......
I've also been told by a Canadian driver that the engine bell must be rung before the loco can move, if only because it's impossible to see the track for 1st 15/20 feet from the cab. (Long hoods & higher cabs than we are used to. I've experienced this myself a few times, especially when the locomotive is 16 feet tall, to match the double-deck passenger cars.)