public void SetOrganOffset(OrganName organName, float offsetPercentage) { BeatChannel activeChannel = m_NameToBeatChannel[organName]; float originalIntervalSeconds = (60f / activeChannel.organDataGetter().bpm); activeChannel.beatIntervalSeconds = originalIntervalSeconds + (offsetPercentage / 100) * originalIntervalSeconds; }
public ExamineOrgan(OrganName organ) { _organ = organ; }
public BeatChannel GetOrganChannel(OrganName organName) { return(m_NameToBeatChannel[organName]); }