Crack is an onomatopoeia for major ways. First it is the sharp sound made when solid material breaks. Secondly as any sharp sound.
The second one is important in spanking art (e.g. spanking stories and spanking comics) as it is used for the spanking noise of canes, switches, and whips.