Here is a little fugue I composed 24 years ago and played on antiquated MIDI hardware, I think it was a Yamaha TG-33
Now I have adapted it a bit and played it back on the sample set of the organ located in "Lochtum".
3 voices, manual 1, manual 2 and pedal, whereas the pedal voice is technically very difficult, because all voices are equivalent - just in the sense of a fugue ...