A method of controlling a connected lighting system, comprising one or more lighting devices, based on audio-visual content, the method comprising automatically performing operations of: extracting a first and second color from an image comprised in, respectively, a first and second segment of the audio-visual content, wherein the second segment is a segment of the audio-visual content subsequent to the first segment; calculating a first and second audio intensity level of an audio sample comprised in, respectively, the first and second segment of the audio-visual content; determining a first and second target light color, based on, respectively, the extracted first and second color; determining that the first audio intensity level exceeds and that the second audio intensity level does not exceed an upper threshold audio intensity level, and, on the condition that the first audio intensity level exceeds and that the second audio intensity level does not exceed an upper threshold audio intensity level, performing the steps of: determining a first target light intensity level based on the calculated first audio intensity level; controlling at least one lighting device of the connected lighting system to emit a first light effect according to the determined first target light color and the determined first target light intensity level; determining a second target light intensity level, which increases or decreases over time, based on an envelope function comprising: - a decay function which defines a light intensity level decreasing over time from the first target light intensity level to a minimum light intensity level; or - an attack function which defines a light intensity level increasing over time from the first target light intensity level to a maximum light intensity level; and controlling at least one lighting device of the lighting system to emit a second light effect according to the determined second target light color and the determined second target light intensity level. extracting a first and second color from an image comprised in, respectively, a first and second segment of the audio-visual content, wherein the second segment is a segment of the audio-visual content subsequent to the first segment; calculating a first and second audio intensity level of an audio sample comprised in, respectively, the first and second segment of the audio-visual content; determining a first and second target light color, based on, respectively, the extracted first and second color; determining that the first audio intensity level exceeds and that the second audio intensity level does not exceed an upper threshold audio intensity level, and, on the condition that the first audio intensity level exceeds and that the second audio intensity level does not exceed an upper threshold audio intensity level, performing the steps of: determining a first target light intensity level based on the calculated first audio intensity level; controlling at least one lighting device of the connected lighting system to emit a first light effect according to the determined first target light color and the determined first target light intensity level; determining a second target light intensity level, which increases or decreases over time, based on an envelope function comprising: - a decay function which defines a light intensity level decreasing over time from the first target light intensity level to a minimum light intensity level; or - an attack function which defines a light intensity level increasing over time from the first target light intensity level to a maximum light intensity level; and controlling at least one lighting device of the lighting system to emit a second light effect according to the determined second target light color and the determined second target light intensity level. determining a first target light intensity level based on the calculated first audio intensity level; controlling at least one lighting device of the connected lighting system to emit a first light effect according to the determined first target light color and the determined first target light intensity level; determining a second target light intensity level, which increases or decreases over time, based on an envelope function comprising: - a decay function which defines a light intensity level decreasing over time from the first target light intensity level to a minimum light intensity level; or - an attack function which defines a light intensity level increasing over time from the first target light intensity level to a maximum light intensity level; and controlling at least one lighting device of the lighting system to emit a second light effect according to the determined second target light color and the determined second target light intensity level. - a decay function which defines a light intensity level decreasing over time from the first target light intensity level to a minimum light intensity level; or - an attack function which defines a light intensity level increasing over time from the first target light intensity level to a maximum light intensity level; and controlling at least one lighting device of the lighting system to emit a second light effect according to the determined second target light color and the determined second target light intensity level.