Begin and end on the final
The first and last notes are the final of the mode, in the same octave. That is what makes the mode clear.
How to write a cantus firmus in the style of Fux: begin and end on the final, approach it by step, mostly stepwise motion, one climax. With an example you can hear.
One line
Before writing against a cantus, write one. A cantus firmus is a short, plain melody in whole notes: it sets out the mode, moves mostly by step and has a clear arc. Every species exercise starts from one.
Write a cantusThe first and last notes are the final of the mode, in the same octave. That is what makes the mode clear.
Usually from the note above. A step up from the leading tone below also works, but the cantus itself stays in the mode.
One to three leaps give the line character. After a leap, step back the other way; never two leaps in a row.
The highest note comes once, somewhere in the middle. Keep the whole line within about a 10th, with no repeated notes and nothing outside the mode.
Write how to write a cantus firmus exercises in your browser. Every rule is checked as you write, and you can hear your lines.