JASS:
private boolean r
private boolean t
private sound s
readonly real duration
readonly real length
private real i
private real o
private real v
private real ip
private real op
try writing code that is readable without comment or explanation what is what(give methods normal names, give variables normal names)
At this moment the code looks more esoterically than it could