Example 3. Reduction of BWV 847 fugue subject based on onset and contiguity features (nan = “not a number”; the question mark represents insufficient context for calculating post-contiguity at this stage.)