Here is a simple circuit you can use to measure the attack and release times of photoresistor-type optocouplers that often find use in audio compressors or volume-control circuits (figure). The design ...