Click the arrow next to Curves at the bottom of the loop editor to open this pane.
First select Pitch Bend or Volume on the left. Then turn on the edit-enable button so you can draw in the graph. Drag in the curve area to shape how the sound changes over the length of the loop. Pitch Bend bends the pitch up or down; Volume fades the loop louder or quieter.