My first crack at a custom sound:
It has a SNDINFO lump mapping a Doom format sound lump called WINDHOWL to a logical name, also WINDHOWL, defined like so:
WINDHOWL WINDHOWL
I then attach this sound to a given thing ID with a W1 script:
script 2 (void)
{
PlaySound ( 10, "WINDHOWL", 0, 0.5, true, ATTN_NORM);
}
This also ended up being used in Hellbreach map 'The Gate'.