Logic: Sample editor transient detection

To edit the transient detection in the sample editor simply double click on an audio region and in the sample editor click the transient detection option and then click the + and - icons next to it. (image below)