C2LC-349: Movement sound "pitches" are not correct in rows 13-16

Metadata

Source
C2LC-349
Type
Bug
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Created
2021-04-09T05:01:58.517-0400
Updated
2021-05-26T13:24:53.565-0400
Versions
N/A
Fixed Versions
  1. Coding Env 0.8
Component
  1. Coding Environment

Description

The movement sounds are "pitched" based on the row they're in. With our current tuning, every three rows should be a new octave.

In working on C2LC-256, I noticed that although we should travel over a range of five octaves (row 1, 4, 7, 10, and 13) moving from top to bottom, we only hit four. I suspect the initial pitch algorithm wasn't updated when the scene size changed.

Looking at the diagram generated in the tests, I see that it still tries to account for "out of bounds", and stops at row 12, so it makes sense that it would never play the next lower octave at row 13 or beyond.