def addPosSoundToDrums(backgroundDrumLoopCorrected, positionAudioSegments, timestamps):
    """
    This function will produce the final song for the dance. It will add the AdioSegments of each position
    on top of the drum loop at each specified timestamp
    :param backgroundDrumLoopCorrected: The background drum music
    :param positionAudioSegments: An array of AudioSegments for each position
    :param timestamps: An array of timestamps for each position
    :return: An audiosegmant of the final song
    """

    for sound in range(len(positionAudioSegments)):
        backgroundDrumLoopCorrected = backgroundDrumLoopCorrected.overlay(positionAudioSegments[sound], position=timestamps[sound])
    return backgroundDrumLoopCorrected