Limit the palette on purpose
A restricted pitch palette makes it easier to hear what rhythm, register and repetition contribute to a melody. Start with a short original backing phrase and choose four notes from one displayed collection. This is an exercise constraint, not a definition of good melody. The lab offers major and natural-minor pitch classes using sharp-only labels. A score may require different enharmonic spelling. It also does not establish which pitch listeners will hear as the tonic; that depends on how the music behaves.
Make one decision at a time
With C major selected, the collection is C, D, E, F, G, A and B. Choose C, D, E and G for a first sketch. Write an eight-beat melody that uses those four pitches and one deliberate rest. Repeat the sketch while changing only the position of the rest. In a second version change the final pitch but retain the rhythm. Keep both trials labelled so that a later comparison can identify the actual variable. The calculator confirms available pitch classes, not the artistic success of your choices.
Test the parallel collection carefully
Switch to C natural minor. The display uses C, D, D#, F, G, G# and A# as pitch-class labels; conventional tonal spelling would normally use flats for the altered degrees. For a corresponding four-note exercise use C, D, D# and G. Preserve your earlier rhythm and register so that the change of the third is audible within a controlled comparison. Do not assume that the new sketch has a minor tonal centre merely because every selected pitch belongs to that collection. Listen to the backing part and ending as well.
Review the phrase as a performance
Record the two sketches with comparable articulation and playback level. Note whether the rest creates a useful answer window, whether the ending feels settled in this backing context and whether the same pitch is repeatedly stressed. Then make one new version that changes register while retaining the chosen notes. Your final output is a small set of named sketches with a specific reason for choosing one. If you want more pitches, add them deliberately and state what problem the expansion solves. Reset restores the starting collection; it does not save the melodies or listening notes.