Charles;
Just FYI, and a bit off topic.
In the Westinghouse Air Brake (WAB) system, the train line (the line that goes from carriage to carriage) is kept at a set pressure. Usually 90PSI. The compressor and main reservoir pumps to approx 120psi. That steam pump sound is caused by the steam pump trying to keep the pressure of the main reservoir up.
When a brake application is made by the engineer, say a “15 psi” application that pressure comes out of the train line, and individual reservoirs on each railway carriage, usually sitting at 90 psi, push the brakes on. That “15 psi” application takes the train line down from 90 to 75. (there is a valve on each car, the “triple valve” that actually lets the air out, it does not go back through the locomotive)
When the engineer/driver releases the brakes, the train line climbs up to 90, and through the “triple valve” on each car, the local reservoir is charged up to 90 again; that air for the train line comes from the main reservoir, and then the air compressor(s) kick in to charge the main reservoir back up to 120.
Like with commercial lorries, releasing air applies the brakes. Lorries don’t have the “triple valve”, because they have a separate air supply line (2 connections).
At least over here (Canada), the steam locomotive itself was fed direct air to the brake cylinders; there are two brake levers in the cab, one for the engine, the other for the train.
It’s been too many years (and my books are not at hand) since I did anything with full size locomotives here in Canada and the USA, and it’s early in the morning before coffee, but I think the above is a correct, simplified intro to why steam air compressors give that incredibly lovely sound once in a while!