dumping amplitudes as a text file for usage with waveformjs