If you are lucky enought to have a bakery near you (Lyndell's, holla) then you may have seen a string tying machine. Can't find a great video of how it works, the below is OK, but love these things. More often than not the machine will have been built by the B.H. Bunn Company (full history).