I wrote a fugue in 5 parts based on the little tune the franking machine at my workplace makes when in use.
Main subject is highlighted in blue. A secondary melodic idea appearing later is in red, which is a modified version of the subject in diminution.