Table 2.
Cardinal algorithms for instruction swi.
InstructionCardinalityCardinal algorithm
swi WE Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch u = s + x
assign pitch u to respective note
calculate pitch d = sx
assign pitch d to respective note
x = x + 1 }

EA Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch d = sx
assign pitch d to respective note
calculate pitch u = s + x
assign pitch u to respective note
x = x + 1 }

NO Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch u = s + x
assign pitch u to respective note
x = x + 1 }

SO Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next, for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch d = sx
assign pitch d to respective note
x = x + 1 }
InstructionCardinalityCardinal algorithm
swi WE Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch u = s + x
assign pitch u to respective note
calculate pitch d = sx
assign pitch d to respective note
x = x + 1 }

EA Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch d = sx
assign pitch d to respective note
calculate pitch u = s + x
assign pitch u to respective note
x = x + 1 }

NO Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next: for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch u = s + x
assign pitch u to respective note
x = x + 1 }

SO Given a reference pitch, transpose it 7 semitones downwards to generate pitch s
Then: x = 1
Next, for each note, do while there are notes to process
{ assign pitch s to respective note
calculate pitch d = sx
assign pitch d to respective note
x = x + 1 }
Close Modal