Using a reed switch and three magnets on a tender wheel, I succesfully got it to chuff 4 beats per driver revolution.
Works good enough for me.
title="D&S CHUFF TEST" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>/youtube]