         value
 
     setTimer: (value) ->
-         @timerPeriod = (@timerPeriod or 0) & 0x700 | (value & 0xFF) # Low 8 bits
+         @timerPeriod = (@timerPeriod or 0) & 0x700 | (value & 0xFF) # Lower 8 bits of timer
 
     ###########################################################
     # Length counter / Timer register

        value

    setSweep: (value) ->
        @sweepEnabled = value & 0x80 isnt 0
        @sweepPeriod = (value & 0x70) >>> 4
        @sweepNegate = value & 0x08 isnt 0
        @sweepShift = value & 0x07
        @sweepReload = true
        @sweepCycle or= 0

    ###########################################################
    # Timer register

        value

    setLenghtCounter: (value) ->
        @timerPeriod = (@timerPeriod or 0) & 0x0FF | (value & 0x7) << 8 # Higher 3 bits of timer
        @lengthCounter = (value & 0xF8) >>> 3  # Length counter value
        @dutyPosition = 0                      # Output waveform position is reseted
        @envelopeReload = true                 # Envelope and its divider will be reseted

    ###########################################################
    # Tick
