Waveforms and frequency spectra of elastic emissions due to macrofractures in solids